CVE-2007-1700
HIGH
7.5
CVSS 2.0
Description
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.
Affected products and versions
- PHP versions 4.0, 4.0.0, 4.0.1, 4.0.1patch1, 4.0.1patch2, 4.0.2, 4.0.3, 4.0.3patch1, 4.0.4, 4.0.4patch1, 4.0.5, 4.0.6, 4.0.7, 4.0.7rc1, 4.0.7rc2, 4.0.7rc3, 4.0beta1, 4.0beta2, 4.0beta3, 4.0beta4, 4.0beta_4_patch1, 4.0rc1, 4.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.3.11, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 5.0.0, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0rc1, 5.0rc2, 5.0rc3, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0
References
- h20000.www2.hp.com http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
- h20000.www2.hp.com http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
- secunia.com http://secunia.com/advisories/25056
- secunia.com http://secunia.com/advisories/25057
- secunia.com http://secunia.com/advisories/25062
- secunia.com http://secunia.com/advisories/25423
- secunia.com http://secunia.com/advisories/25445
- secunia.com http://secunia.com/advisories/25850
- security.gentoo.org http://security.gentoo.org/glsa/glsa-200705-19.xml
- www.debian.org http://www.debian.org/security/2007/dsa-1283
- www.novell.com http://www.novell.com/linux/security/advisories/2007_32_php.html
- www.php-security.org http://www.php-security.org/MOPB/MOPB-30-2007.html
- www.securityfocus.com http://www.securityfocus.com/bid/23119 Exploit
- www.ubuntu.com http://www.ubuntu.com/usn/usn-455-1
- www.vupen.com http://www.vupen.com/english/advisories/2007/1991
- www.vupen.com http://www.vupen.com/english/advisories/2007/2374
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/33520
- nvd.nist.gov Official NVD record