#VU219 Heap-based buffer overflow in proc_open() in PHP


| Updated: 2016-08-13

Vulnerability identifier: #VU219

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: N/A

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

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

The vulnerability exists in the "_php_array_to_envp()" function within the "ext\standard\proc_open.c" file. A remote unauthenticated attacker can cause a heap-based buffer overflow in proc_open() while processing the '$env' parameter in the PCRE component.

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

Mitigation
Install the latest version: (7.0.9).

Vulnerable software versions

PHP: 7.0.0 - 7.0.8


External links
https://bugs.php.net/bug.php?id=72306
https://php.net/ChangeLog-7.php#7.0.9


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.


Latest bulletins with this vulnerability