SGI Performance Co-Pilot pmpost Symbolic Link Vulnerability

BID:2887

Info

SGI Performance Co-Pilot pmpost Symbolic Link Vulnerability

Bugtraq ID: 2887
Class: Origin Validation Error
CVE:
Remote: No
Local: Yes
Published: Jun 18 2001 12:00AM
Updated: Jun 18 2001 12:00AM
Credit: Discovered by Paul Starzetz <[email protected]>.
Vulnerable: SGI Performance Co-Pilot 2.2
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.11
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
- SuSE Linux 7.2
- SuSE Linux 7.1
SGI Performance Co-Pilot 2.1.10
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.9
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.8
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.7
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.6
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.5
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.4
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.3
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.2
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
SGI Performance Co-Pilot 2.1.1
- SGI IRIX 6.5.11
- SGI IRIX 6.5.10
- SGI IRIX 6.5.9
Not Vulnerable: SGI Performance Co-Pilot 2.2.1 -3

Discussion

SGI Performance Co-Pilot pmpost Symbolic Link Vulnerability

Performance Co-Pilot (PCP) is a set of services to support system-level performance monitoring developed by SGI. It has traditionally been an IRIX product, however SGI has made it open source and it is now available for Linux systems.

One of the utilities that ships with PCP is called 'pmpost'. It is often installed setuid root by default. When writing to the 'NOTICES' file in its user-definable log directory, 'pmpost' will follow symbolic links. Since the data written is user-supplied (the command-line arguments), it is possible to gain superuser privileges if 'pmpost' is setuid root.

Note: This vulnerability affects both binary versions for IRIX and the open source distribution of PCP. S.u.S.E. has made PCP packages available for their linux distribution. PCP is not installed as part of S.u.S.E. Linux by default. The PCP packages for S.u.S.E. Linux 7.0 do not install 'pmpost' setuid root. Versions 7.1 and 7.2 do, and are vulnerable if PCP is installed.

It has been reported that not all versions of PCP for IRIX are vulnerable. To determine whether you are vulnerable, run this command:

strings /usr/pcp/bin/pmpost | grep PCP_LOG_DIR

If the string 'PCP_LOG_DIR' appears, it is most likely that the version of 'pmpost' installed is vulnerable.

It is not yet known which other Linux vendors may ship with PCP as either an optional package or installed by default.

Exploit / POC

SGI Performance Co-Pilot pmpost Symbolic Link Vulnerability

Paul Starzetz <[email protected]> has made exploit code available.

References

SGI Performance Co-Pilot pmpost Symbolic Link 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