Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-0908 EUVD-2007-0902GHSA-cp4j-q49w-68jf

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 variab…

Published Feb 13, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 3.1 php4 4:4.3.10-19 DSA-1264-1
ReleasePackageFixed inAdvisory
RHEL 5 php +18 5.1.6-7.el5 RHSA-2007:0082
RHEL 4 php +13 4.3.9-3.22.3 RHSA-2007:0076
RHEL 3 php +6 4.3.2-39.ent RHSA-2007:0076
RHEL 2 php +7 4.1.2-2.14 RHSA-2007:0081
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Stronghold 4 stronghold-php +8 4.1.2-12 RHSA-2007:0089
Red Hat Rhel Application Stack 1 php +18 5.1.6-3.el4s1.5 RHSA-2007:0088

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 6

References