SSRT2393 rev.2 HP-UX Apache Vulnerabilities

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hash: SHA1

- -----------------------------------------------------------------
**REVISED 02**
  Originally issued: 30 Oct 2002
  Last revision: 30 June 2004
  SSRT2393 rev.2 HP-UX Apache Vulnerabilities

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:  Potential vulnerability regarding ownership permissions
          of System V shared memory based scoreboards.
          (CERT VU#825353, CVE CAN-2002-0839)

          Potential cross-site scripting vulnerability in the
          default error page when using wildcard DNS.
          (CERT VU#240329, CVE CAN-2002-0840)

          Potential overflows in ab.c which could be exploited by
          a malicious server.
          (CERT VU#858881, CVE CAN-2002-0843)

          Exposure of CGI source when a POST request is sent
          to a location where both DAV and CGI are enabled.
          (CERT VU#91071, CVE CAN-2002-1156)

IMPACT:   Potential for increased privilege, denial of service
          (DoS), or execution of arbitrary code.

**REVISED 02**
PLATFORM: HP-UX B.11.00, B.11.11, B.11.20, and B.11.22 running the
          ApacheStrong or HPApache HP-UX Apache-based Web Servers.

          HP-UX B.11.04 running Virtualvault 4.5,
                                Virtualvault 4.6.

          HP-UX and Solaris running OV-NNM6.2.

SOLUTION: For HP-UX releases B.11.00, B.11.11, B.11.20,
          and B.11.22 download new HP Apache product from
          < .

          For HP-UX release B.11.04 install the appropriate

          PHSS_28111  s700_800 11.04 Virtualvault 4.5 IWS Update
          PHSS_28098  s700_800 11.04 Virtualvault 4.5 OWS update
          PHSS_28090  s700_800 11.04 Virtualvault 4.6 IWS update
          PHSS_28099  s700_800 11.04 Virtualvault 4.6 OWS update

          For OV-NNM6.2 install the appropriate patch:

          PHSS_28704 HP-UX 10.20
          PHSS_28705 HP-UX 11.00, 11.11
          PSOV_03251 Solaris 2.5/6/7/8

                Install the product containing the fix.
                B.11.04 - No manual actions.
                OV-NNM6.2 - No manual actions.

AVAILABILITY: Complete product bundles are available from
              < for non-VirtualVault
              For B.11.04, retrieve patches from <>.
              For OV-NNM6.2, retrieve patches from <>.

CHANGE SUMMARY: Rev.1 Added VV 4.5, 4.6 and OV-NNM6.2.
                Rev.2 Added affected versions section
                      Note: Several Apache security bulletins
                      are being revised to correct the affected
                      versions specification.


**REVISED 02**
A. Background
   The potential vulnerabilities have been reported here:


     Note: To determine if a system has an affected version,
           search the output of "swlist -a revision -l fileset"
           for an affected fileset.  Then determine if the
           recommended patch or update is installed.

      HP-UX B.11.00
      HP-UX B.11.11
      HP-UX B.11.20
      HP-UX B.11.22
      For B9415AA
 -->  action: install revision or subsequent

      For B9416AA and B9416BA (IPv6)
 -->  action: install revision or subsequent

      HP-UX B.11.04 VirtualVault 4.5
 -->  action: install PHSS_28111, PHSS_28098 or subsequent

      HP-UX B.11.04 VirtualVault 4.6
 -->  action: install PHSS_28090, PHSS_28099 or subsequent

      For OV-NNM6.2:
      HP-UX B.11.00
      HP-UX B.11.11
 -->  action: install PHSS_28705 or subsequent

      For OV-NNM6.2:
      HP-UX B.10.20
 -->  action: install PHSS_28704 or subsequent


 B. Fixing the problem

   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

     ApacheStrong     HP Apache-based Web Server
                                 with Strong (128bit) Encryption
     HPApache  HP 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 ApacheStrong:    /opt/apache/bin/apachectl stop
     for HPApache:        /opt/hpapache2/bin/apachectl stop

   Download and Install Apache
   - Download Apache from Software Depot:
   - Verify successful download by comparing the cksum with the
     value specified on the installation web page.
   - Use SD to swinstall the depot.

   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 prefer to remove Apache from your system instead of
   installing 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

   For customers with HP-UX release B.11.04 (VVOS), stop Apache
   (as above), and install the patches listed above.

* The software product category that this Security Bulletin
 relates to is represented by the 5th and 6th characters of the
 Bulletin number: GN=General, MA=Management Agents, MI=Misc.
 3rd party, MP=HP-MPE/iX, NS=HP NonStop Servers, OV=HP OpenVMS,
 PI=HP Printing & Imaging, ST=HP Storage, TU=HP Tru64 UNIX,
 TL=Trusted Linux, UX=HP-UX, VV=Virtual Vault

SUPPORT: For further information, contact HP Services support

SUBSCRIBE: To initiate a subscription to receive future HP
Security Bulletins via Email:
On the web page:
Driver and Support Alerts/Notifications Sign-up: Product Selection
Under Step1: your products
1. Select product category:
   - a minimum of servers must be selected.
2. Select product family or search:
   - a minimum of one product must be selected.
3. Add a product:
   - a minimum of one product must be added.
In Step 2: your operating system(s)
   - check ALL operating systems for which alerts are required.
Complete the form and Save.

To update an existing subscription:
Log in on the web page Subscriber's choice for Business: sign-in.
On the Web page: Subscriber's Choice: your profile summary
- - use Edit Profile to update appropriate sections.

Note: In addition to the individual alerts/notifications for the
selected operating systems/products, subscribers will
automatically receive one copy of alerts for non-operating system
categories (i.e., a subscriber who signs up for all six operating
system alerts will only receive one copy of all the non-operating
system alerts).

To review previously published Security Bulletins for HP-UX:

Security Patch Check revision B.02.00 analyzes all HP-issued
security bulletins to give you a subset of recommended actions
that potentially affect your particular HP-UX system.
For more information:
< />

REPORT: To report a potential security vulnerability with any HP
supported product, send Email to: It is
strongly recommended that security related information being
communicated to HP be encrypted using PGP, especially exploit
information. To obtain the security-alert PGP key please send an
e-mail message to with the Subject of
'get key' (no quotes).

System management and security procedures must be reviewed
frequently to maintain system integrity. HP is continually
reviewing and enhancing the security features of software products
to provide customers with current secure solutions.

"HP is broadly distributing this Security Bulletin in order to
bring to the attention of users of the affected HP products the
important security information contained in this Bulletin. HP
recommends that all users determine the applicability of this
information to their individual situations and take appropriate
action. HP does not warrant that this information is necessarily
accurate or complete for all user situations and, consequently,
HP will not be responsible for any damages resulting from user's
use or disregard of the information provided in this Bulletin.
To the extent permitted by law, HP disclaims all warranties,
either express or implied, including the warranties of
merchantability and fitness for a particular purpose, title
and non-infringement."

(c)Copyright 2004 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
provided is provided "as is" without warranty of any kind. To the
extent permitted by law, neither HP or its affiliates,
subcontractors or suppliers will be liable for incidental, special
or consequential damages including downtime cost; lost profits;
damages relating to the procurement of substitute products or
services; or damages for loss of data, or software restoration.
The information in this document is subject to change without
notice. Hewlett-Packard Company and the names of Hewlett-Packard
products referenced herein are trademarks of Hewlett-Packard
Company in the United States and other countries. Other product
and company names mentioned herein may be trademarks of their
respective owners.

Version: PGP 8.0.2


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


Site Timeline