CWE
20
Advisory Published
Updated

CVE-2007-0908: Input Validation

First published: Tue Feb 13 2007(Updated: )

The WDDX deserializer in the wddx extension in PHP 5 before 5.2.1 and PHP 4 before 4.4.5 does not properly initialize the key_length variable for a numerical key, which allows context-dependent attackers to read stack memory via a wddxPacket element that contains a variable with a string name before a numerical variable.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP>=4.0.0<4.4.5
PHP>=5.0.0<5.2.1
PHP=4.0
PHP=4.0-beta_4_patch1
PHP=4.0-beta1
PHP=4.0-beta2
PHP=4.0-beta3
PHP=4.0-beta4
PHP=4.0-rc1
PHP=4.0-rc2
Ubuntu Linux=5.10
Ubuntu Linux=6.06
Ubuntu Linux=6.10
Ubuntu=6.06
Ubuntu=6.10
Ubuntu=5.10

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.

Reference Links

Frequently Asked Questions

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

    CVE-2007-0908 has been classified as a vulnerability that can lead to information disclosure.

  • How do I fix CVE-2007-0908?

    To resolve CVE-2007-0908, upgrade PHP to version 5.2.1 or later, or 4.4.5 or later.

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

    CVE-2007-0908 affects PHP versions 4.0 through 4.4.4 and 5.0 through 5.2.0.

  • What types of attacks can exploit CVE-2007-0908?

    Attackers can exploit CVE-2007-0908 to read sensitive stack memory.

  • Is CVE-2007-0908 related to WDDX functionality in PHP?

    Yes, CVE-2007-0908 specifically involves a vulnerability in the WDDX deserializer in PHP.

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