Code Injection in PHP



| Updated: 2018-11-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2015-8835
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
PHP
Universal components / Libraries / Scripting languages

Vendor PHP Group

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Code Injection

EUVDB-ID: #VU16140

Risk: Medium

CVSSv4.0: 7.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/E:U/U:Green]

CVE-ID: CVE-2015-8835

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

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

Mitigation

Install update from vendor's website.

Vulnerable software versions

PHP: 5.4.0 - 5.6.11

CPE2.3 External links

https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00052.html
https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00056.html
https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html
https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00058.html
https://php.net/ChangeLog-5.php
https://www.securityfocus.com/bid/84426
https://www.ubuntu.com/usn/USN-2952-1
https://www.ubuntu.com/usn/USN-2952-2
https://bugs.php.net/bug.php?id=70081


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###