vendor:
sudo
by:
__blf
7.2
CVSS
HIGH
Race Condition
362
CWE
Product Name: sudo
Affected Version From: 1.3.2001
Affected Version To: 1.6.8p
Patch Exists: YES
Related CWE: N/A
CPE: a:openbsd:sudo
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: OpenBSD
2005
OpenBSD sudo 1.3.1 – 1.6.8p local root exploit
OpenBSD sudo 1.3.1 - 1.6.8p is vulnerable to a local root exploit due to a race condition in path name. The exploit involves creating a symbolic link to the sudo command, and then deleting it and replacing it with a link to /bin/sh. This allows the attacker to gain root privileges.
Mitigation:
Upgrade to the latest version of OpenBSD sudo.