vendor:
HP-UX
by:
Loneguard
7.2
CVSS
HIGH
Path Poisoning
78
CWE
Product Name: HP-UX
Affected Version From: 10.x
Affected Version To: 10.x
Patch Exists: NO
Related CWE: N/A
CPE: hp:hp-ux
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: HP-UX
1998
HP-UX aserver.sh
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. During normal execution, Aserver executes "ps" via the system() libcall, relying on the PATH environment variable to do so. As a result, a user can modify their PATH environment variable so that it includes an arbitrary program called 'ps' before executing Aserver. When Aserver is run with the -f argument, the offending system() function will be called and the attacker's version of ps will be executed as root.
Mitigation:
Ensure that the PATH environment variable is set to a known, trusted location.