{"id":"CVE-2017-5630","published":"2017-02-01T23:00:00Z","modified":"2024-08-05T15:04:15Z","title":"PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.12513,"percentile":0.96324,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/41185/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.securityfocus.com/bid/95882","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://pear.php.net/bugs/bug.php?id=21171","tags":["x_refsource_MISC"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.26},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-01-30"},"first":{"date":"2017-01-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41185"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"pear/pear","vulnerableRanges":["<=1.10.1"],"patched":[],"from":["GHSA-xxv8-pv43-57x5"],"provenance":"source"}],"summary":{"text":"The flaw lies in the download utility class of the Installer in PEAR Base System (PECL), where file types and filenames are not validated after an HTTP redirect. An attacker operating a remote HTTP server can send crafted responses that cause files to be overwritten, as demonstrated by overwriting a .htaccess file, and the attack depends on the victim's PECL installer downloading content from that attacker-controlled server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:51:52Z"},"euvd":{"id":"EUVD-2022-5878","exploited":false,"provenance":"source"},"exploits":[{"id":41185,"url":"https://www.exploit-db.com/exploits/41185","title":"PHP PEAR 1.10.1 - Arbitrary File Download","date":"2017-01-30","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/41185/","https://www.exploit-db.com/exploits/41185"]}