Hewlett-Packard Company Information for VU#757612

Apache Portable Runtime contains heap buffer overflow in apr_psprintf()

Status

Affected

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Vendor References

None

Addendum

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

-----------------------------------------------------------------
**REVISED 01**
Source: HEWLETT-PACKARD COMPANY
SECURITY BULLETIN: HPSBUX0307-269
Originally issued: 16 July 2003
Last Revised: 03 Sept. 2003
SSRT3587 Security Vulnerabilities in Apache HTTP Server (rev.1)

-----------------------------------------------------------------

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: 1. Apache 2.0.40 through 2.0.45 do not properly handle

threads correctly, potentially allowing a remote
denial of service.


More details are available at:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0189


2. A defect in Apache 2.0.37 through 2.0.45 potentially
allows a remote denial of service.


More details are available at:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0245


IMPACT: Potential remote Denial of Service

PLATFORM: HP-UX releases B.11.00, B.11.11 and B.11.22 with
versions of the following products are affected:


- HPApache/B9416AA and HPApache/B9416BA (all versions)

- hp-ux apache-based web server, (product hpuxwsAPACHE or
hpuxwsApache) v.1.0.05.01 or earlier
This product includes Apache 2.0.45.


- hp apache-based web server, 2.0.43.04 or earlier
(HPApache/B9416AA, HPApache/B9416BA)
This product includes Apache 2.0.43.


- hp-ux apache-based web server, v.1.0.05.01 or earlier
(hpuxwsAPACHE/hpuxwsApache)
This product includes Apache 2.0.45.


AFFECTED FILESETS:
The affected filesets are: (product.fileset)
HPApache.APACHE2       2.0.39.01.02   HP Apache 2.0.39
hpuxwsAPACHE.APACHE2   A.1.0.05.01    2.0.45 base (IPF Binaries)


SOLUTION: For HP-UX releases B.11.00, B.11.11 and B.11.22:
1. Remove HPApache/B9416AA and HPApache/B9416BA if they

are installed.

2. Download and install:
hp-ux apache-based web server, v.1.0.06.01 or later
(product hpuxwsAPACHE or bundle hpuxwsApache)


NOTE: The product install location and structure has changed
between HPApache/B9416*A and hpuxwsAPACHE/hpuxwsApache.


This product includes Apache 2.0.46 and is available
from:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/
cgi/displayProductInfo.pl?productNumber=HPUXWSSUITE


**REVISED 01**

--->> NOTE: The IPv6 solution is now available.  Please refer to
--->> documentation and depot's available from software.hp.com
--->> Click on "internet ready and networking"
--->> and look for "hp-ux apache-based web server
--->> v.1.0.07.01 for ipv6 powered by apache, tomcat, webmin.


MANUAL ACTIONS: Yes - Update
Install the product containing the fix.
For customers with HPApache/B9416AA or
HPApache/B9416BA installed, the fix requires
migration to hpuxwsAPACHE/hpuxwsApache and
removing the affected products from the system.


AVAILABILITY: Complete product bundles are available now on
<http://www.software.hp.com/>


**REVISED 01**
CHANGE SUMMARY:  Rev. 01 Added IPv6 information

-----------------------------------------------------------------
A. Background

The Common Vulnerabilities and Exposures project
<http://cve.mitre.org/> has identified potential vulnerabilities

in the Apache HTTP Server (CAN-2003-0189, CAN-2003-0245). These
affect the following HP products on HP-UX releases B.11.00,
B.11.11 and B.11.22:


- HPApache/B9416AA and HPApache/B9416BA (all versions)

- hp-ux apache-based web server products hpuxwsAPACHE and
hpuxwsApache, v.1.0.05.01 or earlier.


Note: The following are not vulnerable:
HP OpenVMS
HP NonStop Servers
HP Tru64 UNIX
HP Tru64 OpenVMS


**REVISED 01**
B. Recommended solution

The Apache Software Foundation has released Apache 2.0.46 as
the best known version fixing the potential vulnerabilities
mentioned above.


HP has incorporated Apache 2.0.46 in the following product:

- hp-ux apache-based web server v.1.0.06.01 or later,
available from:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/

displayProductInfo.pl?productNumber=HPUXWSSUITE

**REVISED 01**

--->> NOTE: The IPv6 solution is now available.  Please refer to
--->> documentation and depot's available from software.hp.com
--->> Click on "internet ready and networking"
--->> and look for "hp-ux apache-based web server
--->> v.1.0.07.01 for ipv6 powered by apache, tomcat, webmin.


Check for Apache Installation
-----------------------------
To determine if the Apache web server from HP is installed on
your system, use Software Distributor's swlist command.  More
than one version may be present on a single system.


For example, the results of the command
swlist -l product | grep -i apache


HPApache      2.0.39.01.02  HP Apache-based Web Server
hpuxwsAPACHE  A.1.0.05.01   HP-UX 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 HPApache:        /opt/hpapache2/bin/apachectl stop
for hpuxwsAPACHE:    /opt/hpws/apache/bin/apachectl stop


Download and Install Apache
-----------------------------
- Download Apache from Software Depot using the previously

mentioned links.
- Verify successful download by comparing the cksum with the

value specified on the installation web page.
- Use SD to swinstall the depot.
- For customers with HPApache/B9416AA or HPApache/B9416BA

installed, migrate to hpuxwsAPACHE/hpuxwsApache and
remove the affected products from the system.


Installation of this new version of HP Apache over an existing
HP Apache installation is supported, whereas installation over
a non-HP Apache is NOT supported.


Removing Apache Installation
----------------------------
If you prefer to remove Apache from your system rather than
install 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
hpapache2conf
hpws_apacheconf


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.


NOTE: Using your itrc account security bulletins can be
found here:

http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin


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.  Please note that installing the patches
listed in the Security Patch Matrix will completely
implement a security bulletin _only_ if the MANUAL ACTIONS
field specifies "No."


The Security Patch Check tool can verify that a security
bulletin has been implemented on HP-UX 11.XX systems providing
that the fix is completely implemented in a patch with no
manual actions required.  The Security Patch Check tool cannot
verify fixes implemented via a product upgrade.


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://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

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


The PGP key used to sign this bulletin is available from
several PGP Public Key servers.  The key identification
information is:


2D2A7D59
HP Security Response Team (Security Bulletin signing only)
<security-alert@hp.com>
Fingerprint =

6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

If you have problems locating the key please write to
security-alert@hp.com.  Please note that this key is
for signing bulletins only and is not the key returned
by sending 'get key' to security-alert@hp.com.



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.


-----------------------------------------------------------------

(c)Copyright 2003 Hewlett-Packard Company
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
in this document is subject to change without notice.
Hewlett-Packard Company and the names of HP products referenced
herein are trademarks and/or service marks of Hewlett-Packard
Company.  Other product and company names mentioned herein may be
trademarks and/or service marks of their respective owners.

________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBP1aDh+AfOvwtKn1ZEQJmzACfZrjvmmLzqad9zcqBuSODoOCRZgcAnjrk
XXbH3osXpcYLdh+aR9ySN/PK
=CY+y
-----END PGP SIGNATURE-----

If you have feedback, comments, or additional information about this vulnerability, please send us email.