vendor:
OS X
by:
Neeko Oni
7,2
CVSS
HIGH
DirectoryService local root PATH exploit
N/A
CWE
Product Name: OS X
Affected Version From: OS X 10.2.4 and earlier
Affected Version To: OS X 10.2.4 and earlier
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Mac
2003
OS X <= 10.2.4 DirectoryService local root PATH exploit
This exploit allows a local user to gain root privileges on OS X 10.2.4 and earlier. DirectoryService must be crashed prior to execution. The exploit compiles a code as 'touch' and executes it. If the euid is root, it will execute a bash shell. If not, it will set the PATH environment variable to '.', execute DirectoryService with the false PATH, pause for 3 seconds, restore the PATH environment variable, and execute the 'touch' code.
Mitigation:
Upgrade to OS X 10.2.5 or later.