SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   PHP Vendors:   PHP Group
(HP Issues Fix) PHP Calculation Error in init_request_info() May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1020242
SecurityTracker URL:  http://securitytracker.com/id/1020242
CVE Reference:   CVE-2008-0599   (Links to External Site)
Date:  Jun 11 2008
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 5.2.6
Description:   A vulnerability was reported in PHP. A remote user may be able to execute arbitrary code on the target system.

The init_request_info() function in 'sapi/cgi/cgi_main.c' incorrectly calculates the length of PATH_TRANSLATED. A remote user may be able to submit a specially crafted URL to execute arbitrary code on the target system.

Ryan Permeh reported this vulnerability.

Impact:   A remote user may be able to execute arbitrary code on the target system.
Solution:   HP has released a fix.

The HP advisory is available at:

h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437

Vendor URL:  www.php.net/releases/5_2_6.php (Links to External Site)
Cause:   State error
Underlying OS:   UNIX (HP/UX)

Message History:   This archive entry is a follow-up to the message listed below.
May 2 2008 PHP Calculation Error in init_request_info() May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Date:  Wed, 11 Jun 2008 05:42:49 -0700
Subject:  [security bulletin] HPSBUX02342 SSRT080063 rev.1 - HP-UX Running Apache or Tomcat with PHP, Remote Execution of Arbitrary


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

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.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBSE+6duAfOvwtKn1ZEQKtSwCg9tKE05AIaWdi4xnGn5vA/5ZnY0cAoPn4
K5kT0nFJzklvkletQhjErOxs
=WdJE
-----END PGP SIGNATURE-----

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC