Overview
Programs distributed as part of the X.Org software distribution fail to properly handle test results for effective user ID. This vulnerability may lead to privilege escalation.
Description
Linux, like most Unix systems, provides a system call, setuid(), to set the effective user ID of a process. A vulnerability exists in X.Org versions 6.7.0 through 7.1 on systems where setuid() may fail, even when invoked by a process running as root. In reference to systems using the Linux 2.6 kernel, X.Org Security Advisory, June 20th, 2006 states: This is because there is a 'maximum processes' ulimit, which is honoured by setuid(), seteuid(), and setgid(). These functions may fail because of this ulimit; if the return value is not checked, then code which is assumed to be running unprivileged, may in fact be running with uid 0. |
Impact
This vulnerability may allow an authenticated attacker to run arbitrary code with elevated privileges. |
Solution
Upgrade or apply a patch from the vendor |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
- http://lists.freedesktop.org/archives/xorg/2006-June/016146.html
- http://secunia.com/advisories/21650/
- http://www.securityfocus.com/bid/19742
- http://www.frsirt.com/english/advisories/2006/3409
- http://secunia.com/advisories/21650
- http://secunia.com/advisories/21660
- http://secunia.com/advisories/21693
- http://secunia.com/advisories/22332
Acknowledgements
This issue was reported in X.Org Security Advisory, June 20th, 2006. X.Org credits Dirk Mueller and Marcus Meissner for reporting this issue.
This document was written by Chris Taschner.
Other Information
CVE IDs: | CVE-2006-4447 |
Severity Metric: | 0.07 |
Date Public: | 2006-08-29 |
Date First Published: | 2006-10-25 |
Date Last Updated: | 2006-10-25 18:14 UTC |
Document Revision: | 23 |