Bug 212167 - CVE-2006-5214 Xsession problems (CVE-2006-5215)
Summary: CVE-2006-5214 Xsession problems (CVE-2006-5215)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-xinit
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact: David Lawrence
URL:
Whiteboard: reported=20061010,source=cve,impact=l...
Depends On:
Blocks: CVE-2006-5214
TreeView+ depends on / blocked
 
Reported: 2006-10-25 14:09 UTC by Mark J. Cox
Modified: 2014-06-18 09:08 UTC (History)
2 users (show)

Fixed In Version: 1.0.2-21.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-02 17:37:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark J. Cox 2006-10-25 14:09:57 UTC
+++ This bug was initially created as a clone of Bug #212166 +++

Two issues in XFree86/xorg Xsession were reported and fixed upstream.  Both
relate to the handling of the xsession file.  

CVE-2006-5214: A local attacker could open for reading a users
~/.xsession-errors file if they are able to win a race during it's creation and
have sufficient privileges (+x) to the victims home directory already.

CVE-2006-5215: A local attacker could perform a temporary file attack on the
xsession error file created in /tmp and cause it to overwrite particular files
of the victim.  However this file is only created if the ability to create
~/.xsession-errors in the victims home directory fails, (something the attacker
has no control over).  The upstream Xsession code was different (and worse) than
our xinitrc code, but we should use mkstemp.

We've rated these issues as low severity and they can be deferred until a future
update for some other reason.

This affects Xsession as shipped in xorg-x11-xinit in FC6 and FC5
and xorg-x11-xdm in FC5 only (FC6 contains a fixed upstream version)

Affects: FC6, FC5
Note also affects xinitrc (bz#210311)

Comment 2 Lubomir Kundrak 2007-08-02 10:12:01 UTC
Sandmann: Could you please fix this for FC6 and push updated?

Comment 3 Fedora Update System 2007-08-03 02:43:30 UTC
xorg-x11-xinit-1.0.2-21.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Lubomir Kundrak 2007-08-03 07:06:46 UTC
Reopening this for FC6.

Comment 5 David Anderson 2007-08-09 20:53:43 UTC
After my latest "yum update", X refused to start, either for rhgb or for 
normal usage if "rhgb" was removed from the boot line.

I booted into single user mode, reverted the xorg-x11-xinit update (i.e. did 
rpm -Uvh --oldpackage to get the old package back), and then the problem was 
gone.

Comment 6 David Anderson 2007-08-09 20:55:13 UTC
Forgot to mention that this was on a fully updated F7 system.

Comment 7 Søren Sandmann Pedersen 2007-08-09 23:06:57 UTC
Do you remember which package exactly caused the problem?

Was it 1.0.2-22 or 1.0.2-21?

What exactly happened. Ie,. what does 'refused to start' mean?



Note You need to log in before you can comment on or make changes to this bug.