CVE-2016-7129

The php_wddx_process_data function in ext/wddx/wddx.c in PHP before 5.6.25 and 7.x before 7.0.10 allows remote attackers to cause a denial of service…

published September 12, 2016

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

⚠️ An invalid ISO 8601 time value is the ticket to a segmentation fault! Even though the severity is unknown, this bug in PHP can lead to a denial of service. 😱 Think of the php_wddx_process_data function as a scheduled train that derails whenever the wrong time is inputted — just like a train can't run on a non-existent schedule, this function trips up when it encounters an invalid date format. If an attacker crafts a malicious WDDX packet with an incorrect date and sends it your way, it could cause a segmentation fault, crashing the process. This means your applications might go down, leaving your users stranded at the station — not a great look!

Put simply

Think of the php_wddx_process_data function as a scheduled train that derails whenever the wrong time is inputted — just like a train can't run on a non-existent schedule, this function trips up when it encounters an invalid date format. This vulnerability arises from mishandling dateTime elements in a WDDX packet XML document within the php_wddx_process_data function, leading to a denial of service when invalid time values are processed.

What to do

If an attacker crafts a malicious WDDX packet with an incorrect date and sends it your way, it could cause a segmentation fault, crashing the process. This means your applications might go down, leaving your users stranded at the station — not a great look! To mitigate this issue, upgrade your PHP version to 5.6.25 or later, or 7.0.10 or later to ensure you're protected against this flaw. Additionally, consider implementing input validation to catch any malformed date formats before they reach your application. You've got this! Follow these steps and keep your applications on track! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06842 · 94.0th percentile
Published
2016-09-12T01:00Z
EPSS history
Timeline
  • 12 SEP 01:00Z
    The php_wddx_process_data function in ext/wddx/wddx.c in PHP before 5.6.25 and 7.x before 7.0.10 allows remote attackers to cause a denial of service…
    cvelistv5