Input validation error in PHP - CVE-2015-6831

 

Input validation error in PHP - CVE-2015-6831

Published: January 19, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40518
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-6831
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Multiple use-after-free vulnerabilities in SPL in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allow remote attackers to execute arbitrary code via vectors involving (1) ArrayObject, (2) SplObjectStorage, and (3) SplDoublyLinkedList, which are mishandled during unserialization. <a href="http://cwe.mitre.org/data/definitions/416.html">CWE-416: Use After Free</a>


Affected software

PHP
Amazon Linux AMI
Debian Linux
php5 (Debian package)

How to mitigate CVE-2015-6831

Install update from vendor's website.

php5 (Debian package) - addressed in versions 5.4.44-0+deb7u1, 5.6.12+dfsg-0+deb8u1

External References

Related Security Bulletins