Vulnerability in PHP
CVE-2009-2626
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.083, 95.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 1.0, 2.0, 2.0b10
References
- secunia.com/advisories/37482 (third-party-advisory, Vendor Advisory)
- DSA-1940 (vendor-advisory, Patch)
- bugs.debian.org/cgi-bin/bugreport.cgi (Patch)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c
- www.securityfocus.com/bid/36009 (vdb-entry)
- 20090806 PHP 5.2.10/5.3.0 (zend_ini.c) Memory Disclosure (Exploit, third-party-advisory)