#VU220 Integer overflow in php_stream_zip_opener() in PHP and macOS - CVE-2016-6297 

 

#VU220 Integer overflow in php_stream_zip_opener() in PHP and macOS - CVE-2016-6297

Published: July 27, 2016 / Updated: January 6, 2017


Vulnerability identifier: #VU220
Vulnerability risk: High
CVSSv4.0: 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: CVE-2016-6297
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
PHP
macOS
Software vendor:
PHP Group
Apple Inc.

Description

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

The vulnerability exists due to integer overflow in the php_stream_zip_opener() funciton, which fails to check the path_len argument. A remote unauthenticated attacker can cause integer overflow in php_stream_zip_opener() and currupt memory.

Successful exploitation of this vulnerability may lead to remote code execution.


Remediation

Install the latest versions: (5.5.38, 5.6.24, 7.0.9).

External links