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

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

                         ESB-2008.0605 -- [HP-UX]
HP-UX Running Apache or Tomcat with PHP, Remote Execution of Arbitrary Code
                               12 June 2008

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

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

Product:              Apache 
                      Tomcat 
                      PHP
Publisher:            Hewlett-Packard
Operating System:     HP-UX
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-0599

Ref:                  AA-2008.0101

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

SUPPORT COMMUNICATION - SECURITY BULLETIN

Document ID: c01476437
Version: 1

HPSBUX02342 SSRT080063 rev.1 - HP-UX Running Apache or Tomcat with PHP, 
Remote Execution of Arbitrary Code

NOTICE: The information in this Security Bulletin should be acted upon as 
soon as possible.

Release Date: 2008-06-10
Last Updated: 2008-06-10

Potential Security Impact: Remote execution of arbitrary code.

Source: Hewlett-Packard Company, HP Software Security Response Team

VULNERABILITY SUMMARY
A potential security vulnerability has been identified with HP-UX running 
Apache with PHP. This vulnerability could be exploited remotely to execute 
arbitrary code.

References: CVE-2008-0599

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
HP-UX B.11.11, B.11.23, B.11.31 running Apache or Tomcat with PHP v5.2.5 or 
earlier.

BACKGROUND

CVSS 2.0 Base Metrics 
===============================================
Reference                         Base Vector               Base Score 
CVE-2008-0599      (AV:N/AC:L/Au:N/C:C/I:C/A:C)      10.0
===============================================
Information on CVSS is documented in HP Customer Notice: HPSN-2008-002.
 

RESOLUTION

HP has provided the following software updates to resolve the
 vulnerabilities. 

Note: Apache v2.19 or subsequent includes PHP v5.2.6 or subsequent. Tomcat 
v5.5.23.01.1 or subsequent includes PHP v5.2.6 or subsequent. 

The updates are available for download from: 

ftp://srt80063:srt80063@hprc.external.hp.com 

HP-UX Release                Apache Depot name                    MD5 Sum 
==========================================================================
B.11.11 (IPv4 and IPv6)   HPUXWSA-B219-02-1111ipv6.depot   24f4180fddf1f07cd29bff1b2e658ca6
B.11.23 PA-32             HPUXWSA-B219-02-1123-32.depot    6deb7bb01a580427523c9f80cec36774
B.11.23 IA-64             HPUXWSA-B219-02-1123-64.depot    38419a29e5076b62084cd3f1a135a9ce
B.11.31 PA-32             HPUXWSA-B219-02-1131-32.depot    d84daf07600e98353ca54b723ccbf8f6
B.11.31 IA-64             HPUXWSA-B219-02-1131-64.depot    7393c2113abbc1815539050d47f1f66a

HP-UX Release                 Tomcat Depot name                   MD5 Sum
==========================================================================
B.11.11 (IPv4 and IPv6)    HPUXWST-B219-02-1111.depot        1aa4fb8ff8f76a758931f7ef1d4a7a3e 
B.11.23                    HPUXWST-B219-02-1123.depot        6b895448c41c75645e24eb4ad2ef3f3b
B.11.31                    HPUXWST-B219-02-1131.depot        f78d4925ad879d09773c955f393d40cb 
 

MANUAL ACTIONS: Yes - Update plus other actions 
Install Apache v2.19 or subsequent which includes PHP v5.2.6 or subsequent 
Install Tomcat v5.5.23.01.1 or subsequent which includes PHP v5.2.6 or 
subsequent 

PRODUCT SPECIFIC INFORMATION 

HP-UX Software Assistant: HP-UX Software Assistant is an enhanced 
application that replaces HP-UX Security Patch Check. It analyzes all 
Security Bulletins issued by HP and lists recommended actions that may 
apply to a specific HP-UX system. It can also download patches and create 
a depot automatically. For more information see: https://www.hp.com/go/swa 

The following text is for use by the HP-UX Software Assistant. 

AFFECTED VERSIONS 

For Apache IPv4 and IPv6 
HP-UX B.11.11 
============= 

hpuxwsAPACHE.PHP 
hpuxwsAPACHE.PHP2 
action: install revision B.2.0.59.04.02 or subsequent and restart Apache 
URL: ftp://srt80063:srt80063@hprc.external.hp.com 

HP-UX B.11.23 
============= 
hpuxwsAPCH32.PHP 
hpuxwsAPCH32.PHP2 
hpuxwsAPACHE.PHP 
hpuxwsAPACHE.PHP2 
action: install revision B.2.0.59.04.02 or subsequent and restart Apache 
URL: ftp://srt80063:srt80063@hprc.external.hp.com 

HP-UX B.11.31 
============= 
hpuxwsAPCH32.PHP 
hpuxwsAPCH32.PHP2 
hpuxwsAPACHE.PHP 
hpuxwsAPACHE.PHP2 
action: install revision B.2.0.59.04.02 or subsequent and restart Apache 
URL: ftp://srt80063:srt80063@hprc.external.hp.com 


For Tomcat IPv4 and IPv6 
HP-UX B.11.11 
============= 
hpuxwsTOMCAT 
hpuxwsTOMCAT.TOMCAT 
action: install revision A.5.5.23.01.1 or subsequent and restart Tomcat 
URL: ftp://srt80063:srt80063@hprc.external.hp.com 

HP-UX B.11.23 
============= 
hpuxwsTOMCAT 
hpuxwsTOMCAT.TOMCAT 
action: install revision B.5.5.23.01.1 or subsequent and restart Tomcat 
URL: ftp://srt80063:srt80063@hprc.external.hp.com 

HP-UX B.11.31 
============= 
hpuxwsTOMCAT 
hpuxwsTOMCAT.TOMCAT 
action: install revision B.5.5.23.01.1 or subsequent and restart Tomcat 
URL: ftp://srt80063:srt80063@hprc.external.hp.com 

END AFFECTED VERSIONS 

HISTORY 
Version:1 (rev.1) - 10 June 2008 Initial release 

Third Party Security Patches: Third party security patches that are to be 
installed on systems running HP software products should be applied in 
accordance with the customer's patch management policy. 



Support: For further information, contact normal HP Services support 
channel.

Report: To report a potential security vulnerability with any HP supported 
product, send Email to: security-alert@hp.com 
It is strongly recommended that security related information being 
communicated to HP be encrypted using PGP, especially exploit information. 
To get the security-alert PGP key, please send an e-mail message as follows:
  To: security-alert@hp.com 
  Subject: get key

Subscribe: To initiate a subscription to receive future HP Security 
Bulletins via Email: 
http://h30046.www3.hp.com/driverAlertProfile.php?regioncode=NA&langcode=USENG&jumpid=in_SC-GEN__driverITRC&topiccode=ITRC 
On the web page: ITRC security bulletins and patch sign-up 
Under Step1: your ITRC security bulletins and patches 
  - check ALL categories for which alerts are required and continue.
Under Step2: your ITRC operating systems 
  - verify your operating system selections are checked and save.


To update an existing subscription: http://h30046.www3.hp.com/subSignIn.php 
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.


To review previously published Security Bulletins visit: 
http://www.itrc.hp.com/service/cki/secBullArchive.do 


* The Software Product Category that this Security Bulletin relates to is 
represented by the 5th and 6th characters of the Bulletin number in the 
title: 

GN = HP General SW
MA = HP Management Agents
MI = Misc. 3rd Party SW
MP = HP MPE/iX
NS = HP NonStop Servers
OV = HP OpenVMS
PI = HP Printing & Imaging
ST = HP Storage SW
TL = HP Trusted Linux
TU = HP Tru64 UNIX
UX = HP-UX
VV = HP VirtualVault

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

©Copyright 2008 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.

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

NOTE: Third Party Rights
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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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 author's website 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/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

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

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBSFBo8Ch9+71yA2DNAQJ+ggP+ICCHJxdZ6Lre1oNfGH8YNtUddFwuXtRa
JzBoq+l3WRWzokW66VE48Q/4Eczuv2LY/aAPJBjzG6HhdSfWAkNdENr+WKdFs5gf
acosHct6ukNkXWetLEXjJ2TKqLmc56lNZwkfciUX2lNUpQFnTvEsp2Mt+Tpyv4CZ
ODm1pmS3+IU=
=RiUp
-----END PGP SIGNATURE-----