CVE-2015-6835

The session deserializer in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 mishandles multiple php_var_unserialize calls, which allow remote…

published May 16, 2016

CVSS
—
EPSS
36%
Percentile
98.5
In the wild
Unconfirmed
What it is

⚠️ A crafty little flaw in PHP’s session handling might just turn your application into a playground for remote attackers! Think of this as a restaurant where the chef trusts any note left by customers to customize their meals — if someone slips in a ‘secret ingredient’ request, they could end up poisoning the whole pot! 🍲 An attacker could exploit this deserialization vulnerability to execute arbitrary code on your server or, at the very least, cause a denial of service by tampering with session content. This could lead to server crashes or unauthorized access to sensitive data!

Put simply

Think of this as a restaurant where the chef trusts any note left by customers to customize their meals — if someone slips in a ‘secret ingredient’ request, they could end up poisoning the whole pot! 🍲 The vulnerability arises from the mishandling of multiple php_var_unserialize calls in PHP versions before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13, allowing attackers to send crafted session data that leads to remote code execution or use-after-free scenarios.

What to do

An attacker could exploit this deserialization vulnerability to execute arbitrary code on your server or, at the very least, cause a denial of service by tampering with session content. This could lead to server crashes or unauthorized access to sensitive data! Upgrade your PHP to at least version 5.4.45, 5.5.29, or 5.6.13 to mitigate this risk. Regularly audit your session handling processes and consider implementing strict data validation to prevent similar vulnerabilities from creeping in. You’ve got this! By following these steps, you'll bolster your defenses and keep your applications safe. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.36163 · 98.5th percentile
Published
2016-05-16T10:00Z
EPSS history
Timeline
  • 16 MAY 10:00Z
    The session deserializer in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 mishandles multiple php_var_unserialize calls, which allow remote…
    cvelistv5