Off-by-one in PHP - CVE-2015-7804

 

Off-by-one in PHP - CVE-2015-7804

Published: November 27, 2018


Vulnerability identifier: #VU16133
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2015-7804
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
PHP
Software vendor:
PHP Group

Description

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14. A remote attacker can trigger uninitialized pointer dereference and cause the service to crash by including the / filename in a .zip PHAR archive.


Remediation

Install update from vendor's website.

External links