PHP Suhosin Extension Transparent Cookie Encryption Buffer Overflow Vulnerability


Description   A vulnerability has been reported in the Suhosin extension for PHP, which can be exploited by malicious people to compromise a vulnerable system.
The vulnerability is caused due to a boundary error within the transparent cookie encryption. If cookie encryption is enabled (disabled by default), this can be exploited to cause a stack-based buffer overflow by e.g. sending specially crafted input to an affected script.
Successful exploitation may allow execution of arbitrary code, but e.g. requires an application to pass untrusted input to the "header()" function when setting a cookie and a weak Suhosin configuration (e.g. multiheader option enabled and NULL-byte protection disabled, both not default).
The vulnerability is reported in versions prior to 0.9.33.
     
Vulnerable Products   Vulnerable Software:
Suhosin (extension for PHP) 0.x
     
Solution   Update to version 0.9.33.
     
CVE   CVE-2012-0807
     
References   http://archives.neohapsis.com/archives/fulldisclosure/2012-01/0296.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
Possible buffer overflow in HTTP request/reply
3.2.0
     


 
 
 
 
 Risk level 
Low 

 Vulnerability First Public Report Date 
2012-01-25 

 Target Type 
Server 

 Possible exploit 
Remote