CVE-2016-7417

ext/spl/spl_array.c in PHP before 5.6.26 and 7.x before 7.0.11 proceeds with SplArray unserialization without validating a return value and data type, which…

published September 17, 2016

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

⚠️ A sneaky lack of validation in PHP could lead to a denial of service! Before version 5.6.26 and 7.0.11, the SplArray unserialization accepts data without checking its return value — like a restaurant taking orders without reading the menu properly. 🍽️ Picture a restaurant where the chef cooks up whatever ingredients are handed in without checking if they’re fresh or even on the menu. That’s what’s happening here: the unserialization process is like a poorly organized kitchen, allowing potentially spoiled data to disrupt the entire service. An attacker could serve up crafted serialized data that leads to a denial of service—imagine the restaurant running out of food mid-dinner rush! This could potentially cause the application to crash or behave unexpectedly, creating a poor experience for users and leaving your server vulnerable.

Put simply

Picture a restaurant where the chef cooks up whatever ingredients are handed in without checking if they’re fresh or even on the menu. That’s what’s happening here: the unserialization process is like a poorly organized kitchen, allowing potentially spoiled data to disrupt the entire service. This vulnerability in PHP's SplArray class permits unserialization of unverified data, allowing remote attackers to exploit this oversight, leading to potential service disruptions.

What to do

An attacker could serve up crafted serialized data that leads to a denial of service—imagine the restaurant running out of food mid-dinner rush! This could potentially cause the application to crash or behave unexpectedly, creating a poor experience for users and leaving your server vulnerable. Update PHP to at least version 5.6.26 or 7.0.11 to ensure that the unserialization process correctly validates the return value and data type. Regularly review your application to prevent similar oversights. 🛡️ You’ve got this! Take these steps, and you’ll have your PHP environment secured in no time! 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06842 · 94.0th percentile
Published
2016-09-17T21:00Z
EPSS history
Timeline
  • 17 SEP 21:00Z
    ext/spl/spl_array.c in PHP before 5.6.26 and 7.x before 7.0.11 proceeds with SplArray unserialization without validating a return value and data type, which…
    cvelistv5