First published: Tue Mar 27 2007(Updated: )
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:".
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | >=4.0.0<4.4.5 | |
PHP | >=5.0.0<5.2.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-1701 has a high severity due to the potential for remote code execution.
To fix CVE-2007-1701, upgrade to PHP 4.4.5 or later, or PHP 5.2.1 or later.
CVE-2007-1701 affects PHP versions before 4.4.5 and 5.2.1 when register_globals is enabled.
CVE-2007-1701 exploits a deserialization flaw that allows attackers to overwrite global variables.
Yes, having register_globals enabled is a significant security risk related to CVE-2007-1701.