HP-UX man /tmp symlink Vulnerability

BID:1302

Info

HP-UX man /tmp symlink Vulnerability

Bugtraq ID: 1302
Class: Access Validation Error
CVE:
Remote: No
Local: Yes
Published: Jun 02 2000 12:00AM
Updated: Jun 02 2000 12:00AM
Credit: Posted to BugTraq on June 2, 2000 by Jason Axley <[email protected]>
Vulnerable: HP HP-UX 11.0
HP HP-UX 10.20
Not Vulnerable:

Exploit / POC

HP-UX man /tmp symlink Vulnerability

Create ~65535 catXXXX or manXXXX symlinks in /tmp, pointing to the file you want to overwrite (e.g. /etc/passwd). Then wait. When root runs man, the file will be blindly overwritten with the formatted manpage contents (cat????) or unformatted (man????) are written to the symlinked file.

Solution / Fix

HP-UX man /tmp symlink Vulnerability

Solution:
You could create root-owned catXXXX and manXXXX files in /tmp AFTER chmod'ing /tmp to 1777 to keep attackers from making the symlinks.

References

HP-UX man /tmp symlink 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