PHP Calculation Error in init_request_info() May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1019958
|
|
SecurityTracker URL: http://securitytracker.com/id?1019958
|
|
CVE Reference: CVE-2008-0599
(Links to External Site)
|
Updated: Jun 11 2008
|
Original Entry Date: May 2 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: The vendor has issued a fixed version (5.2.6), available at:
http://www.php.net/downloads.php
|
Vendor URL: www.php.net/releases/5_2_6.php (Links to External Site)
|
Cause: State error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: Fri, 2 May 2008 09:03:46 -0400
Subject: PHP
|
http://www.php.net/ChangeLog-5.php
Security Fixes
* Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)
* Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser)
* Fixed security issue detailed in CVE-2008-0599. (Rasmus)
* Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. (Ilia)
* Upgraded PCRE to version 7.6 (Nuno)
|
|