CVE-2007-1700

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
9.145%
chance of exploitation in the next 30 days
higher than 95.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Timeline

  1. 2007-03-25First Exploit-DB entry (EDB-ID 3571)2 days before publication
  2. 2007-03-27Published by the CNA01:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 3571locallinux2007-03-25yes

Affected products

VendorProduct
phpphp

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources