CVE-2017-5630 in the critical feed json
PEAR core file overwrite vulnerability
published 2017-02-01 9 y ago modified 2026-06-17 4 mo ago also GHSA-xxv8-pv43-57x5 , EUVD-2022-5878
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.5%
- EPSS 12.5% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-5630 updated cvss 3.4
php-pear: File overwrite by malicious server
-
Red Hat Enterprise Linux 5 php-pear Red Hat Enterprise Linux 6 php-pear Red Hat Enterprise Linux 7 php-pear Red Hat Software Collections rh-php56-php-pear, rh-php70-php-pearaffected: workaround, no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-41185)
- Published
Exploit prediction
12.51% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-41185 PHP PEAR 1.10.1 - Arbitrary File Download webapps, 2017-01-30
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | pear/pear | <=1.10.1 |
no fix listed |
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
exploit-db.com
/exploits/41185/
exploit, third-party-advisory, vdb-entry
-
pear.php.net
/bugs/bug.php?id=21171
web, vendor-advisory
-
securityfocus.com
/bid/95882
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-5630
advisory
-
github.com
/pear/pear-core
package
-
vimeo.com
/201341280
web
-
web.archive.org
/web/20210123222048/https://www.securityfocus.com/bid/95882
web
-
exploit-db.com
/exploits/41185
web
-
hyp3rlinx.altervista.org
/advisories/PEAR-ARBITRARY-FILE-DOWNLOAD.txt
web
Sources
- CVE List CVE-2017-5630
- GitHub Advisory GHSA-xxv8-pv43-57x5
- NVD CVE-2017-5630
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.