SSRT3656 Rev.1 NLSPATH may contain any path

From: Security Alert (secure_at_cup.hp.com)
Date: 02/11/04


Date: 11 Feb 2004 07:02:47 -0700


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

 -----------------------------------------------------------------
 **REVISED 01**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0311-294
 Originally issued: 05 November 2003
 Last Revised: 10 February 2004
 SSRT3656 rev.1 NLSPATH may contain any path
 -----------------------------------------------------------------

NOTICE: There are no restrictions for distribution of this
Bulletin provided that it remains complete and intact.

The information in the following Security Bulletin should be
acted upon as soon as possible. Hewlett-Packard Company will
not be liable for any consequences to any customer resulting
from customer's failure to fully implement instructions in this
Security Bulletin as soon as possible.

 -----------------------------------------------------------------
PROBLEM: Superuser cannot restrict the paths set in the NLSPATH
         environment variable for setuid root programs which
         are using catopen(3C) and executed by others.

IMPACT: Increase in privilege.

**REVISED 01**
PLATFORM: HP9000 servers running HP-UX releases B.10.20, B.11.00,
          B.11.04, B.11.11, and B.11.22 only.

**REVISED 01**
SOLUTION: Download and apply the appropriate patch for the
          following HP-UX releases:
           B.11.22 PHCO_29329
           B.11.11 PHCO_29495
 --->> B.11.04 PHCO_30191
           B.11.00 PHCO_29284
           B.10.20 PHCO_26158

MANUAL ACTIONS: No

AVAILABILITY: All patches are available now on <itrc.hp.com>
CHANGE SUMMARY: Rev. 1 Added B.11.04 patch
 -----------------------------------------------------------------
**REVISED 01**
 A. Background
    Superuser cannot restrict the paths set in the NLSPATH
    environment variable for setuid root programs which are
    using catopen(3C) and executed by others.

    The SSRT thanks NSFOCUS Security Team <security@nsfocus.com>
    for reporting this potential vulnerability to HP.

    NOTE: This problem does not impact HP NonStop Servers,
          HP OpenVMS nor HP Tru64 UNIX/Trucluster Server.

    AFFECTED VERSIONS

    The following is a list by HP-UX revision of
    affected filesets or patches and fix information.
    To determine if a system has an affected version,
    search the output of "swlist -a revision -l fileset"
    for an affected fileset or patch, then determine if
    a fixed revision or applicable patch is installed.

     HP-UX B.11.22
     =============
     OS-Core.C-MIN
     OS-Core.C-MIN-64ALIB
     OS-Core.CORE2-64SLIB
     OS-Core.CORE2-SHLIBS
     ProgSupport.PROG2-AUX
     fix: install PHCO_29329 or subsequent

     HP-UX B.11.11
     =============
     OS-Core.C-MIN
     OS-Core.C-MIN-64ALIB
     OS-Core.CORE-64SLIB
     OS-Core.CORE-SHLIBS
     ProgSupport.PROG-AUX
     ProgSupport.PROG-AX-64ALIB
     ProgSupport.PROG-MIN
     OS-Core.SYS-ADMIN
     OS-Core.SYS-ADMIN
     fix: install PHCO_29495 or subsequent

 --> HP-UX B.11.04
 --> =============
 --> OS-Core.C-MIN
 --> OS-Core.C-MIN-64ALIB
 --> OS-Core.CORE-64SLIB
 --> OS-Core.CORE-SHLIBS
 --> ProgSupport.PROG-AUX
 --> ProgSupport.PROG-AX-64ALIB
 --> ProgSupport.PROG-MIN
 --> fix: install PHCO_30191 or subsequent

     HP-UX B.11.00
     =============
     OS-Core.C-MIN
     OS-Core.C-MIN-64ALIB
     OS-Core.CORE-64SLIB
     OS-Core.CORE-SHLIBS
     ProgSupport.PROG-AUX
     ProgSupport.PROG-AX-64ALIB
     ProgSupport.PROG-MIN
     fix: install PHCO_29284 or subsequent

     HP-UX B.10.20
     =============
     OS-Core.C-MIN
     OS-Core.CORE-SHLIBS
     ProgSupport.PROG-MIN
     ProgSupport.PROG-AUX
     fix: install PHCO_26158 or subsequent

    END AFFECTED VERSIONS

    NOTE: B.11.23 is not affected by this issue.

**REVISED 01**
 B. Recommended solution
    Install the applicable patch and relink any suid root
    programs that are linked with archived libraries.

    Note: If libc patches are installed without rebooting,
          applications currently running which are linked
          shared against libc will still continue using the
          former version of libc. Rebooting will insure that
          all such applications will use the new libc.

    Download from <itrc.hp.com> the appropriate patch
    for the following HP-UX releases:

           B.11.22 PHCO_29329
           B.11.11 PHCO_29495
 --->> B.11.04 PHCO_30191
           B.11.00 PHCO_29284
           B.10.20 PHCO_26158

    Install using SD utilities.

 C. To subscribe to automatically receive future NEW HP Security
    Bulletins from the HP IT Resource Center via electronic
    mail, do the following:

    Use your browser to get to the HP IT Resource Center page
    at:

       http://itrc.hp.com

    Use the 'Login' tab at the left side of the screen to login
    using your ID and password. Use your existing login or the

    "Register" button at the left to create a login, in order to
    gain access to many areas of the ITRC. Remember to save the
    User ID assigned to you, and your password.

    In the left most frame select "Maintenance and Support".

    Under the "Notifications" section (near the bottom of
    the page), select "Support Information Digests".

    To -subscribe- to future HP Security Bulletins or other
    Technical Digests, click the check box (in the left column)
    for the appropriate digest and then click the "Update
    Subscriptions" button at the bottom of the page.

    or

    To -review- bulletins already released, select the link
    (in the middle column) for the appropriate digest.

    NOTE: Using your itrc account security bulletins can be
          found here:
    http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin

    To -gain access- to the Security Patch Matrix, select
    the link for "The Security Bulletins Archive". (near the
    bottom of the page) Once in the archive the third link is
    to the current Security Patch Matrix. Updated daily, this
    matrix categorizes security patches by platform/OS release,
    and by bulletin topic. Security Patch Check completely
    automates the process of reviewing the patch matrix for
    11.XX systems. Please note that installing the patches
    listed in the Security Patch Matrix will completely
    implement a security bulletin _only_ if the MANUAL ACTIONS
    field specifies "No."

    The Security Patch Check tool can verify that a security
    bulletin has been implemented on HP-UX 11.XX systems providing
    that the fix is completely implemented in a patch with no
    manual actions required. The Security Patch Check tool cannot
    verify fixes implemented via a product upgrade.

    For information on the Security Patch Check tool, see:
    http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/
    displayProductInfo.pl?productNumber=B6834AA

    The security patch matrix is also available via anonymous
    ftp:

    ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

    On the "Support Information Digest Main" page:
    click on the "HP Security Bulletin Archive".

    The PGP key used to sign this bulletin is available from
    several PGP Public Key servers. The key identification
    information is:

       2D2A7D59
       HP Security Response Team (Security Bulletin signing only)
       <security-alert@hp.com>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

    If you have problems locating the key please write to
    security-alert@hp.com. Please note that this key is
    for signing bulletins only and is not the key returned
    by sending 'get key' to security-alert@hp.com.

 D. To report new security vulnerabilities, send email to

    security-alert@hp.com

    Please encrypt any exploit information using the
    security-alert PGP key, available from your local key
    server, or by sending a message with a -subject- (not body)
    of 'get key' (no quotes) to security-alert@hp.com.

 -----------------------------------------------------------------

(c)Copyright 2004 Hewlett-Packard Company
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
in this document is subject to change without notice.
Hewlett-Packard Company and the names of HP products referenced
herein are trademarks and/or service marks of Hewlett-Packard
Company. Other product and company names mentioned herein may be
trademarks and/or service marks of their respective owners.

 ________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBQClkFeAfOvwtKn1ZEQJtAACg4z5owqTv3ngFsIvfVHl216KUoaQAoLdO
TUJDARB7tKPEWuohLwHs5Nof
=cuzI
-----END PGP SIGNATURE-----

--
Yours truly,
HP S/W Security Team
WTEC Cupertino, California
Return-Path: secure@cup.hp.com
Reply-to: security-alert@hp.com


Relevant Pages

  • SSRT3461 SSRT2462 Rev.1 uucp(1) and uusub(1)
    ... Source: HEWLETT-PACKARD COMPANY ... SECURITY BULLETIN: HPSBUX0306-262 ... Bulletin provided that it remains complete and intact. ... SOLUTION: Apply the appropriate patch: ...
    (comp.sys.hp.hpux)
  • SSRT3461 SSRT2462 Rev.1 uucp(1) and uusub(1)
    ... Source: HEWLETT-PACKARD COMPANY ... SECURITY BULLETIN: HPSBUX0306-262 ... Bulletin provided that it remains complete and intact. ... SOLUTION: Apply the appropriate patch: ...
    (comp.security.misc)
  • SSRT3461 SSRT2462 Rev.1 uucp(1) and uusub(1)
    ... Source: HEWLETT-PACKARD COMPANY ... SECURITY BULLETIN: HPSBUX0306-262 ... Bulletin provided that it remains complete and intact. ... SOLUTION: Apply the appropriate patch: ...
    (comp.security.unix)
  • SSRT3656 Rev.1 NLSPATH may contain any path
    ... Source: HEWLETT-PACKARD COMPANY ... SECURITY BULLETIN: HPSBUX0311-294 ... Bulletin provided that it remains complete and intact. ... Download and apply the appropriate patch for the ...
    (comp.security.unix)
  • SSRT3656 Rev.1 NLSPATH may contain any path
    ... Source: HEWLETT-PACKARD COMPANY ... SECURITY BULLETIN: HPSBUX0311-294 ... Bulletin provided that it remains complete and intact. ... Download and apply the appropriate patch for the ...
    (comp.sys.hp.hpux)