| NSFOCUS Security Advisory(SA2004-02)
Topic: HP-UX stmkfont Local Privilege Escalation Vulnerability
Release Date: 2004-10-20
CVE CAN ID : CAN-2004-0965
Affected system: ============== - HP-UX B.11.00 - HP-UX B.11.11 - HP-UX B.11.22 - HP-UX B.11.23
Impact: ======
NSFOCUS Security Team found a security vulnerability during an external command execution in the program stmkfont of HP HP-UX system. Exploiting this vulnerability local attackers could gain group 'bin' privilege.
Description: ==========
HP-UX stmkfont is installed sgid 'bin' bit by default.
stmkfont uses relative path when executing some external commands, and local attackers could cause stmkfont to call any specified external command by setting PATH environment variable. Therefore, attackers could run arbitrary command with the privilege of group 'bin'.
Workaround: =========== * NSFOCUS suggests to temporarily remove the sgid 'bin' bit from stmkfont:
# chmod a-s /usr/bin/stmkfont
Vendor Status: ============
2004.10.20 Vendor released a security bulletin (HPSBUX01088) and relative patches for the vulnerability.
Detailed information for the HP security bulletin is available at: http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX01088
Note: Valid ITRC account is required for the link above.
Patch IDs:
PHSS_31990 - HP-UX B.11.23 PHSS_31989 - HP-UX B.11.22 PHSS_31988 - HP-UX B.11.11 PHSS_31987 - HP-UX B.11.00
Additional Information: ==================
The Common Vulnerabilities and Exposures (CVE) project has assigned the name CAN-2004-0965 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org), which standardizes names for security problems. Candidates may change significantly before they become official CVE entries.
Credit: =====
Yang Jilong of NSFOCUS Security Team found the vulnerability. |