CVE-2017-5630

NameCVE-2017-5630
DescriptionPECL 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.
SourceCVE (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 PackageReleaseVersionStatus
php-pear (PTS)stretch (security), stretch (lts), stretch1:1.10.1+submodules+notgz-9+deb9u3vulnerable
buster (security), buster, buster (lts)1:1.10.6+submodules+notgz-1.1+deb10u2vulnerable
bullseye1:1.10.12+submodules+notgz+20210212-1vulnerable
sid, trixie, bookworm1:1.10.13+submodules+notgz+2022032202-2vulnerable
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-pearsource(unstable)(unfixed)unimportant
php5source(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

Search for package or bug name: Reporting problems