copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

AU-2007.0017 -- AusCERT Update - [Win][UNIX/Linux] - PHP 5.2.3 still vulnerable to chunk_split heap overflow vulnerability

Date: 06 June 2007
References: AA-2007.0039  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AusCERT Update AU-2007.0017 - [Win][UNIX/Linux]
PHP 5.2.3 still vulnerable to chunk_split heap overflow vulnerability
6 June 2007

        AusCERT Update Summary
        ----------------------

Product:              PHP 5.2.3 and prior
Operating System:     Windows
                      UNIX variants (UNIX, Linux, OSX)
Impact:               Execute Arbitrary Code/Commands
Access:               Existing Account
CVE Names:            CVE-2007-2872
Member content until: Wednesday, July 04 2007

Ref:                  AA-2007.0039


OVERVIEW:

	The chunk_split() heap overflow vulnerability described in AA-2007.0039 
	was not properly fixed in the recent 5.2.3 PHP release - the code 
	change did not remove the vulnerability. [2]

	All current released PHP versions including 5.2.3 remain vulnerable to 
	this issue.


IMPACT:

	An attacker who is able to run arbitrary PHP code (e.g. on a shared
	hosting server) may execute arbitrary code on the server with the 
	privileges of the web server process. 

	In most cases this vulnerability will not be exploitable remotely
	through a web application. [1]


MITIGATION: 

	Corrected patches for this vulnerability have now been committed to CVS 
	but are not yet incorporated in a PHP release. [3][4]
	

REFERENCES: 

	[1] AusCERT Advisory AA-2007.0039
	    https://www.auscert.org.au/7669

	[2] Stefan Esser blog posting
	    http://blog.php-security.org/archives/86-Chunk_split-Overflow-not-fixed-at-all....html

	[3] Corrected CVS patch for PHP 5.2.x
	    http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.57&r2=1.445.2.14.2.59&view=patch

	[4] Corrected CVS patch for PHP 4.4.x
	    http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.333.2.52.2.13&r2=1.333.2.52.2.15&view=patch


AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. 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.

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

iQCVAwUBRmZW3Sh9+71yA2DNAQJBKgP/YJeSfOrKvzBuvhE55rhLKD1RzUzB5o2R
4Xvj4f5MyYH3SMyyigRAh9Y4IAduwWZxSxajLviLcKZBu/0Pi5xZekkJutX5AlwT
XCS6hafIfX51c/e2NNtzGR8bzq2QEZlyRRPoC4+/Ku0G1pZLDdD6tRoM4V9mETqY
ev6qGWZIitY=
=o/Cx
-----END PGP SIGNATURE-----