{"id":"CVE-2007-1700","url":"https://www.cyber-defence.io/tools/cve/CVE-2007-1700","generatedAt":"2026-10-27T19:38:39.432Z","title":"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…","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.","published":"2007-03-27T01:19:00.000Z","lastModified":"2026-06-16T22:38:08.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":7.5,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P"},"cwe":[],"affected":["php/php"],"epss":{"score":0.09145,"percentile":0.95283,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2007-03-25","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":3571,"kind":"exploit","title":"PHP < 4.4.5/5.2.1 - '_SESSION unset()' Local Overflow","url":"https://www.exploit-db.com/exploits/3571","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/3571.php","file":"exploits/linux/local/3571.php","published":"2007-03-25","added":"2007-03-24","updated":"2017-11-22","author":"Stefan Esser","type":"local","platform":"linux","port":null,"verified":true,"codes":["OSVDB-33944","CVE-2007-1700"],"tags":null,"aliases":null,"applicationUrl":"http://www.exploit-db.comphp-4.4.3.tar.gz","screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"A public exploit is published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 9.1%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","source":"cve@mitre.org"},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25056","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25057","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25062","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25423","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25445","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25850","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2007/dsa-1283","source":"cve@mitre.org"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","source":"cve@mitre.org"},{"url":"http://www.php-security.org/MOPB/MOPB-30-2007.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/23119","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.ubuntu.com/usn/usn-455-1","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2007/1991","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2007/2374","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33520","source":"cve@mitre.org"},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25056","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25057","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25062","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25423","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25445","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25850","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2007/dsa-1283","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php-security.org/MOPB/MOPB-30-2007.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/23119","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/usn-455-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/1991","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/2374","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33520","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-1700","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}