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

 

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

Published: July 27, 2016 / Updated: August 13, 2016


Vulnerability identifier: #VU219
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: N/A
CWE-ID: CWE-119
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 in the "_php_array_to_envp()" function within the "extstandardproc_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.

Affected software

PHP

Remediation

Install the latest version: (7.0.9).


External References

Related Security Bulletins