Solaris admintool Insecure Temporary File Creation Vulnerability

BID:289

Info

Solaris admintool Insecure Temporary File Creation Vulnerability

Bugtraq ID: 289
Class: Unknown
CVE:
Remote: No
Local: Yes
Published: Jul 25 1996 12:00AM
Updated: Jul 25 1996 12:00AM
Credit: This vulnerability was posted to the Bugtraq mailing list on July 25th 1996 by Leif Hedstrom <[email protected]>.
Vulnerable: Sun Solaris 2.5.1 _x86
Sun Solaris 2.5.1 _ppc
Sun Solaris 2.5.1
Sun Solaris 2.5_x86
Sun Solaris 2.5
Not Vulnerable: Sun Solaris 7.0_x86
Sun Solaris 7.0
Sun Solaris 2.6_x86
Sun Solaris 2.6

Discussion

Solaris admintool Insecure Temporary File Creation Vulnerability

Admintool is a graphical user interface that enables an administrator to perform several system administration tasks on a Solaris system. These tasks include the ability to manage users, groups, hosts and other services.

Due to insecure creation of temporary files in the /tmp directory users may create or delete files anywhere on the file system by using symlinks to the insecurely created temporary files. This allows an intruder or malevolant user to trivially gain root privelages.

The following is a work around provided in the AUSCERT AL-96.03 advisory on this problem:

# chmod 400 /usr/bin/admintool
# ls -l /usr/bin/admintool
-r-------- 1 root sys 303516 Oct 27 1995 /usr/bin/admintool

Note that if only the setuid permissions are removed, it is still possible for users to gain privileges when admintool is executed as root.

Exploit / POC

Solaris admintool Insecure Temporary File Creation Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

Solution / Fix

Solaris admintool Insecure Temporary File Creation Vulnerability

Solution:
Patches are available to all Sun customers at http://sunsolve.sun.com


Sun Solaris 2.5

Sun Solaris 2.5_x86

Sun Solaris 2.5.1 _x86

Sun Solaris 2.5.1

References

Solaris admintool Insecure Temporary File Creation 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