CVE-2017-5630
published 2017-02-01CVE-2017-5630: 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…
PriorityP357high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EXPLOIT
EPSS
12.51%
95.7th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | php-pear | — | — |
| pear | pear | 0 – 1.10.1 | — |
| php | pear | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
PEAR core file overwrite vulnerability
osv·2022-05-13
CVE-2017-5630 [HIGH] PEAR core file overwrite vulnerability
PEAR core file overwrite vulnerability
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.
GHSA
PEAR core file overwrite vulnerability
ghsa·2022-05-13
CVE-2017-5630 [HIGH] CWE-74 PEAR core file overwrite vulnerability
PEAR core file overwrite vulnerability
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.
OSV
CVE-2017-5630: PECL in the download utility class in the Installer in PEAR Base System v1
osv·2017-02-01·CVSS 7.5
CVE-2017-5630 [HIGH] CVE-2017-5630: PECL in the download utility class in the Installer in PEAR Base System v1
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.
Red Hat
php-pear: File overwrite by malicious server
vendor_redhat·2017-01-26·CVSS 7.5
CVE-2017-5630 [HIGH] CWE-73 php-pear: File overwrite by malicious server
php-pear: File overwrite by malicious server
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.
A vulnerability was found in php-pear where if a malicious server responded to a pear
Statement: Since pear's purpose is to download libraries for inclusion in an application, any use of `pear install` or `pear download` implicitly trusts the server. This vulnerability does not significantly extend the trust already given to pear and to servers used with it.
Mitigation: This vulnerability only allows files in the current directory to be overwritten, so using `pear download` in a temporary
Debian
CVE-2017-5630: php-pear - PECL in the download utility class in the Installer in PEAR Base System v1.10.1 ...
vendor_debian·2017·CVSS 7.5
CVE-2017-5630 [HIGH] CVE-2017-5630: php-pear - PECL in the download utility class in the Installer in PEAR Base System v1.10.1 ...
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.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
No detection rules found.
Bugzilla
CVE-2017-5630 php-pear: File overwrite by malicious server
bugzilla·2017-02-02·CVSS 7.5
CVE-2017-5630 [HIGH] CVE-2017-5630 php-pear: File overwrite by malicious server
CVE-2017-5630 php-pear: File overwrite by malicious server
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.
Upstream bug:
http://pear.php.net/bugs/bug.php?id=21171
Discussion:
Created php-pear tracking bugs for this issue:
Affects: fedora-all [bug 1418773]
---
Mitigation:
This vulnerability only allows files in the current directory to be overwritten, so using `pear download` in a temporary directory effectively mitigates the risk of a dangerous file overwrite occurring.
---
Statement:
Since pear's purpose is to download libraries for inclusion in an application, any use o
Bugzilla
CVE-2017-5630 php-pear: File types and filenames not validated after a redirect [fedora-all]
bugzilla·2017-02-02·CVSS 7.5
CVE-2017-5630 [HIGH] CVE-2017-5630 php-pear: File types and filenames not validated after a redirect [fedora-all]
CVE-2017-5630 php-pear: File types and filenames not validated after a redirect [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple sup
2017-02-01
Published