Security Vulnerability in Apache Web Servers (rev. 4)

Security Vulnerability in Apache Web Servers (rev. 4)

Post by Security Ale » Wed, 17 Jul 2002 23:08:14

Hash: SHA1

   Originally issued: 01 July 2002
   Last revision:     15 July 2002

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:  A remotely exploitable vulnerability in handling of large
          data chunks in Apache-based web servers.

**REVISED 04**
PLATFORM: HP9000 Servers running HP-UX release 11.00, 11.04, 11.11
- --->>     11.20, and 11.22 with the HP Apache product installed.

DAMAGE:   Increased privilege, DoS, or execution of arbitrary code.

**REVISED 04**
SOLUTION: For HP-UX releases 11.00, 11.11, 11.20 and 11.22 download
          new product bundles from the ftp site below.
          For only HP-UX release 11.04 (VV-OS): apply patches
                PHSS_27361     - for VV 4.6 release,
                PHSS_27371     - for VV 4.5 release.

MANUAL ACTIONS: Install repaired binary.

AVAILABILITY: Complete product bundles are available now for 11.00
              and 11.11 are available for PA-RISC architecture
              platforms via ftp at  (see below
              for account details).
              HP-UX 11.04 (VV-OS) patches are available now at

CHANGE SUMMARY: Rev.01 -  Do not install the bundle on NNM.
                Rev.02 -  Added Virtualvault patches.
                Rev.03 -  Re-released 1.3.26 bits due to an update
                          deficiency and other minor problems.
- --->>           Rev.04 -  Added IPF versions.
A. Background
    The CERT Advisory CA-2002-17 regarding Apache affects the
    following HP product numbers:

    B9415AA Apache 1.3.x PA-RISC HP-UX releases 11.00 and 11.11
    B9416AA Apache 2.x    PA-RISC HP-UX releases 11.00 and 11.11
    B9415AA Apache 1.3.x IPF HP-UX releases 11.20 and 11.22
    B9416AA Apache 2.x    IPF HP-UX releases 11.20 and 11.22

    HP Apache 1.3.26 (PA-RISC)
    installs into /opt/apache and /opt/tomcat
    disk space: 55-65 MB
    documents:  /opt/apache/htdocs/doc

    HP Apache 2.0.39 (PA-RISC)
    installs into /opt/hpapache2
    disk space: 80-90 MB
    documents:  /opt/hpapache2/hp_apache_docs

**REVISED 04**
- --->> HP Apache 1.3.26 (IPF)
- --->> installs into /opt/apache and /opt/tomcat
- --->> disk space: 65-75 MB
- --->> documents:  /opt/apache/hp_apache_docs

- --->> HP Apache 2.0.39 (IPF)
- --->> installs into /opt/hpapache2
- --->> disk space: 80-90 MB
- --->> documents:  /opt/hpapache2/hp_apache_docs

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

- --->> The command to stop the HP Apache binary is:
- --->>       For 1.3.26:
- --->>           /opt/apache/bin/apachectl stop
- --->>       For 2.0.39:
- --->>           /opt/hpapache2/bin/apachectl stop

    HP Apache automatically starts upon installation if port 80
    is available.

    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.


    An advisory has been issued for HP Compaq systems.  Please
    refer to HP Compaq SSRT2253, which says in part:

      CSWS Secure Web Server for HP Tru64 UNIX and HP OpenVMS
      "Potential Apache Web Server Chunk Handling Vulnerability"

      Patches are available for CSWS for HP Tru64 UNIX at:

      Patches are available for CSWS for HP OpenVMS at:

B. Fixing the problem

     Note: OpenView Network Node Manager (NNM) customers should not
           install the ftp bundles.  The version of Apache delivered
           with NNM is under investigation.  This bulletin will be
           updated when more information is available.

     The Virtualvault product (also known as HP-UX 11.04) has
     patches for its 4.5 and 4.6 releases. The patch for VV 4.6
     updates the outside web server to the Apache 1.3.26 version
     from the Apache 1.3.22 version shipped with the VV 4.6 release.
     For the VV 4.5 patch, the security fix from the Apache 1.3.26
     version was backported to the 1.3.19 version per the Apache
     Group's patch for httpd 1.2.0-1.3.22.

     Both of these Virtualvault patches are available in
                PHSS_27361   -   for VV 4.6 release.
                PHSS_27371   -   for VV 4.5 release.

**REVISED 04**

- -->>  The fixes for both PA-RISC and IPF (Intel Processor Family)
- -->>  versions are in the form of new product bundles, instead of
      patches.  An ftp server account has been created to enable
      timely downloading of these binaries.

     System:  (
     Login:     apache
     Password:  apache

    FTP Access:
            or: ftp://apache:apa...@

     NOTE: If your Apache binary was downloaded since
           this Security Bulletin was orginally issued you may want
           to repeat that retrieval operation for the following
           1) Saving of configuration files (i.e. httpd.conf) during
           2) Automatically starting HP Apache after a reboot.
           3) Missing tuning notes

          This does not affect the security matter.  We apologize for
           the inconvenience.

          The new Apache bits (now labelled as .depot
          file for this version) is available now the directory

   Retrieve the binaries and verify the correct size, cksum output
   and MD5 fingerprint.

   Version     Product    HP-UX      cksum(1) output     MD5 output
               number     Release    and byte count
   Apache 2.0.39
               B9416AA   11.00 and 11.11
                                   4267700545 27197440
**REVISED 04**
- -->> IPF
- -->>Apache
- -->>           B9416AA   11.20 and 11.22
- -->>                               2466740859 63201280
- -->>                                 5B612A6E8A06F93C08E8156A378D4687

               B9415AA   11.00 and 11.11
                                   2357077957 60272640
**REVISED 04**
- -->> IPF
- -->>Apache
- -->>           B9415AA   11.20 and 11.22
- -->>                               1167932414 71034880
- -->>                                 C25B5CDCC9EBBD6B70490F91554B40D7

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:

    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.


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

    The security patch matrix is also available via anonymous

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

D. To report new security vulnerabilities, send email to

   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

   Permission is granted for copying and circulating this
   Bulletin to Hewlett-Packard (HP) customers (or the Internet
   community) for the purpose of alerting them to problems,
   if and only if, the Bulletin is not edited or changed in
   any way, is attributed to HP, and provided such reproduction
   and/or distribution is performed for non-commercial purposes.

   Any other use of this information is prohibited. HP is not
   liable for any misuse of this information by any third party.

Version: PGP Personal Security 7.0.3


Yours truly,
HP S/W Security Team
WTEC Cupertino, California