[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 83/04 - Four Hewlett-Packard Security Advisories



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 83/04 dated 25.02.04  Time: 11:05  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------


Title
=====

Four Hewlett-Packard Security Advisories:

1. Potential security vulnerability in sendmail

2. Potential security vulnerability in rpc.yppasswdd.

3. Potential buffer overflow in xdrmem_getbytes() and
   related functions.

4. Potential buffer overflow in XDR library.




Detail
====== 

1. A potential security vulnerability with sendmail has been
   reported in HP-UX.  This potential vulnerability may result
   in unauthorized Privileged Access.

2. A potential buffer overflow has been reported in rpc.yppasswdd.
   
3. There are potential buffer overflows in xdrmem_getbytes() and 
   related functions.

4. Potential unauthorized access, denial of service.




1.
 ESB-2004.0142 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0309-281
                          SSRT3631 Rev.8 sendmail
                             23 February 2004


Product:                sendmail
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.23
                        HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.04
                        HP-UX 11.00
Platform:               HP9000 Series 700/800
Impact:                 Root Compromise
Access Required:        Remote
CVE Names:              CAN-2003-0694 CAN-2003-0681

Ref:                    AL-2003.17
                        ESB-2003.0862

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

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

 -----------------------------------------------------------------
**REVISED 08**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0309-281
 Originally issued: 21 September 2003
 Last revised: 19 January 2004
 SSRT3631 Rev.8 sendmail
 -----------------------------------------------------------------

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 security vulnerability in sendmail

IMPACT: Potential unauthorized Privileged Access.

PLATFORM: HP-UX releases B.11.00, B.11.04 (VVOS), B.11.11,
          B.11.22, B.11.23

SOLUTION:
          B.11.00 - Sendmail 8.9.3 - PHNE_29773
          B.11.00 - Sendmail 8.11.1 - B.11.00.01.005
 -->      B.11.04 - Sendmail 8.9.3 - PHNE_30224
          B.11.11 - Sendmail 8.9.3 - PHNE_29774
          B.11.11 - Sendmail 8.11.1 - B.11.11.01.006
          B.11.22 - Sendmail 8.11.1 - PHNE_29912
          B.11.23 - Sendmail 8.11.1 - PHNE_29913

MANUAL ACTIONS: Yes - NonUpdate
                All revisions - modify /etc/mail/sendmail.cf
                          as described below and in
                          HPSBUX0304-253.
                B.11.00 - Sendmail 8.11.1 - Update to
                          B.11.00.01.005
                B.11.11 - Sendmail 8.11.1 - Update to
                          B.11.11.01.006

AVAILABILITY: The patches and web upgrades are available
              from itrc.hp.com.

CHANGE SUMMARY: Rev.01 - Added CAN-2003-0681.
                Rev.02 - sendmail.811.11.22.r5 replaces
                         sendmail.811.11.22.r4.
                Rev.03 - HPSecurityBul281.depot available.
                Rev.04 - HPSecurityBul281a.depot available.
                Rev.05 - HPSecurityBul281b.depot adds B.11.23
                         and corrects B.11.22.
                Rev.06 - Added PHNE_29773 and PHNE_29774.
                         Added Sendmail 8.11.1 B.11.00.01.005.
                         Added Sendmail 8.11.1 B.11.11.01.006.
                Rev.07 - Added PHNE_29912 and PHNE_29913.
                Rev.08 - Added PHNE_30224.
 -----------------------------------------------------------------
 A. Background
    A potential security vulnerability with sendmail has been
    reported in HP-UX.  This potential vulnerability may result
    in unauthorized Privileged Access.

    This is the vulnerability reported in CERT/CC CA-2003-25:

     <http://www.cert.org/advisories/CA-2003-25.html>


    New versions are available which also address the
    the issue reported here:

    <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0681>

**REVISED 08**
     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.23
     =============
     InternetSrvcs.INETSVCS2-RUN
     InternetSrvcs.INETSVCS-RUN
     fix: install PHNE_29913 or subsequent
          modify /etc/mail/sendmail.cf


     HP-UX B.11.22
     =============
     InternetSrvcs.INETSVCS2-RUN
     InternetSrvcs.INETSVCS-RUN
     fix: install PHNE_29912 or subsequent
          modify /etc/mail/sendmail.cf

     HP-UX B.11.11
     =============
     SMAIL-811.INETSVCS-SMAIL
     fix: install revision B.11.11.01.006 or subsequent
          modify /etc/mail/sendmail.cf

     InternetSrvcs.INETSVCS-RUN
     fix: install PHNE_29774 or subsequent
          modify /etc/mail/sendmail.cf

     HP-UX B.11.04
     =============
     InternetSrvcs.INETSVCS-RUN
 --> fix: install PHNE_30224 or subsequent
          modify /etc/mail/sendmail.cf

     HP-UX B.11.00
     =============
     SMAIL-811.INETSVCS-SMAIL
     fix: install revision B.11.00.01.005 or subsequent
          modify /etc/mail/sendmail.cf

     InternetSrvcs.INETSVCS-RUN
     fix: install PHNE_29773 or subsequent
          modify /etc/mail/sendmail.cf

     END AFFECTED VERSIONS

 B. Recommended solution
**REVISED 07**

     If the following changes to /etc/mail/sendmail.cf were
     not done when HPSBUX0304-253 was implemented they should
     be done now:

      Modify /etc/mail/sendmail.cf as follows:

       Add "restrictqrun" to the PrivacyOptions.
       After the change the line should read:

         O PrivacyOptions=authwarnings,restrictqrun

     Patches and web upgrades are now available for
 --> B.11.00, B.11.04, B.11.11, B.11.22, and B.11.23.
     HPSecurityBul281b should be removed before installing
     the patch or web upgrade if it had been installed::

        swremove HPSecurityBul281b.INETSVCS-RUN

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


    Note: If you receive either of the following messages after
    applying the updates, please follow the recommended action.

     warning: /etc/mail/aliases has world read or
                        write permission. This is unsafe.

     warning: /etc/mail/aliases.db has world read or
                        write permission. This is unsafe.


     Recommended action

      Execute the following commands.

        chmod 640 /etc/mail/aliases
        chmod 640 /etc/mail/aliases.db
        sendmail -bi


 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.

    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@xxxxxx>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

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


 D. To report new security vulnerabilities, send email to

    security-alert@xxxxxx

    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@xxxxxxx

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







2.
 ESB-2004.0143 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0302-242
                       SSRT2330 Rev.2 rpc.yppasswdd
                             23 February 2004


Product:                rpc.yppasswdd
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.00
                        HP-UX 10.20
Platform:               HP9000 Series 700/800
Impact:                 Denial of Service
                        Inappropriate Access
Access Required:        Remote

Ref:                    ESB-2003.0441

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

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

 -----------------------------------------------------------------
**REVISED 02**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0302-242
 Originally issued: 12 February 2003
 SSRT2330 Rev.2 rpc.yppasswdd
 Last revised: 11 January 2004
 -----------------------------------------------------------------

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 security vulnerability in rpc.yppasswdd

IMPACT: Potential denial of service, unauthorized access.

PLATFORM: HP 9000 Series 700 and 800 running HP-UX B.10.10,
          B.10.20, B.11.00, B.11.11, B.11.22 using rpc.yppasswdd.

**REVISED 01**
SOLUTION: Install the appropriate patch:
 -->      For B.10.20 install PHNE_28886.
          For B.11.00 install PHNE_28102.
          For B.11.11 install PHNE_28103.
          For B.11.22 install PHNE_28138.

MANUAL ACTIONS: No

AVAILABILITY:  The patches are available now.

CHANGE SUMMARY: Rev.01 - Added fix for B.11.22.
                         Changed o/s revision format to that
                         returned by "uname -a". 11.11 -> B.11.11.
                Rev.02 - Added PHNE_28886 for B.10.20.
 ----------------------------------------------------------------
 A. Background
    A potential buffer overflow has been reported
    in rpc.yppasswdd.

    The SSRT thanks LSD Research Group (http://lsd-pl.net) for
    reporting this potential vulnerability to HP.

 B. Recommended solution
    Note: Customers running HP-UX revision 10.10 should
          write to security-alert@xxxxxx for more information.

**REVISED 02**
    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.10.10
     =============
     NFS.NIS-SERVER
     fix: write to security-alert@xxxxxx for more information

     HP-UX B.10.20
     =============
     NFS.NIS-SERVER
 --> fix: Install PHNE_28886 or subsequent.

     HP-UX B.11.00
     =============
     NFS.NIS-SERVER
     fix: Install PHNE_28102 or subsequent.

     HP-UX B.11.11
     =============
     NFS.NIS-SERVER
     fix: Install PHNE_28103 or subsequent.

     HP-UX B.11.22
     =============
     NFS.NIS-SERVER
     fix: Install PHNE_28138 or subsequent.

    END AFFECTED VERSIONS

 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.

    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@xxxxxx

    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@xxxxxxx







3.
 ESB-2004.0144 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0303-252
                     SSRT2439 Rev.10 xdrmem_getbytes()
                             23 February 2004


Product:                xdrmem_getbytes()
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.00
                        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 10**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0303-252
 Originally issued: 19 March 2003
 Last revised: 11 January 2004
 SSRT2439 Rev.10 xdrmem_getbytes()
 -----------------------------------------------------------------

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 xdrmem_getbytes() and
         related functions.

IMPACT: Potential unauthorized access, denial of service.

PLATFORM: HP-UX B.10.20, B.11.00, B.11.04, B.11.11, and B.11.22

SOLUTION: Install the appropriate patches.

          B.10.20 - PHCO_26158
          B.11.00 - PHNE_28982
          B.11.00 - PHCO_28480
          B.11.11 - PHNE_28983
          B.11.11 - PHCO_28481
 -->      B.11.22 - PHNE_29449

MANUAL ACTIONS: Yes - NonUpdate
                B.11.04, B.11.22:
                  Download and install the appropriate files.

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

CHANGE SUMMARY: Rev.01 - Corrected instructions for replacing
                         libc.1 on 11.00 and 11.11.
                         Added CERT CA-2003-10 reference.
                Rev.02 - Corrected instructions 10.20
                Rev.03 - Patches are available for 11.00 and 11.11
                         libc.1 must still be manually installed
                         for 11.00 and 11.11
                Rev.04 - Corrected 11.00 and 11.11 patch
                         information.
                Rev.05 - Added note about general release patches
                Rev.06 - Added PHCO_26158.
                         Added AFFECTED VERSIONS section.
                Rev.07 - Added PHCO_28982 and PHCO_28983.
                Rev.08 - Corrected patch names.
                         PHCO_28982 should be PHNE_28982.
                         PHCO_28983 should be PHNE_28983.
                Rev.09 - Added PHCO_28480 and PHCO_28481.
                Rev.10 - Added PHNE_29449.
 -----------------------------------------------------------------
 A. Background

    There are potential buffer overflows in
    xdrmem_getbytes() and related functions.

    This issue has been reported by CERT/CC in
    advisory CA-2003-10.

    HP Tru64 UNIX/TruCluster Servers:
    The following potential security vulnerability has been
    identified or reported in the HP Tru64 UNIX operating system
    that may result in unauthorized Privileged Access or a
    Denial of Service (DoS).
    This potential vulnerability may be in the form of Local
    and Remote security domain risks.

    Cross reference: SSRT2322, SSRT2384, SSRT2341,
                     SSRT2439, SSRT2412

    Not Impacted:

      HP NonStop Servers
      HP OpenVMS

**REVISED 10**
     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_28983 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_28982 or subsequent
     OS-Core.CORE-SHLIBS
     fix: PHCO_28480 or subsequent

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

     END AFFECTED VERSIONS



 B. Recommended solution

**REVISED 10**
    Note: If the preliminary patches, PHNE_28929.depot or
          PHNE_28930.depot have been installed, they must
          be removed with swremove before installing the
          general release patches PHNE_28982 (11.00) or
          PHNE_28983 (11.11) or subsequent.

    Remove the preliminary patches with swremove
    if they are on the system:

      PHNE_28929.depot          #B.11.00
      PHNE_28930.depot          #B.11.11


     Install the appropriate patches.

          B.10.20 - PHCO_26158
          B.11.00 - PHNE_28982
          B.11.00 - PHCO_28480
          B.11.11 - PHNE_28983
          B.11.11 - PHCO_28481
 -->      B.11.22 - PHNE_29449

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

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

     Browser ftp access:

     ftp://xdr2:xdr2@xxxxxxxxxxxxxxxxxxxx/
     or
     ftp://xdr2:xdr2@xxxxxxxxxxxxx/


        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

     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.

    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@xxxxxx>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

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


 D. To report new security vulnerabilities, send email to

    security-alert@xxxxxx

    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@xxxxxxx

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

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

 ________________________________________________________________




4.

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


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@xxxxxxxxxxxxxxxxxxxx/
     or
     ftp://xdr2:xdr2@xxxxxxxxxxxxx/


      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@xxxxxx

    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@xxxxxxx

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

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








For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Hewlett-Packard for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>
- ----------------------------------------------------------------------------------


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

iQCVAwUBQDyBlopao72zK539AQHh1gP/X0muIfOw/sd9ftIQiJONs6F7qAdOLn0p
6O7xwNOJhcsy6t2R70getEW5rB6/3Jb9z8R3WkczvC6cOLQFopfpqJltucpz9Rq9
i40DK4Gxu493D2DdEIGRl9AcCAc+w6aZJBYlaZWAdG+YqshF7towUz04D+E5aNBs
gXkpKKIC9dc=
=JBDx
-----END PGP SIGNATURE-----