CVE-2016-7413

Use-after-free vulnerability in the wddx_stack_destroy function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause…

published September 17, 2016

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

⚠️ A messy end-tag could crash your PHP application. This use-after-free vulnerability in the wddx_stack_destroy function is a surprisingly sneaky way for attackers to cause a denial of service! 🔥 Think of this like a restaurant that forgets to put a lid on a pot of boiling soup. When the pot runs over, chaos ensues! In this case, a faulty wddxPacket XML can lead to mishandling, spilling over into service disruption. An attacker could craft a wddxPacket XML document that lacks a proper end-tag for a crucial recordset field, causing the system to mismanage memory. This could lead to a denial of service, leaving your application unresponsive and your users frustrated.

Put simply

Think of this like a restaurant that forgets to put a lid on a pot of boiling soup. When the pot runs over, chaos ensues! In this case, a faulty wddxPacket XML can lead to mishandling, spilling over into service disruption. This use-after-free vulnerability occurs in the wddx_stack_destroy function in PHP, affecting versions prior to 5.6.26 and 7.x below 7.0.11. It stems from mishandling in the wddx_deserialize call when parsing improperly formatted XML, leading to potential memory issues.

What to do

An attacker could craft a wddxPacket XML document that lacks a proper end-tag for a crucial recordset field, causing the system to mismanage memory. This could lead to a denial of service, leaving your application unresponsive and your users frustrated. To protect your application, update to PHP version 5.6.26 or 7.0.11 or later immediately. Conduct thorough testing after the upgrade to ensure no issues arise from the fix. Additionally, review any WDDX documents being processed to ensure well-formed XML is being used! You've got this! By taking these steps, you'll turn this vulnerability into a non-issue in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06654 · 93.8th percentile
Published
2016-09-17T21:00Z
EPSS history
Timeline
  • 17 SEP 21:00Z
    Use-after-free vulnerability in the wddx_stack_destroy function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause…
    cvelistv5