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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

     ESB-2002.351 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: #0197
       Sec. Vulnerability in Apache  Server  Chunk Encoding  Rev 04
                               18 July 2002

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                Apache
Vendor:                 Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.20
                        HP-UX 11.11
                        HP-UX 11.04
                        HP-UX 11.00
Platform:               HP9000
Impact:                 Increased Privileges
                        Denial of Service
Access Required:        Remote

Ref:                    ESB-2002.337
                        AA-2002.04
                        AL-2002.06
                        ESB-2002.328
                        ESB-2002.334

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

 -----------------------------------------------------------------
   **REVISED 04** HEWLETT-PACKARD COMPANY SECURITY BULLETIN: #0197,
   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 hprc.external.hp.com  (see below
              for account details).
              HP-UX 11.04 (VV-OS) patches are available now at
              itrc.hp.com

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:
        http://tru64unix.compaq.com/internet/download.htm#sws_v591

      Patches are available for CSWS for HP OpenVMS at:
        http://www.openvms.compaq.com/openvms/products/ips/apache/
            +csws_patches.html


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 itrc.hp.com.
                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:    hprc.external.hp.com  (192.170.19.51)
     Login:     apache
     Password:  apache

    FTP Access: ftp://apache:apache@hprc.external.hp.com/
            or: ftp://apache:apache@192.170.19.51/

     NOTE: If your Apache 1.3.26.00.09 binary was downloaded since
           this Security Bulletin was orginally issued you may want
           to repeat that retrieval operation for the following fixes:
           1) Saving of configuration files (i.e. httpd.conf) during an
              update.
           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 1.3.26.01.00 bits (now labelled as .depot
          file for this version) is available now the directory
          Apache1.3.26.01.


   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
   _________________________________________________________________
    PA-RISC
   Apache 2.0.39
               B9416AA   11.00 and 11.11
                                   4267700545 27197440
                                     098CFC257C9E6DF2E90176A57BB8F3A3
**REVISED 04**
- -->> IPF
- -->>Apache 2.0.39.00.11
- -->>           B9416AA   11.20 and 11.22
- -->>                               2466740859 63201280
- -->>                                 5B612A6E8A06F93C08E8156A378D4687

    PA-RISC
   Apache 1.3.26.01.00
               B9415AA   11.00 and 11.11
                                   2357077957 60272640 
                                     48321024D02B6DCE0D64B03F474CFAA4
**REVISED 04**
- -->> IPF
- -->>Apache 1.3.26.00.07 
- -->>           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:

       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.itrc.hp.com:~ftp/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@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.

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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

	http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for member emergencies.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPTbpoih9+71yA2DNAQGzlgP/WtcAgg42o0X8IGAdzyb137LLp9pT5Kmi
ojPO7g3jENZGQzjJY8n5mNpx41ZVO3gTsXIWma4QBXZN0bADq+1+KuncDuRzO+dg
2TcaRlbua0olk08ccdwxuJoZF3jZcag3UZzYg1J6rpgU45grblv/eTzlnoREa3kV
CkSCqO52jWE=
=PTNI
-----END PGP SIGNATURE-----