Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 591229 Details for
Bug 831115
CVE-2012-3345 symlink attack in ioquake3 >= r1773 and derived games
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH 1/2] CVE-2012-3345: write ioq3.pid to home path, not temp directory
0001-CVE-2012-3345-write-ioq3.pid-to-home-path-not-temp-d.patch (text/plain), 1.03 KB, created by
Simon McVittie
on 2012-06-12 16:00:52 UTC
(
hide
)
Description:
[PATCH 1/2] CVE-2012-3345: write ioq3.pid to home path, not temp directory
Filename:
MIME Type:
Creator:
Simon McVittie
Created:
2012-06-12 16:00:52 UTC
Size:
1.03 KB
patch
obsolete
>From 443bdd8c3d6c92a0ad2d5f6da0aaead992e50f0d Mon Sep 17 00:00:00 2001 >From: Simon McVittie <smcv@debian.org> >Date: Mon, 11 Jun 2012 10:55:33 +0100 >Subject: [PATCH 1/2] CVE-2012-3345: write ioq3.pid to home path, not temp > directory > >On a multi-user system, an attacker could create a symbolic link >/tmp/ioq3.pid pointing to any file owned by a user who plays an >ioquake3-based game. When the victim runs ioquake3, the target file >will be overwritten and replaced with the process ID of ioquake3. > >To avoid this, write the pid to the home path (e.g. ~/.q3a on Unix). > >Signed-off-by: Simon McVittie <smcv@debian.org> >--- > code/sys/sys_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c >index ed00b65..dae8e8f 100644 >--- a/code/sys/sys_main.c >+++ b/code/sys/sys_main.c >@@ -140,7 +140,7 @@ Sys_PIDFileName > */ > static char *Sys_PIDFileName( void ) > { >- return va( "%s/%s", Sys_TempPath( ), PID_FILENAME ); >+ return va( "%s/%s", Sys_DefaultHomePath( ), PID_FILENAME ); > } > > /* >-- >1.7.10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 831115
: 591229 |
591230