Solaris patchadd Race Condition Vulnerability

BID:2127

Info

Solaris patchadd Race Condition Vulnerability

Bugtraq ID: 2127
Class: Race Condition Error
CVE:
Remote: No
Local: Yes
Published: Dec 18 2000 12:00AM
Updated: Dec 18 2000 12:00AM
Credit: This vulnerability was first announced by Jonathan Fortin <[email protected]> via Bugtraq on December 18, 2000.
Vulnerable: Sun Solaris 2.5.1
Sun Solaris 8_sparc
Sun Solaris 7.0
Sun Solaris 2.6
Not Vulnerable:

Discussion

Solaris patchadd Race Condition Vulnerability

patchadd is the patch management tool included with the Solaris Operating Environment, distributed by Sun Microsystems. A problem exists which could allow a user to corrupt or append system files.

The problem exists in the creation of /tmp files by patchadd. patchadd creates a variety of files in /tmp while installing the patches on the operating system. The files created in /tmp are mode 0666, and are created with the extension sh<pid of patchadd>.1, sh<pid of patchadd>.2, and so on. Running the program requires administrative access. It is possible to brute force guess the pid of patchadd, and create files in the /tmp directory that are symbolic links to sensitive system files.

It is therefore possible for a user with malicious intent to gain elevated privileges, corrupt system files, or execute arbitrary commands.

Exploit / POC

Solaris patchadd Race Condition Vulnerability

x

Solution / Fix

Solaris patchadd Race Condition Vulnerability

Solution:
Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Solaris patchadd Race Condition Vulnerability

References:
© CVE.report 2026 |

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report