All vulnerabilities

Servers and applications

CVE-2007-1701

PHP 4 before 4.4.5, and PHP 5 before 5.2.1, when register_globals is enabled, allows context-dependent attackers to execute arbitrary code via deserialization of session data, which overwrites arbitrary global variables, as demonstrated by calling session_decode on a string beginning with "_SESSION|s:39:".

Severity
Medium 6.8
Published
27 Mar 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
4.4.5, 5.2.1
Exploit chance
9.4% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 4.0.0 before 4.4.5
  • From 5.0.0 before 5.2.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-1701
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-1701