vendor:
Solaris
by:
milw0rm.com
7,2
CVSS
HIGH
setuid() and execve()
264
CWE
Product Name: Solaris
Affected Version From: Solaris 9 on SPARC
Affected Version To: Solaris 9 on SPARC
Patch Exists: NO
Related CWE: N/A
CPE: o:sun:solaris:9
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: SPARC
2005
Solaris 9 on SPARC
A vulnerability in Solaris 9 on SPARC allows local users to gain root privileges by exploiting a setuid() and execve() vulnerability. The exploit involves creating a shared library with the malicious code and setting the LD_AUDIT environment variable to point to the shared library. When the ping command is executed, the malicious code is executed with root privileges.
Mitigation:
The vulnerability can be mitigated by removing the setuid bit from the ping command.