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

UNIRAS Brief - 553/03 - Two Hewlett-Packard Security Bulletins



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

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 553/03 dated 03.10.03  Time: 11:20
 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
=====

Two Hewlett-Packard Security Bulletins:

1. Potential Security Vulnerabilities in Apache HTTP Server.

2. smrsh restrictions bypass (rev.2).

Detail
====== 

1. Certain ASN.1 encodings that are rejected as invalid by the parser can 
   trigger a bug in the deallocation of the corresponding data structure,
   corrupting the stack.  This can be used as a denial of service attack.  
   It is currently unknown whether this can be exploited to run malicious code.   
                  
2. Sendmail Restricted Shell (smrsh) may let local users bypass restrictions
   to execute code. 
                     



1.    ESB-2003.0697 -- HEWLETT-PACKARD SECURITY BULLETIN: HPSBUX0310-284
     SSRT3622 Potential Security Vulnerabilities in Apache HTTP Server
                              03 October 2003


Product:                OpenSSL
Publisher:              Hewlett-Packard
Operating System:       HP-UX release 11.23
                        HP-UX release 11.22
                        HP-UX release 11.20
                        HP-UX release 11.11
                        HP-UX release 11.00
Impact:                 Denial of Service
Access Required:        Remote
CVE Names:              CAN-2003-0543, CAN-2003-0544, CAN-2003-0545

Ref:                    AL-2003.18


 -----------------------------------------------------------------
Source: HEWLETT-PACKARD COMPANY
SECURITY BULLETIN: HPSBUX0310-284
Originally issued: 01 Oct 2003
SSRT3622 Potential Security Vulnerabilities in Apache HTTP Server
 -----------------------------------------------------------------
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: 1. Certain ASN.1 encodings that are rejected as invalid
            by the parser can trigger a bug in the deallocation
            of the corresponding data structure, corrupting the
            stack.  This can be used as a denial of service
            attack.  It is currently unknown whether this can be
            exploited to run malicious code. This issue does not
            affect OpenSSL 0.9.6.

            More details are available at:
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0545

         2. Unusual ASN.1 tag values can cause an out of bounds
            read under certain circumstances, resulting in a
            denial of service vulnerability.
            More details are available at:
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0543
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0544

         3. A malformed public key in a certificate will crash
            the verify code if it is set to ignore public key
            decoding errors.  Exploitation of an affected
            application would result in a denial of service
            vulnerability.

         4. Due to an error in the SSL/TLS protocol handling,
            a server will parse a client certificate when one is
            not specifically requested.

IMPACT:   Potential Denial of Service

PLATFORM: HP9000 Servers running HP-UX release B.11.00, B.11.11,
          B.11.20, B.11.22, and B.11.23 with versions of the
          following products are affected, and represented as:
          product-name, version (product-tag/bundle-tag)

          - hp apache-based web server, 2.0.43.04 or earlier
            (HPApache/B9416AA)
            This product includes OpenSSL 0.9.6b.

          - hp-ux apache-based web server, v.1.0.06.02 or earlier
            (hpuxwsAPACHE/hpuxwsApache)
            This product includes OpenSSL 0.9.6i.

          - hp apache-based web server, 2.0.43.04 (with IPv6
            support), or earlier (HPApache/B9416BA)
            This product includes OpenSSL 0.9.6b.

          - hp-ux apache-based web server(with IPv6 support),
            v.1.0.07.01 or earlier (hpuxwsAPACHE/hpuxwsApache)
            This product includes OpenSSL 0.9.6i.

SOLUTION: For HP-UX releases B.11.00, B.11.11, B.11.20,
          B.11.22, and B.11.23 download new HP Apache product
          from the ftp site (see below for details).

          For HPApache/B9416AA, HPApache/B9416BA and
              hpuxwsAPACHE/hpuxwsApache download the following:

          - hp-ux apache-based web server (with IPv4)
            A.1.0.08.01 or later (hpuxwsAPACHE/hpuxwsApache)
            This product includes OpenSSL 0.9.7b + patches.

          - hp-ux apache-based web server(with IPv6 support),
            B.1.0.08.01 or later (hpuxwsAPACHE/hpuxwsApache)
            This product includes OpenSSL 0.9.7b + patches.

MANUAL ACTIONS: Yes - Update
                Install the product containing the fix.
        For customers with HPApache/B9416AA HPApache/B9416BA
        installed, the fix requires removing the affected
        products from the system and migration to
        hpuxwsAPACHE/hpuxwsApache.

AVAILABILITY: Complete product bundles are available from
              the ftp site (see below for details).

 -----------------------------------------------------------------
A. Background
   An SSL/TLS testing suite developed by the NISCC (National
   Infrastructure Security Co-Ordination Centre in the UK) has
   identified ASN.1 parsing vulnerabilities in OpenSSL.

   The Common Vulnerabilities and Exposures project
   <http://cve.mitre.org/> has identified potential
   vulnerabilities in the Apache HTTP Server (CAN-2003-0543,
   CAN-2003-0544).

     AFFECTED VERSIONS
     ==================

     The affected filesets are: (product.fileset)

     For IPv4:
     HP-UX B.11.00
     HP-UX B.11.11
     HP-UX B.11.22
     HPApache.APACHE2
     hpuxwsAPACHE.APACHE2
     fix: revision A.1.0.08.01 or subsequent

     For IPv6:
     HP-UX B.11.11
     HP-UX B.11.23
     =============
     HPApache.APACHE2
     hpuxwsAPACHE.APACHE2
     fix: revision B.1.0.08.01 or subsequent

     END AFFECTED VERSIONS

B. Recommended solution
   For customers using HPApache/B9416BA and hpuxwsAPACHE/
   hpuxwsApache, HP has incorporated OpenSSL 0.9.7b + patches
   in the following product:

   - hp-ux apache-based web server version 1.0.08.01 or later

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

        FTP Access: ftp://apache1:apache1@xxxxxxxxxxxxxxxxxxxx/
                or: ftp://apache1:apache1@xxxxxxxxxxxxx/
                or: ftp hprc.external.hp.com

        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

    ==================================================
    To fix the problem:

    1. Determine the affected version.
    2. Download and verify the cksum or md5 sum.
    3. Install the appropriate Apache depot.

     cksum:
          2820606652 77844480   A.1.0.08.01.1100.depot
          84183799 91555840     A.1.0.08.01.1122.depot
          774435972 77875200    B.1.0.08.01.ipv6.depot
          871663669 116940800   B.1.0.08.01.1123.depot

       MD5:
          A.1.0.08.01.1100.depot
                 4D60A779EEFFD5953EE52371E1F17AD9
          A.1.0.08.01.1122.depot
                 483DBFF44D9B79C04CD1ABF71A692E05
          B.1.0.08.01.1123.depot
                 B8B2D2609D2A43ABAD63BE0A3DC7C61E
          B.1.0.08.01.ipv6.depot
                 866E9B4D3102EA6FF34CCCA8171B43CB

   Check for Apache Installation
   -----------------------------
   To determine if the Apache web server from HP is installed on
   your system, use Software Distributor's swlist command.  All
   three versions products may co-exist on a single system.

   For example, the results of the command
     swlist -l product | grep -i apache     might show:

     HPApache      2.0.39.01.02  HP Apache-based Web Server
     hpuxwsAPACHE  A.1.0.05.01   HP-UX Apache-based Web Server

   Stop Apache
   -----------------------------
   Before updating, make sure to stop any previous Apache binary.
   Otherwise, the previous binary will continue running,
   preventing the new one from starting, although the
   installation would be successful.

   After determining which Apache is installed, stop Apache with
   the following commands:

     for HPApache:        /opt/hpapache2/bin/apachectl stop
     for hpuxwsAPACHE:    /opt/hpws/apache/bin/apachectl stop

   Download and Install Apache
   -----------------------------
   - Download Apache from temporary ftp site using the previously
     mentioned links.
   - Verify successful download by comparing the cksum/md5 with
     the value specified on the installation web page.
   - Use SD to swinstall the depot.
   - For customers with HPApache/B9416BA installed, migrate to
     hpuxwsAPACHE/hpuxwsApache and remove the affected products
     from the system.

   Installation of this new version of HP Apache over an existing
   HP Apache installation is supported, while installation over a
   non-HP Apache is NOT supported.

   Removing Apache Installation
   ----------------------------
   If you rather remove Apache from your system than install a
   newer version to resolve the security problem, use both
   Software Distributor's "swremove" command and also "rm -rf"
   the home location as specified in the rc.config.d file "HOME"
   variables.

   To find the files containing HOME variables in the
   /etc/rc.config.d directory:

     %ls /etc/rc.config.d | grep apache
        hpapache2conf
        hpws_apacheconf

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

 ________________________________________________________________
    

2. ESB-2003.0696 -- HEWLETT-PACKARD SECURITY BULLETIN: HPSBUX0212-234
                SSRT2432 smrsh restrictions bypass (rev.2)
                              03 October 2003


Product:                smrsh (Sendmail Restricted Shell)
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.00
                        HP-UX 11.11
                        HP-UX 11.22
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

Ref:                    ESB-2002.721

 **REVISED 02**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0212-234
 Originally issued: 19 December 2002
 Last revision: 30 September 2003
 SSRT2432  smrsh restrictions bypass (rev.2)
 -----------------------------------------------------------------

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:  Sendmail Restricted Shell (smrsh) may let local users
          bypass restrictions to execute code.

IMPACT: The potential vulnerability may allow authorized users
        to execute unauthorized programs.

PLATFORM: HP-UX B.11.00, B.11.11, B.11.22 running sendmail
          version 8.11.1 ONLY.

SOLUTION: B.11.22 - PHNE_28409 or subsequent
          B.11.11 - Web upgrade
          B.11.00 - Web upgrade

MANUAL ACTIONS: Yes - Update
                Update B.11.00 and B.11.11.
                A patch is available for B.11.22.
                No manual action is required for B.11.22.

AVAILABILITY:  The patch and web upgrades are available now.

CHANGE SUMMARY: Rev.01 - Only sendmail version 8.11.1
                         is vulnerable.
                Rev.02 - Patch and web upgrades are available.
                         Added AFFECTED VERSIONS section.
 -----------------------------------------------------------------
 A. Background
    Sendmail Restricted Shell (smrsh) may let local users
    bypass restrictions to execute code.  The only vulnerable
    version delivered on HP-UX is sendmail 8.11.1.  This version
    is available as a web upgrade for HP-UX B.11.00 and B.11.11.
    Sendmail version 8.11.1 is delivered with HP-UX B.11.22.

**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.11.22
     =============
     InternetSrvcs.INETSVCS2-RUN
     InternetSrvcs.INETSVCS-RUN
     fix: PHNE_28409 or subsequent

     HP-UX B.11.11
     =============
     SMAIL-811.INETSVCS-SMAIL
     fix: revision B.11.11.01.005 or subsequent
         (web upgrade to Sendmail 8.11.1 Version 5
          or subsequent)

     HP-UX B.11.00
     =============
     SMAIL-811.INETSVCS-SMAIL
     fix: revision B.11.00.01.004 or subsequent
         (web upgrade to Sendmail 8.11.1 Version 4
          or subsequent)

 --> END AFFECTED VERSIONS


    HP Tru64 UNIX is not vulnerable to this reported problem.

 B. Recommended solution

**REVISED 02**
 -->HP-UX B.11.22 sendmail 8.11.1
        PHNE_28409 is now available.

 -->HP-UX B.11.00 and B.11.11 sendmail 8.11.1
        A web upgrade is available from software.hp.com:
        <http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/
        cgi/displayProductInfo.pl?productNumber=SMAIL811>

 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 2003 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

iQCVAwUBP31Reopao72zK539AQHu2gP8DxCwBKSeQJaNsBQAZtyP6wtTfGm52J/e
jhaXvOenTr8xC4zIlM2AdZa5g/noi8U52Z8j/sMXzajvuY94zkr6gW3Z5b+dr38D
FNBBQ11qrJqbzrvDkgtzi0Xz+yWFs5x7DmgLAtllTA32f63EWmFj+gPX1lu+ViKz
bLUgFB5CgdE=
=A933
-----END PGP SIGNATURE-----