Back
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…
High7.5EPSS 9.1%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 9.1% · top 4.7% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (17)
- ADV-2007-1991 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 25056 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1283 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- SSRT071423 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- GLSA-200705-19 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- http://www.php-security.org/MOPB/MOPB-30-2007.html (opens in a new tab)x_refsource_MISCx_transferred
- 23119 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- HPSBTU02232 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 25062 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-2374 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 25423 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-455-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 25850 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25445 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25057 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- php-session-extension-code-execution(33520) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- SUSE-SA:2007:032 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-1700)Record last updated .