Type Confusion in PHP - CVE-2014-3515
Published: November 27, 2018 / Updated: June 17, 2021
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a type confusion error in (1) ArrayObject and (2) SPLObjectStorage. when the SPL component in PHP before 5.4.30 and 5.5.x before 5.5.14 incorrectly anticipates that certain data structures will have the array data type after unserialization. A remote attacker can trigger a type confusion error via a crafted string that triggers use of a Hashtable destructor and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Slackware Linux
php5 (Ubuntu package)
HP-UX Web Server Suite
How to mitigate CVE-2014-3515
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.26, 5.3.10-1ubuntu3.13
HP-UX Web Server Suite - update to 4.02