Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

[Full-Disclosure] NSFOCUS SA2004-02 : HP-UX stmkfont Local Privilege Esc

Subject: [Full-Disclosure] NSFOCUS SA2004-02 : HP-UX stmkfont Local Privilege Escalation Vulnerability
Date: Thu, 21 Oct 2004 12:51:52 +0800
-----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@nsfocus.com>
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-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

<Prev in Thread] Current Thread [Next in Thread>
  • [Full-Disclosure] NSFOCUS SA2004-02 : HP-UX stmkfont Local Privilege Escalation Vulnerability, NSFOCUS Security Team <=