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: 8.7 [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]
CVE-ID: CVE-2017-5630
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

PEAR

How to mitigate CVE-2017-5630

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins