Title: HP-UX Aserver /tmp/null Symbolic Link Vulnerability
Severity: MODERATE
Description:
Aserver is a server program that ships with HP-UX versions 10.x and above that is used to interface client applications with the audio hardware. Because it talks to hardware, it is installed setuid root by default.
During normal execution, Aserver uses a temporary file in /tmp called "null". Aserver does not check to see whether this file already exists or not when writing to it. If a malicious local user creates a symbolic link in /tmp called 'null', Aserver will overwrite whatever is pointed to when run. Since this is done as root, any file on the filesystem can be written to.
The data written is the output of "ps -e", which may lead to an elevation of privileges of the attacker can somehow get the right data out of this command into the right file (eg, "\n+ +\n" in /.rhosts). This may also lead to a denial of service if critial files, such as /etc/passwd, are overwritten.
Affected Products:
- HP HP-UX (VVOS) 10.24.0
- HP HP-UX 10.0.0
- HP HP-UX 10.10.0
- HP HP-UX 10.16.0
- HP HP-UX 10.20.0
- HP HP-UX 10.30.0
- HP HP-UX 10.34.0
- HP HP-UX 10.8.0
- HP HP-UX 10.9.0
- HP HP-UX 11.0.0
- HP HP-UX 11.0.0 4
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.