Sun Solaris pkgadd Inappropriate File Permissions Vulnerability

BID:5208

Info

Sun Solaris pkgadd Inappropriate File Permissions Vulnerability

Bugtraq ID: 5208
Class: Failure to Handle Exceptional Conditions
CVE:
Remote: No
Local: Yes
Published: Jul 10 2002 12:00AM
Updated: Jul 10 2002 12:00AM
Credit: Published in Sun(sm) Alert Notification.
Vulnerable: Sun Solaris 2.5.1
Sun Solaris 8_sparc
Sun Solaris 7.0
Sun Solaris 2.6
Not Vulnerable: Sun Solaris 9

Discussion

Sun Solaris pkgadd Inappropriate File Permissions Vulnerability

Some versions of Sun Solaris support the pkgadd command, which is used to transfer the contents of software packages from the distribution medium and install the software. For a given package, the included files are described in a pkgmap ASCII file.

A file permissions issue exists in versions of Sun Solaris. Under some conditions, it is possible that pkgadd will erroneously install some files with the suid/sguid bit set. These files may additionally be owned by the user or group 'root'. This problem is related to the usage of the '?' character in the relevant pkgmap entry.

Exploit / POC

Sun Solaris pkgadd Inappropriate File Permissions Vulnerability

Currently we 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] <mailto:[email protected]>.

© 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