SSRT3622 Rev.2 Apache HTTP Server

From: Security Alert (secure_at_cup.hp.com)
Date: 01/08/04

  • Next message: John Smith: "SysAdmin Survey. How does your org assign responsibilities?"
    Date: 8 Jan 2004 05:52:45 -0700
    
    

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

     -----------------------------------------------------------------
    **REVISED 02**
    Source: HEWLETT-PACKARD COMPANY
    SECURITY BULLETIN: HPSBUX0310-284
    Originally issued: 01 Oct 2003
    Last Revised: 07 Jan 2004
    SSRT3622 (rev. 2) 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.

    **REVISED 02**
    IMPACT: Potential Denial of Service, remote execution of
     ---> arbitrary code and disclosure of sensitive information.

    **REVISED 02**
    PLATFORM: HP9000 Servers running HP-UX release B.11.00, B.11.04,
     ---> 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.

    **REVISED 02**
    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 <http://software.hp.com>.

     ---> For HP-UX release B.11.04, download new patches for
     ---> systems with Virtualvault A.04.50, A.04.60, or A.04.70
     ---> installed.

              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.

     ---> Virtualvault 4.5:
     ---> PHSS_29892 s700_800 11.04 Virtualvault 4.5 IWS update
     ---> PHSS_29690 s700_800 11.04 Virtualvault 4.5 OWS update

     ---> Virtualvault 4.6:
     ---> PHSS_29893 s700_800 11.04 Virtualvault 4.6 IWS update
     ---> PHSS_29691 s700_800 11.04 Virtualvault 4.6 OWS update
     ---> PHSS_29891 s700_800 11.04 Virtualvault 4.6 TGP update

     ---> Virtualvault 4.7:
     ---> PHSS_30055 s700_800 11.04 Virtualvault 4.7 IWS update
     ---> PHSS_30056 s700_800 11.04 Virtualvault 4.7 OWS update
     ---> PHSS_30057 s700_800 11.04 Virtualvault 4.7 TGP update

     ---> Webproxy 2.0:
     ---> PHSS_29894 s700_800 11.04 Webproxy server 2.0 update
     ---> Webproxy 2.1:
     ---> PHSS_30058 s700_800 11.04 Webproxy server 2.1 update

    **REVISED 02**
    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.

     NOTE: For customers with VirtualVault installations there
     ---> are NO manual actions needed, aside from installing
     ---> the patches.

    **REVISED 02**
    AVAILABILITY: Complete product bundles are available from
                  <http://software.hp.com> for non-VirtualVault
                  systems.
     ---> For VirtualVault installations, retrieve patches
     ---> from <itrc.hp.com>.

    **REVISED 02**
    CHANGE SUMMARY: Rev.01 temporary ftp site removed
     ---> Rev.02 HP-UX B.11.04 (VVOS) patches added.

     -----------------------------------------------------------------
    **REVISED 02**
    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 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.

          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

     ---> HP-UX B.11.04 VirtualVault 4.5
     ---> ==============================
     ---> VaultWS.WS-CORE
     ---> VaultTS.VV-IWS
     ---> VaultTS.VV-CORE-CMN
     ---> fix: install PHSS_29892, PHSS_29690 or subsequent

     ---> HP-UX B.11.04 VirtualVault 4.6
     ---> ==============================
     ---> VaultWS.WS-CORE
     ---> VaultTS.VV-IWS
     ---> VaultTS.VV-CORE-CMN
     ---> fix: install PHSS_29893, PHSS_29691, PHSS_29891
     ---> or subsequent.

     ---> HP-UX B.11.04 Virtualvault 4.7
     ---> ==============================
     ---> fix: install PHSS_30055, PHSS_30056, PHSS_30057
     ---> or subsequent.

     ---> HP-UX B.11.04 Webproxy 2.0
     ---> ==========================
     ---> HP_Webproxy.HPWEB-PX-CORE
     ---> fix: install PHSS_29894 or subsequent

     ---> HP-UX B.11.04 Webproxy 2.1
     ---> ==========================
     ---> HP_Webproxy.HPWEB-PX-CORE
     ---> fix: install PHSS_30058 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

     ---> NOTE: HP-UX B.11.04 does not support IPv6.

     ---> Additional references for vulnerabilities:

     ---> * CERT/CC Vulnerability Note VU#935264 -
     ---> <http://www.kb.cert.org/vuls/id/935264>
     ---> * CERT/CC Vulnerability Note VU#255484 -
     ---> <http://www.kb.cert.org/vuls/id/255484>
     ---> * CERT/CC Vulnerability Note VU#380864 -
     ---> <http://www.kb.cert.org/vuls/id/255484>
     ---> * CERT/CC Vulnerability Note VU#686224 -
     ---> <http://www.kb.cert.org/vuls/id/686224>
     ---> * CERT/CC Vulnerability Note VU#732952 -
     ---> <http://www.kb.cert.org/vuls/id/732952>
     ---> * CERT/CC Vulnerability Note VU#104280 -
     ---> <http://www.kb.cert.org/vuls/id/104280>
     ---> * OpenSSL Security Advisory [30 September 2003] -
     ---> <http://www.openssl.org/news/secadv_20030930.txt>

    **REVISED 02**
    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
         <http://www.software.hp.com/portal/swdepot/
              displayProductInfo.do?productNumber=HPUXWSATW100901

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

        1. Determine the affected version.

       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 <http://software.hp.com> (see above).
        - 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

     ---> For customers with HP-UX release B.11.04 (VVOS), stop Apache
     ---> (as above), and install the patches that upgrade the OpenSSL
     ---> versions to 0.9.7c. These fixes are available in the
     ---> following patches:

     ---> Virtualvault 4.5:
     ---> PHSS_29892 B.11.04 Virtualvault 4.5 IWS update
     ---> PHSS_29690 B.11.04 Virtualvault 4.5 OWS update
     ---> Virtualvault 4.6:
     ---> PHSS_29893 B.11.04 Virtualvault 4.6 IWS update
     ---> PHSS_29691 B.11.04 Virtualvault 4.6 OWS update
     ---> PHSS_29891 B.11.04 Virtualvault 4.6 TGP update
     ---> Virtualvault 4.7:
     ---> PHSS_30055 B.11.04 Virtualvault 4.7 IWS update
     ---> PHSS_30056 B.11.04 Virtualvault 4.7 OWS update
     ---> PHSS_30057 B.11.04 Virtualvault 4.7 TGP update
     ---> Webproxy 2.0:
     ---> PHSS_29894 B.11.04 Webproxy server 2.0 update
     ---> Webproxy 2.1
     ---> PHSS_30058 B.11.04 Webproxy server 2.1 update

    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 2003-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/AwUBP/y3/OAfOvwtKn1ZEQJ0kwCg3Okfw7wg8XkYQ/3UJBOLTtNzlaQAn3Pj
    yfsl6Rs7qNXsCgCtw/bQW0/p
    =wTAo
    -----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
    

  • Next message: John Smith: "SysAdmin Survey. How does your org assign responsibilities?"
  • Quantcast