Vulnerability in PHP
CVE-2007-1700
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference count for the session variables without considering the internal pointer from the session globals, which allows context-dependent attackers to execute arbitrary code via a crafted string in the session_register after unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.091, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 4.0, 4.0.0, 4.0.1
References
- ADV-2007-1991 (vdb-entry)
- secunia.com/advisories/25056 (third-party-advisory)
- DSA-1283 (vendor-advisory)
- SSRT071423 (vendor-advisory)
- GLSA-200705-19 (vendor-advisory)
- www.php-security.org/MOPB/MOPB-30-2007.html
- www.securityfocus.com/bid/23119 (Exploit, vdb-entry)
- HPSBTU02232 (vendor-advisory)
- secunia.com/advisories/25062 (third-party-advisory)
- ADV-2007-2374 (vdb-entry)