CVE-2016-9935

The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.29 and 7.x before 7.0.14 allows remote attackers to cause a denial of service…

published January 4, 2017

CVSS
—
EPSS
7%
Percentile
94.1
In the wild
Unconfirmed
What it is

⚠️ A sneaky empty boolean element in a wddxPacket XML can lead to memory corruption. This vulnerability in PHP before versions 5.6.29 and 7.0.14 is a classic case of a harmless-looking mistake turning into chaos! Imagine a restaurant that serves meals based on orders — if an order comes in with nothing on it, the kitchen might get confused and spill ingredients everywhere, causing a big mess. That's what happens here: the empty element causes the PHP engine to misbehave, leading to potential crashes! This vulnerability could allow remote attackers to trigger a denial of service by corrupting memory, causing the server to become unstable or crash. While the immediate effects might not be fully clear, a server that’s down can lead to unhappy users and lost revenue!

Put simply

Imagine a restaurant that serves meals based on orders — if an order comes in with nothing on it, the kitchen might get confused and spill ingredients everywhere, causing a big mess. That's what happens here: the empty element causes the PHP engine to misbehave, leading to potential crashes! The vulnerability arises from the php_wddx_push_element function failing to properly handle empty boolean elements in a wddxPacket XML document, leading to out-of-bounds reads and potential memory corruption.

What to do

This vulnerability could allow remote attackers to trigger a denial of service by corrupting memory, causing the server to become unstable or crash. While the immediate effects might not be fully clear, a server that’s down can lead to unhappy users and lost revenue! Upgrade your PHP version to at least 5.6.29 or 7.0.14 to ensure you have the fix. Regularly audit your code for any potential misuse of wddxPacket handling, and keep your environment up to date to avoid similar issues in the future. You've got this! By updating and staying vigilant, you're on your way to securing your applications! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06974 · 94.1th percentile
Published
2017-01-04T20:00Z
EPSS history
Timeline
  • 04 JAN 20:00Z
    The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.29 and 7.x before 7.0.14 allows remote attackers to cause a denial of service…
    cvelistv5