Cross-site scripting in PHP - CVE-2018-17082

 

Cross-site scripting in PHP - CVE-2018-17082

Published: October 10, 2018


Vulnerability identifier: #VU15292
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2018-17082
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to the header Transfer-Encoding: chunked. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

PHP
Amazon Linux AMI
Gentoo Linux
Debian Linux
Opensuse
Fedora
php5 (Alpine package)
php7 (Alpine package)
php

How to mitigate CVE-2018-17082

The vulnerability has been fixed in the version 5.6.38, 7.0.32.

PHP - addressed in versions 5.6.38, 7.0.32
php5 (Alpine package) - addressed in versions 5.6.38-r0, 5.6.40-r0
php7 (Alpine package) - update to 7.0.33-r0
php - addressed in versions 7.1.22-1.fc27, 7.2.10-1.fc28, 7.2.10-1.fc29

External References

Related Security Bulletins