copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2004.0145 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0209-215 -- SSRT2336 Rev.5 XDR library

Date: 23 February 2004
References: ESB-2003.0863  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

 ESB-2004.0145 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0209-215
                        SSRT2336 Rev.5 XDR library
                             23 February 2004

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                XDR library
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.00
                        HP-UX 10.26
                        HP-UX 10.24
                        HP-UX 10.20
Platform:               HP9000 Series 700/800
Impact:                 Execute Arbitrary Code/Commands
                        Denial of Service
Access Required:        Remote
CVE Names:              CAN-2003-0028

Ref:                    AL-2003.03
                        ESB-2003.0863

- --------------------------BEGIN INCLUDED TEXT--------------------

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

 -----------------------------------------------------------------
 **REVISED 05**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0209-215
 Originally issued: 09 September 2002
 Last revised: 11 January 2004
 SSRT2336 Rev.5 XDR library
 -----------------------------------------------------------------
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: Potential buffer overflow in XDR library.

IMPACT: Potential unauthorized access, denial of service.

    PLATFORM: HP 9000 Series 700 and 800 B.10.20, B.10.24,
              B.11.00, B.11.04, B.11.11, and B.11.22

SOLUTION: Install the appropriate patches:

 -->      Install PHCO_26158 or subsequent for B.10.20
          Install PHCO_27882 or subsequent for B.10.24 (VVOS)
 -->      Install PHCO_28128 or subsequent for B.10.26
          Install PHNE_28102 or subsequent for B.11.00
 -->      Install PHCO_28480 or subsequent for B.11.00
          Install PHNE_28103 or subsequent for B.11.11
 -->      Install PHCO_28481 or subsequent for B.11.11
 -->      Install PHNE_28138 or subsequent for B.11.22

MANUAL ACTIONS: Yes - NonUpdate
                B.11.04 and B.11.22.
                Install the appropriate fixed libraries.

AVAILABILITY:  Patches are available now for all except B.11.04
               and B.11.22 (libc.1).

CHANGE SUMMARY: Rev.01 - corrected "strings" to "strings -a"
                Rev.02 - added B.10.24 and B.11.04, also added
                         libc.1 for B.11.00, B.11.11, and B.11.22.
                Rev.03 - corrected scripts
                Rev.04 - patches available for B.11.00, B.11.11.
                Rev.05 - patches available for  B.10.20, B.10.26,
                         B.11.00, B.11.11, and B.11.22.
                         added AFFECTED VERSIONS section.
                         updated download files to use those
                         of HPSBUX0303-252.

 -----------------------------------------------------------------
 A. Background
    CERT Advisory CA-2002-25 reports an integer overflow in
    certain implementations of XDR libraries.  Libraries supplied
    with HP-UX B.10.20, B.10.24, B.11.00, B.11.04, B.11.11, and
    B.11.22 are potentially vulnerable.

    In addition, cross-reference:
    HP Tru64 UNIX: Case id: SSRT2309 rpc XDR_ARRAY
       A solution is available as noted in the recent
       security bulletin SSSRT2275 at
       http://thenew.hp.com/country/us/eng/support.html
       Use the SEARCH IN feature box, enter SSRT2275 in the
       search window.

 **REVISED 05**
 --> AFFECTED VERSIONS

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


     HP-UX B.11.22
     =============
     NFS.NFS-64SLIB
     NFS.NFS-SHLIBS
     fix: PHNE_29449 or subsequent
     OS-Core.CORE2-SHLIBS
     fix: libc.1

     HP-UX B.11.11
     =============
     NFS.NFS-64SLIB
     NFS.NFS-SHLIBS
     fix: PHNE_28103 or subsequent
     OS-Core.CORE-SHLIBS
     fix: PHCO_28481 or subsequent

     HP-UX B.11.04
     =============
     NFS.NFS-64SLIB
     fix: libnsl.1.64_11.00, libnsl.a.64_11.00
     NFS.NFS-SHLIBS
     fix: libnsl.1.32_11.00, libnsl.a.32_11.00
     OS-Core.CORE-SHLIBS
     fix: libc.1

     HP-UX B.11.00
     =============
     NFS.NFS-64SLIB
     NFS.NFS-SHLIBS
     fix: PHNE_28102 or subsequent
     OS-Core.CORE-SHLIBS
     fix: PHCO_28480 or subsequent

     HP-UX B.10.26
     =============
     OS-Core.CORE-SHLIBS
     fix: PHCO_28128 or subsequent

     HP-UX B.10.24
     =============
     OS-Core.CORE-SHLIBS
     fix: PHCO_27882 or subsequent


     HP-UX B.10.20
     =============
     OS-Core.CORE-SHLIBS
     fix: PHCO_26158 or subsequent

 --> END AFFECTED VERSIONS


 B. Recommended solution
 **REVISED 05**
    Install the appropriate patches:

 -->      Install PHCO_26158 or subsequent for B.10.20
          Install PHCO_27882 or subsequent for B.10.24 (VVOS)
 -->      Install PHCO_28128 or subsequent for B.10.26
          Install PHNE_28102 or subsequent for B.11.00
 -->      Install PHCO_28480 or subsequent for B.11.00
          Install PHNE_28103 or subsequent for B.11.11
 -->      Install PHCO_28481 or subsequent for B.11.11
 -->      Install PHNE_28138 or subsequent for B.11.22

     In addition download and install the appropriate
     library files for B.11.04 and B.11.22 as described
     below.

    Note:  It will be necessary to relink any programs that
    call xdr_array() and are linked with archived libraries.
    There are no known programs supplied by HP which need to
    be relinked.  To test an archived program:

       strings -a suspect_program | grep xdr_array:

    If the command above returns "xdr_array: out of memory"
    the suspect_program will need to the relinked with a
    fixed library.

    Download the appropriate files from:

     System:           hprc.external.hp.com  (192.170.19.51)
     Login:            xdr2
     Password:         xdr2

     Browser ftp access:

     ftp://xdr2:xdr2@hprc.external.hp.com/
     or
     ftp://xdr2:xdr2@192.170.19.51/


      Note: There is an ftp defect in IE5 that may result in
            a browser hang.  To work around this:
      - Select Tools -> Internet Options -> Advanced
      - Un-check the option: [ ] Enable folder view for FTP sites.


        If you wish to verify the md5 sum please refer to:

               HPSBUX9408-016
               Patch sums and the MD5 program

 **REVISED 05**
     Download the appropriate files and unpack with gunzip:

 -->    libc.1.gz            # B.11.04, B.11.22
 -->    libnsl.1.32_11.00.gz # B.11.04
 -->    libnsl.a.32_11.00.gz # B.11.04
 -->    libnsl.1.64_11.00.gz # B.11.04
 -->    libnsl.a.64_11.00.gz # B.11.04

      Verify the cksum or md5.

         If you wish to verify the md5 sum please refer to:

               HPSBUX9408-016
               Patch sums and the MD5 program

      cksum:
 -->  3108550729 1867776 libc.1
 -->  2543748420 679936 libnsl.1.32_11.00
 -->  3883898582 652664 libnsl.1.64_11.00
 -->  2393869471 818268 libnsl.a.32_11.00
 -->  205723668 1456024 libnsl.a.64_11.00

 -->MD5 (libc.1) = 118ce482dbb3982b7484ddc434d77a51
 -->MD5 (libnsl.1.32_11.00) = a6bbfcae4a7044b0d1e9aece871c126e
 -->MD5 (libnsl.1.64_11.00) = b3c76866d75a4216be7787f219c051df
 -->MD5 (libnsl.a.32_11.00) = 1c0aea725173673eb1c8e9410180096c
 -->MD5 (libnsl.a.64_11.00) = 06c8fd367c7620a017e9bb2e7df3ec7d

      For B.11.04
      ====================================
      #DIR=[path to new files]
      #cd /usr/lib

      #cp $DIR/libnsl.1.32_11.00 libnsl.1.new
      #cp $DIR/libnsl.a.32_11.00 libnsl.a.new
      #cp $DIR/libc.1 libc.1.new

      #chmod 555 libnsl.1.new
      #chmod 444 libnsl.a.new
      #chmod 555 libc.1.new

      #chown bin:bin libnsl.1.new
      #chown bin:bin libnsl.a.new
      #chown bin:bin libc.1.new

      #mv libnsl.1 libnsl.1.orig
      #mv libnsl.a libnsl.a.orig
      #mv libc.1 libc.1.orig

      #mv libnsl.1.new libnsl.1
      #mv libnsl.a.new libnsl.a
      #mv libc.1.new libc.1

      #cd /usr/lib/pa20_64

      #cp $DIR/libnsl.1.64_11.00 libnsl.1.new
      #cp $DIR/libnsl.a.64_11.00 libnsl.a.new

      #chmod 555 libnsl.1.new
      #chmod 444 libnsl.a.new

      #chown bin:bin libnsl.1.new
      #chown bin:bin libnsl.a.new

      #mv libnsl.1 libnsl.1.orig
      #mv libnsl.a libnsl.a.orig

      #mv libnsl.1.new libnsl.1
      #mv libnsl.a.new libnsl.a

      After this, any applications that use libnsl.1 must be
      restarted.  Any applications that use libnsl.a must
      be relinked and restarted.
      Any applications that use libc.1 must be restarted.

      Rebooting is the recommended way to restart the applications
      using libnsl.1 or libc.1.

      For B.11.22
      ====================================
 -->  Install PHNE_29449 or subsequent and:

      #DIR=[path to new files]
      #cd /usr/lib
      #cp $DIR/libc.1 libc.1.new
      #chmod 555 libc.1.new
      #chown bin:bin libc.1.new
      #mv libc.1 libc.1.orig
      #mv libc.1.new libc.1

      After this, any applications that use libnsl.so.1 must be
      restarted.

      Rebooting is the recommended way to restart the applications
      using libnsl.1 or libc.1.

 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.

    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.

    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".



 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.2

iQA/AwUBQAHFMeAfOvwtKn1ZEQIvLQCg6f8QGWt3qNk+nPdQsRh4nhDFBHEAnRM9
r9dphTnw8zN8zh7TfQje0zVI
=SQ5a
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQDlezyh9+71yA2DNAQH+3QP+Km+VET9DgkZxxWdwGnc+m7/OZGtqqdfb
KmJWE/rMN6qvaMORQP9imiyJBvq966MDOV2SpeYljqkfN1bA5NX6VA1NfjKnY8Kk
Eia6puQG/Svx0wqWFL4qV8Bq++yK2khxyEOcO36C4oMrdIY6ihp7GHo/brLXp8hR
1ERp7xeHjPA=
=vyNj
-----END PGP SIGNATURE-----