CVEvulnerability

CVE-2007-1700

7.5 HIGH Published 2007-03-27 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-03-27
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P

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.

Affected configurations

• php php 4.0 • php php 4.0.0 • php php 4.0.1 • php php 4.0.2 • php php 4.0.3 • php php 4.0.4 • php php 4.0.5 • php php 4.0.6 • php php 4.0.7 • php php 4.1.0 • php php 4.1.1 • php php 4.1.2 • php php 4.2 • php php 4.2.0 • php php 4.2.1 • php php 4.2.2 • php php 4.2.3 • php php 4.3.0 • php php 4.3.1 • php php 4.3.2 • php php 4.3.3 • php php 4.3.4 • php php 4.3.5 • php php 4.3.6 • php php 4.3.7 • php php 4.3.8 • php php 4.3.9 • php php 4.3.10 • php php 4.3.11 • php php 4.4.0 • php php 4.4.1 • php php 4.4.2 • php php 4.4.3 • php php 4.4.4 • php php 5.0 • php php 5.0.0 • php php 5.0.1 • php php 5.0.2 • php php 5.0.3 • php php 5.0.4 • php php 5.0.5 • php php 5.1.0 • php php 5.1.1 • php php 5.1.2 • php php 5.1.3 • php php 5.1.4 • php php 5.1.5 • php php 5.1.6 • php php 5.2.0

Related

Referenced by CWE · observed example (1)

  • CWE-911 Improper Update of Reference Count weakness

References