CVE-2018-10547

NameCVE-2018-10547
DescriptionAn issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1373-1, DLA-1397-1, DSA-4240-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie5.6.33+dfsg-0+deb8u1vulnerable
jessie (security)5.6.36+dfsg-0+deb8u1fixed
php7.0 (PTS)stretch (security), stretch7.0.30-0+deb9u1fixed
buster, sid7.0.31-1fixed
php7.1 (PTS)buster, sid7.1.20-1fixed
php7.2 (PTS)buster, sid7.2.9-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)(unfixed)medium
php5sourcejessie5.6.36+dfsg-0+deb8u1mediumDLA-1397-1
php5sourcewheezy5.4.45-0+deb7u14mediumDLA-1373-1
php7.0source(unstable)7.0.30-1medium
php7.0sourcestretch7.0.30-0+deb9u1mediumDSA-4240-1
php7.1source(unstable)7.1.19-1medium
php7.2source(unstable)7.2.8-1medium

Notes

Fixed in 5.6.36, 7.0.30, 7.1.17, 7.2.5
PHP Bug: https://bugs.php.net/bug.php?id=76129

Search for package or bug name: Reporting problems