AUSCERT External Security Bulletin Redistribution

                Sec. Vulnerability in HP Apache Server PHP
                              13 August 2002


        AusCERT Security Bulletin Summary

Product:                HP Apache Server 1.3.x
                        HP Apache Server 2.x
Vendor:                 Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.20
                        HP-UX 11.11
                        HP-UX 11.00
Impact:                 Denial of Service
                        Execute Arbitrary Code/Commands
Access Required:        Remote

Ref:                    AL-2002.08

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

Document ID:  HPSBUX0208-207
Date Loaded:  20020807
      Title:  Sec. Vulnerability in HP Apache Server PHP

   Originally issued: 08 August 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:  The potential exists for a remotely exploitable 
          vulnerability in the portion of PHP code responsible for
          handling file uploads, specifically multipart/form-data.

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

DAMAGE:   Potential for increased privilege, denial of service, or
          execution of arbitrary code.

SOLUTION: Download new product bundles from

MANUAL ACTIONS: Install product bundle.

AVAILABILITY: The new product bundles are available now.

A. Background
    The CERT Advisory CA-2002-21 regarding PHP, affects the
    following HP products:

    B9415AA Apache 1.3.x  HP-UX releases 11.00 and 11.11
    B9416AA Apache 2.x    HP-UX releases 11.00 and 11.11
    B9415AA Apache 1.3.x  HP-UX releases 11.20 and 11.22
    B9416AA Apache 2.x    HP-UX releases 11.20 and 11.22
    B9416BA Apache 2.x    IPv6 HP-UX release 11.11

    Before updating, make sure to stop any previous HP Apache
    binary.  Otherwise, the previous binary will continue running,
    preventing the new one from automatically starting, although
    the installation would have been 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.


   Case id: SSRT2300 - HP Tru64 UNIX, HP OpenVMS, and Internet
                       Express V5.9

    o Secure Web Server for HP OpenVMS and HP Tru64 UNIX are not

    o Internet Express V5.9 contains PHP 4.1.2 which is not
      listed as vulnerable to this problem.  We also have provided
      an externally downloadable Secure Web Server 5.9.1 kit (with
      security fixes to Apache) that also contains PHP 4.1.2.

B. Fixing the problem

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

      The fixes for all versions are in the form of new product 
      bundles rather than patches.

      Fixes for the following versions can be downloaded from
      http://www.software.hp.com/ISS_products_list.html :
       hp apache-based web server v. 
         on hp-ux 11.0 and 11i (pa-risc) 

       hp apache-based web server v.
         on hp-ux 11i version 1.5 and 1.6 (ipf) 

       hp apache-based web server v. 
         on hp-ux 11.0 and 11i (pa-risc) 

       hp apache-based web server v. 
         on hp-ux 11i (pa-risc) for ipv6 

       hp apache-based web server v. 
         on hp-ux 11i version 1.5 and 1.6 (ipf) 

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 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 of Document ID:  HPSBUX0208-207--------------------------------------

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


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

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

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