<<< Date Index >>>     <<< Thread Index >>>

NSFOCUS SA2004-02 : HP-UX stmkfont Local Privilege Escalation Vulnerability



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

NSFOCUS Security Advisory(SA2004-02)

Topic: HP-UX stmkfont Local Privilege Escalation Vulnerability

Release Date: 2004-10-20

CVE CAN ID: CAN-2004-0965

http://www.nsfocus.com/english/homepage/research/0402.htm

Affected system:
===================

- - HP-UX B.11.00
- - HP-UX B.11.11
- - HP-UX B.11.22
- - HP-UX B.11.23

Summary:
=========

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.

Acknowledgment
===============

Yang Jilong of NSFOCUS Security Team found the vulnerability.

DISCLAIMS:
==========
THE INFORMATION PROVIDED IS RELEASED BY NSFOCUS "AS IS" WITHOUT WARRANTY
OF ANY KIND. NSFOCUS DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED,
EXCEPT FOR THE WARRANTIES OF MERCHANTABILITY. IN NO EVENT SHALL NSFOCUS
BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,
INCIDENTAL,CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,
EVEN IF NSFOCUS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
DISTRIBUTION OR REPRODUCTION OF THE INFORMATION IS PROVIDED THAT THE
ADVISORY IS NOT MODIFIED IN ANY WAY.

Copyright 1999-2003 NSFOCUS. All Rights Reserved. Terms of use.


NSFOCUS Security Team <security@xxxxxxxxxxx>
NSFOCUS INFORMATION TECHNOLOGY CO.,LTD
(http://www.nsfocus.com)

PGP Key: http://www.nsfocus.com/homepage/research/pgpkey.asc
Key fingerprint = F8F2 F5D1 EF74 E08C 02FE 1B90 D7BF 7877 C6A6 F6DA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFBd0Bo1794d8am9toRAurEAJ9lBsN27LhAdBFSMPgBj0OralBa3QCdHzNM
bHfNzy7oK/a+lo2TGsr/uAs=
=jr2r
-----END PGP SIGNATURE-----