CVE-2014-3515: High severity PHP PHP vulnerability
A type confusion vulnerability was found in the unserialize() handlers of the SPL ArrayObject and SPLObjectStorage objects. If a remote attacker is able to pass aribrary data directly to these handlers, it may be possible for them to execute arbitrary code as the user running the php application
Other sources
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, which allows remote attackers to execute arbitrary code via a crafted string that triggers use of a Hashtable destructor, related to "type confusion" issues in (1) ArrayObject and (2) SPLObjectStorage.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/phpto a version that resolves this vulnerability.Fixed in 5.3.29 - Upgrade
Upgrade
redhat/phpto a version that resolves this vulnerability.Fixed in 5.4.30 - Upgrade
Upgrade
redhat/phpto a version that resolves this vulnerability.Fixed in 5.5.14 - Upgrade
Upgrade
debian/php5to a version that resolves this vulnerability.Fixed in 5.3.3-7+squeeze21Fixed in 5.4.4-14+deb7u12Fixed in 5.6.0~rc2+dfsg-1
Event History
Frequently Asked Questions
What is the severity of CVE-2014-3515?
CVE-2014-3515 has a high severity rating due to its potential to allow arbitrary code execution.
How do I fix CVE-2014-3515?
To fix CVE-2014-3515, update PHP to versions 5.4.30, 5.5.14 or later.
Which versions of PHP are affected by CVE-2014-3515?
CVE-2014-3515 affects PHP versions before 5.4.30 and 5.5.x before 5.5.14.
Can CVE-2014-3515 be exploited remotely?
Yes, CVE-2014-3515 can be exploited remotely by attackers through crafted strings.
Is CVE-2014-3515 specific to certain operating systems?
CVE-2014-3515 is known to affect PHP on various platforms, including Debian GNU/Linux.