HP-UX stmkfont buffer overflow

hp-stmkfont-bo (11313) The risk level is classified as HighHigh Risk

Description:

HP-UX is vulnerable to a buffer overflow in the /usr/bin/stmkfont program, which is a utility for generating X and PCL fonts from Intellifont scalable typeface data. A local attacker could exploit this buffer overflow to execute arbitrary code on the system with elevated privileges.

Platforms Affected:

  • HP, HP-UX 11.0.4
  • HP, HP-UX 11.00
  • HP, HP-UX 11.04
  • HP, HP-UX 11.10
  • HP, HP-UX 11.11
  • HP, HP-UX 11.11i
  • HP, HP-UX 11.2
  • HP, HP-UX 11.20
  • HP, HP-UX 11.22
  • HP, HP-UX 11.23
  • HP, HP-UX 11.31
  • HP, HP-UX 11.4

Remedy:

For HP-UX 10.20:
Apply patch PHSS_15423, as listed in Hewlett-Packard Company Security Bulletin HPSBUX0302-241. See References.

As a workaround, remove the suid permissions from stmkfont using the following command:
chmod 555 /usr/bin/stmkfont

Consequences:

Gain Privileges

References:

  • BID-6836: HP-UX stmkfont Alternate Typeface Library Buffer Overflow Vulnerability

Reported:

Feb 12, 2003

The information within this database may change without notice. 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. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page