Path traversal in PHP - CVE-2014-9767

 

Path traversal in PHP - CVE-2014-9767

Published: November 28, 2018


Vulnerability identifier: #VU16139
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-9767
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in ZipArchive::extractTo function in ext/zip/php_zip.c and in and ext/zip/ext_zip.cpp in HHVM. A remote attacker can pass a specially crafted zip archive to the affected application and create arbitrary empty directories on the system.


Affected software

PHP

How to mitigate CVE-2014-9767

Install updates from vendor's website.

PHP - addressed in versions 5.4.45, 5.5.29, 5.6.13

External References

Related Security Bulletins