CVE-2017-5630
HIGH7.5EPSS 5.1%PEAR core file overwrite vulnerability
Published: 5/13/2022Modified: 4/28/2026
Description
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 packages (2)
- Debian/php-pearfrom 0
- Packagist/pear/pearfrom 0, <= 1.10.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-5630
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-5630
- PATCHhttps://github.com/pear/pear-core
- WEBhttp://hyp3rlinx.altervista.org/advisories/PEAR-ARBITRARY-FILE-DOWNLOAD.txt
- WEBhttp://pear.php.net/bugs/bug.php?id=21171
- WEBhttps://vimeo.com/201341280
- WEBhttps://web.archive.org/web/20210123222048/https://www.securityfocus.com/bid/95882
- WEBhttps://www.exploit-db.com/exploits/41185