HP-UX NLSPATH Environment Variable Format String Vulnerability

BID:8985

Info

HP-UX NLSPATH Environment Variable Format String Vulnerability

Bugtraq ID: 8985
Class: Design Error
CVE: CVE-2003-0090
Remote: No
Local: Yes
Published: Nov 05 2003 12:00AM
Updated: Jul 12 2009 12:56AM
Credit: Discovery is credited to NSFocus.
Vulnerable: HP HP-UX 11.22
HP HP-UX 11.11
HP HP-UX 11.0 4
HP HP-UX 11.0
HP HP-UX 10.20
Not Vulnerable:

Discussion

HP-UX NLSPATH Environment Variable Format String Vulnerability

HP-UX allows the NLSPATH to be set for setuid root programs, which use catopen(3C) and may be executed by other local users. This could result in privilege escalation as an attacker could specify an arbitrary path for a message catalogue, which will be opened with elevated privileges.

Exploit / POC

HP-UX NLSPATH Environment Variable Format String Vulnerability

The following proof of concept exploit was supplied by [email protected]:

Solution / Fix

HP-UX NLSPATH Environment Variable Format String Vulnerability

Solution:
HP has released a revised advisory (SSRT3656) and the following patches to address this issue:


HP HP-UX 10.20

HP HP-UX 11.0

HP HP-UX 11.0 4

HP HP-UX 11.11

HP HP-UX 11.22

References

HP-UX NLSPATH Environment Variable Format String 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