Description
The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions allows context-specific attackers to obtain sensitive information (memory contents) and cause a PHP crash by using the ini_set function to declare a variable, then using the ini_restore function to restore the variable.
Metrics
CVSS 2.0 6.4/10
AV:N/AC:L/Au:N/C:P/I:N/A:PAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605Patch
- http://secunia.com/advisories/37482Vendor Advisory
- http://securityreason.com/achievement_securityalert/65Exploit
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156
- http://www.debian.org/security/2009/dsa-1940Patch
- http://www.securityfocus.com/bid/36009
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605Patch
- http://secunia.com/advisories/37482Vendor Advisory
- http://securityreason.com/achievement_securityalert/65Exploit
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156
- http://www.debian.org/security/2009/dsa-1940Patch
- http://www.securityfocus.com/bid/36009
Timeline
- Published
- Dec 1, 2009
- Last modified
- Jun 16, 2026
- NVD status
- Modified