Path traversal in PHP - CVE-2015-6833

 

Path traversal in PHP - CVE-2015-6833

Published: January 19, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40516
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2015-6833
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

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 the PharData class in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12. A remote authenticated attacker can send a specially crafted HTTP request and remote attackers to write to arbitrary files via a . (dot dot) in a ZIP archive entry that is mishandled during an extractTo call.


How to mitigate CVE-2015-6833

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources