ps tmpfile race
| sol-pstmprace (420) |
Description:
The tmpfs feature feature in Solaris could allow a local attacker to gain elevated privileges, caused by the use of unused swap space as a /tmp directory. A local attacker could exploit this vulnerability to delete files from this directory and gain root privileges.
Consequences:
Gain Privileges
Remedy:
This vulnerability has been fixed in Solaris 2.5 and newer; users of older Solaris installations should obtain and apply the following patches:
- Solaris 2.3: 101545-02
- Solaris 2.4: 102711-01
- Solaris 2.4_x86: 102712-01
References:
- AusCERT Advisory AA-95.07: Incorrect permissions on /tmp may allow root access.
- CERT Advisory CA-1995-09: Solaris ps Vulnerability.
- Sun Microsystems, Inc. Security Bulletin #00131: ps_data.
- CVE-1999-0164: A race condition in the Solaris ps command allows an attacker to overwrite critical files.
- OSVDB ID: 8346: Solaris ps Command Symlink Arbitrary File Overwrite
Platforms Affected:
- Sun Solaris 1.0
- Sun Solaris 2.3
- Sun Solaris 2.4 x86
Reported:
Aug 14, 1995
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
