vendor:
Xorg-x11-xfs
by:
vl4dZ
7.2
CVSS
HIGH
Race Condition
362
CWE
Product Name: Xorg-x11-xfs
Affected Version From: 1.0.2-3.1
Affected Version To: 1.0.2-3.1
Patch Exists: YES
Related CWE: CVE-2007-3103
CPE: a:xorg:xorg-x11-xfs
Metasploit:
https://www.rapid7.com/db/vulnerabilities/linuxrpm-CESA-2007-0519/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2007-3103/, https://www.rapid7.com/db/vulnerabilities/linuxrpm-CESA-2007-0520/, https://www.rapid7.com/db/vulnerabilities/linuxrpm-RHSA-2007-0520/, https://www.rapid7.com/db/vulnerabilities/linuxrpm-RHSA-2007-0519/
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Redhat EL5
2007
Xorg-x11-xfs Race Condition Vuln local root exploit (CVE-2007-3103)
Xorg-x11-xfs Race Condition Vuln local root exploit is a vulnerability in the Xorg-x11-xfs service which allows a local user to gain root privileges. The vulnerable code is located in the start() function of the /etc/init.d/xfs script, which creates a directory with world-writable permissions and then fails to remove it. This allows a local user to create a symlink to a file of their choice, which is then overwritten by the root user when the xfs service is restarted. This exploit was discovered in 2007 and affects xorg-x11-xfs versions <= 1.0.2-3.1.
Mitigation:
The vulnerability can be mitigated by ensuring that the xorg-x11-xfs service is running the latest version, and by setting the permissions of the /tmp/.font-unix directory to be non-world-writable.