CVE-2007-1700

Published Mar 27, 2007 CVSS 2.0 · 7.5 High EPSS 9.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1283-1 New php5 packages fix several vulnerabilities
EUVD EUVD EUVD-2007-1694 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.
Ubuntu USN Ubuntu USN USN-455-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 1:06 PM
Reserved
Mar 26, 2007, 12:00 AM
Status
Modified
Published
Mar 27, 2007, 1:19 AM
Modified
Jun 16, 2026, 10:38 PM