Code Injection in PHP - CVE-2015-8835

 

Code Injection in PHP - CVE-2015-8835

Published: November 28, 2018


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in make_http_soap_request() function within the "ext/soap/php_http.c" PHP SOAP extension when retrieving keys. A remote attacker can pass specially crafted serialized data that represent a numerically indexed _cookies array, related to the SoapClient::__call method in ext/soap/soap.c and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system


Affected software

PHP

How to mitigate CVE-2015-8835

Install update from vendor's website.

PHP - addressed in versions 5.4.44, 5.5.28, 5.6.12

External References

Related Security Bulletins