Input validation error in PHP - CVE-2015-6834
Published: May 16, 2016 / Updated: June 17, 2021
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
Multiple use-after-free vulnerabilities in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 allow remote attackers to execute arbitrary code via vectors related to (1) the Serializable interface, (2) the SplObjectStorage class, and (3) the SplDoublyLinkedList class, which are mishandled during unserialization. <a href="http://cwe.mitre.org/data/definitions/502.html">CWE-502: Deserialization of Untrusted Data</a>
Affected software
How to mitigate CVE-2015-6834
Links to Public Exploits and PoC-codes
- Exploit #6437 - Kerio Control Unified Threat Management 9.1.0 build 1087 / 9.1.1 build 1324 - Multiple Vulnerabilities (June 17, 2021)
- Exploit #3899 - PHP 5.4/5.5/5.6 - SplObjectStorage Unserialize() Use-After-Free (August 9, 2020)
- Exploit #3900 - PHP 5.4/5.5/5.6 - SplDoublyLinkedList Unserialize() Use-After-Free (August 9, 2020)
External References
- http://php.net/ChangeLog-5.php
- http://www.debian.org/security/2015/dsa-3358
- http://www.securityfocus.com/bid/76649
- http://www.securitytracker.com/id/1033548
- https://bugs.php.net/bug.php?id=70172
- https://bugs.php.net/bug.php?id=70365
- https://bugs.php.net/bug.php?id=70366
- https://security.gentoo.org/glsa/201606-10