CVE-2007-1700

published 27 Mar 2007 · updated 7 Aug 2024

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…

6.0MediumEPSS 9%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 9%. No fixed version is recorded.

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.

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2007-1700 severity on Zeptric[![CVE-2007-1700](https://zeptric.io/badge/cve/CVE-2007-1700.svg)](https://zeptric.io/cve/CVE-2007-1700)