Skip to content
OpenAdvisories
Unscored Scanner template CVE-2018-17082 EUVD-2018-8862GHSA-rhx7-v569-mfc2

The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a …

Published Sep 16, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a "Transfer-Encoding: chunked" request, because the bucket brigade is mishandled in the php_handler function in sapi/apache2handler/sapi_apache2.c.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 php7.0 7.0.33-0+deb9u1 DSA-4353-1
Debian 8 php5 5.6.38+dfsg-0+deb8u1 DLA-1509-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.10-0ubuntu0.18.04.1 —
Ubuntu 16.04 LTS php7.0 7.0.32-0ubuntu0.16.04.1 —
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.26 —
ReleasePackageFixed inAdvisory
RHEL 3 rh-php71-php +27 7.1.30-1.el7 RHSA-2019:2519
ReleasePackageFixed inAdvisory
SLES 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES 15 php7 7.2.5-4.12.2 SUSE-SU-2022:4067-1, SUSE-SU-2018:3016-1
SLES 12 SP3 php5 5.5.14-109.41.1 SUSE-SU-2018:3017-1
SLES 12 SP3 php7 7.0.7-50.52.1 SUSE-SU-2018:2887-1
SLES 12 php5 5.5.14-109.41.1 SUSE-SU-2018:3017-1
SLES 12 php7 7.0.7-50.52.1 SUSE-SU-2018:2887-1
SLES 11 SP4 php53 5.3.17-112.41.1 SUSE-SU-2018:3018-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 11 SP4 php53 5.3.17-112.41.1 SUSE-SU-2018:3018-1
SLE HPC 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php7 7.4.24-1.1 openSUSE-SU-2024:11167-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
Alpine v3.8 php5 5.6.38-r0 —
Alpine v3.7 php7 7.1.29-r0 —
Alpine v3.5 php5 5.6.38-r0 —
Alpine v3.5 php7 7.0.32-r0 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 13

References