Name | CVE-2017-5630 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-pear (PTS) | stretch (security), stretch (lts), stretch | 1:1.10.1+submodules+notgz-9+deb9u3 | vulnerable |
| buster (security), buster, buster (lts) | 1:1.10.6+submodules+notgz-1.1+deb10u2 | vulnerable |
| bullseye | 1:1.10.12+submodules+notgz+20210212-1 | vulnerable |
| sid, trixie, bookworm | 1:1.10.13+submodules+notgz+2022032202-2 | vulnerable |
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php-pear | source | (unstable) | (unfixed) | unimportant | | |
php5 | source | (unstable) | (unfixed) | unimportant | | |
Notes
https://pear.php.net/bugs/bug.php?id=21171
pear performs no kind of authentication/integrity checks for downloads, so an attacker can MITM freely anyway