Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 745024 - (CVE-2011-4029) CVE-2011-4029 xorg-x11-server: lock file chmod change race condition
CVE-2011-4029 xorg-x11-server: lock file chmod change race condition
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20111018,reported=2...
: Security
Depends On: 799349 807122
Blocks: 745043 784298
  Show dependency treegraph
 
Reported: 2011-10-11 04:33 EDT by Jan Lieskovsky
Modified: 2017-03-24 04:49 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-20 06:23:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed X.Org X11 server upstream patch for CVE-2011-4029 issue (991 bytes, patch)
2011-10-18 06:56 EDT, Jan Lieskovsky
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0939 normal SHIPPED_LIVE Low: xorg-x11-server security and bug fix update 2012-06-19 15:28:31 EDT

  None (edit)
Description Jan Lieskovsky 2011-10-11 04:33:36 EDT
A time-of-check, time-of-use (TOCTOU) race condition was found in the way X.Org X11 X server performed management of temporary lock files. After opening the temporary lock file for writing, the X.Org X11 X server did not recheck if the originally opened file still refers to the same file on disc prior relaxing permissions on the file. A local attacker could use this flaw to conduct symlink attacks (involving the X.Org X11 X server temporary lock file instance) and set the read permissions for all users on any file or directory, leading to disclosure of sensitive information.

Note:
For the exploit to succeed the local attacker needs to be able to run the X.Org X11 X server.
Comment 3 Jan Lieskovsky 2011-10-11 05:06:14 EDT
Acknowledgements:

Red Hat would like to thank researcher with a nickname vladz for reporting this issue.
Comment 9 Jan Lieskovsky 2011-10-18 06:56:38 EDT
Created attachment 528781 [details]
Proposed X.Org X11 server upstream patch for CVE-2011-4029 issue
Comment 10 Vincent Danen 2011-10-18 12:43:46 EDT
This issue is now public.  The following commit corrects the problem upstream:

http://cgit.freedesktop.org/xorg/xserver/commit/?id=b67581cf825940fdf52bf2e0af4330e695d724a4


External References:

http://lists.freedesktop.org/archives/xorg-announce/2011-October/001744.html
Comment 11 Vincent Danen 2011-10-18 12:44:59 EDT
Statement:

(none)
Comment 14 Jan Lieskovsky 2012-03-02 09:50:23 EST
This issue affects the current version (xorg-x11-server-Xorg-1.10.4-1.fc15.*) of the xorg-x11-server package, as shipped with Fedora release of 15. Please schedule an update.

--

This issue does NOT affect the current version (xorg-x11-server-Xorg-1.11.4-1.fc16) of the xorg-x11-server package, as shipped with Fedora release of 16. The deficiency in this version is corrected already.
Comment 15 Jan Lieskovsky 2012-03-02 09:55:45 EST
Created xorg-x11-server tracking bugs for this issue

Affects: fedora-15 [bug 799349]
Comment 17 errata-xmlrpc 2012-06-20 03:27:16 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0939 https://rhn.redhat.com/errata/RHSA-2012-0939.html

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