CWE
502
Advisory Published
Updated

CVE-2007-1701

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 SoftwareAffected VersionHow to fix
PHP>=4.0.0<4.4.5
PHP>=5.0.0<5.2.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-1701?

    CVE-2007-1701 has a high severity due to the potential for remote code execution.

  • How do I fix CVE-2007-1701?

    To fix CVE-2007-1701, upgrade to PHP 4.4.5 or later, or PHP 5.2.1 or later.

  • Which versions of PHP are affected by CVE-2007-1701?

    CVE-2007-1701 affects PHP versions before 4.4.5 and 5.2.1 when register_globals is enabled.

  • What vulnerability does CVE-2007-1701 exploit?

    CVE-2007-1701 exploits a deserialization flaw that allows attackers to overwrite global variables.

  • Is register_globals a security risk related to CVE-2007-1701?

    Yes, having register_globals enabled is a significant security risk related to CVE-2007-1701.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203