CVE-2018-17082 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via a crafted chunked request in PHP's Apache2 handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-17082?

CVE-2018-17082 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 16 Sep 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2018-17082?

It affects 3 products.

Linux distribution packages (8)
php5 SUSE:Linux Enterprise Module for Web and Scripting 12All versions5.5.14-109.41.1
php7 SUSE:Linux Enterprise Module for Web and Scripting 12All versions7.0.7-50.52.1
php7 SUSE:Linux Enterprise Module for Web and Scripting 15All versions7.2.5-4.12.2
php53 SUSE:Linux Enterprise Server 11 SP4All versions5.3.17-112.41.1
php53 SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions5.3.17-112.41.1
php53 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions5.3.17-112.41.1
php5 SUSE:Linux Enterprise Software Development Kit 12 SP3All versions5.5.14-109.41.1
php7 SUSE:Linux Enterprise Software Development Kit 12 SP3All versions7.0.7-50.52.1

Products include Debian Debian Linux, Netapp Storage Automation Store, Php Php.

How do I fix CVE-2018-17082?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2018-17082 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-17082 exists.

Public exploit code: 1 Nuclei template.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-17082, DLA-1509-1, GHSA-rhx7-v569-mfc2, SUSE-SU-2018:2887-1, SUSE-SU-2018:3016-1, SUSE-SU-2018:3017-1 and 2 more.

Is CVE-2018-17082 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free