Security Vulnerability in Apache Server Chunk Encoding (rev.7)

Security Vulnerability in Apache Server Chunk Encoding (rev.7)

Post by Security Ale » Thu, 29 Aug 2002 21:42:41

Hash: SHA1

   **REVISED 07**
   Originally issued: 01 Jul 2002
   Last revision:     27 Aug 2002
   SSRT2332 Security Vulnerability in Apache Server Chunk Encoding

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 potential for vulnerability in
          handling of large data chunks in Apache-based web servers.

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:   Potential  for increased privilege, DoS, or execution of
          arbitrary code.

**REVISED 07**
SOLUTION: For HP-UX releases 11.00, 11.11, 11.11 running IPv6,
          11.20, and 11.22 download new product bundles from
          For only HP-UX release 11.04 (VV-OS): apply patches
 --->>        PHSS_27361, PHSS_27423     - for VV A.04.60 release,
 --->>        PHSS_27371, PHSS_27477     - for VV A.04.50 release.

MANUAL ACTIONS: Yes - Install repaired binary.

AVAILABILITY: Complete product bundles are available now for 11.00
              and 11.11 are available for PA-RISC architecture
              platforms from <>
              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.
                Rev.05 -  Added IPv6 PA-RISC version.
                Rev.06 -  Bundles available from
 ---->>>        Rev.07 -  Added additional Virtualvault patches.
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
    B9416BA Apache 2.x    IPv6 PA_RISC HP-UX release 11.11

     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

     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

     HP Apache 2.0.39 IP version 6 (PA-RISC)
     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.

**REVISED 07**
 -->>  The Virtualvault product (also known as HP-UX 11.04) has
 -->>  patches for its 4.5 and 4.6 releases. The patches for VV 4.6
 -->>  update both the inside and 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, PHSS_27423   -   for VV A.04.60 release.
 -->>  PHSS_27371, PHSS_27477   -   for VV A.04.50 release.

      The fixes for both PA-RISC and IPF (Itanium Processor Family)
      versions are in the form of new product bundles, instead of
      patches.  These are currently available from,
      under "Internet and Security Solutions".  

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