Improper Neutralization of Special Elements in Output Used by a Downstream Component in PEAR - CVE-2017-5630

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in PEAR - CVE-2017-5630

Published: February 2, 2017 / Updated: August 9, 2020


Vulnerability identifier: #VU39753
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:P/U:Green
CVE-ID: CVE-2017-5630
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PEAR

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and filenames after a redirect, which allows remote HTTP servers to overwrite files via crafted responses, as demonstrated by a .htaccess overwrite.


How to mitigate CVE-2017-5630

Install update from vendor's website.

Sources