CVE-2018-17082 json
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 8y ago modified 4mo ago also EUVD-2018-8862
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- php php 5.6.38, 7.0.32, 7.1.22, 7.2.10
- php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.26
- php7.0 Ubuntu 16.04 LTS 7.0.32-0ubuntu0.16.04.1
- php7.2 Ubuntu 18.04 LTS 7.2.10-0ubuntu0.18.04.1
ubuntu advisories UBUNTU-CVE-2018-17082
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-php71-php RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-dbg RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-fpm RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-gmp RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-pdo RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
red hat advisories RHSA-2019:2519
- php7 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +8 more 7.2.34-150000.4.103.1
- php7 SLE Module for Web and Scripting 15 7.2.5-4.12.2
- php5 SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 5.5.14-109.41.1
- php53 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.3.17-112.41.1
- php7 SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 7.0.7-50.52.1
suse advisories SUSE-SU-2022:4067-1SUSE-SU-2018:3016-1SUSE-SU-2018:3017-1SUSE-SU-2018:3018-1SUSE-SU-2018:2887-1
- php7 openSUSE Tumbleweed 7.4.24-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:11167-1openSUSE-SU-2024:11169-1
- php5 Alpine 3.8, Alpine 3.5 5.6.38-r0
- php7 Alpine 3.5 7.0.32-r0
- php7 Alpine 3.7 7.1.29-r0
alpine advisories ALPINE-CVE-2018-17082
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-17082 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-17082 updated cvss 4.7
php: Cross-site scripting (XSS) flaw in Apache2 component via body of 'Transfer-Encoding: chunked' request
-
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Software Collections rh-php70-php, rh-php70-php-gd, rh-php70-php-cli, rh-php70-php-dba, rh-php70-php-dbg, rh-php70-php-fpm, +24 moreaffected: no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 morefixed: vendor fix RHSA-2019:2519
-
Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Software Collections rh-php72-php, rh-php72-php-gd, rh-php72-php-cli, rh-php72-php-dba, rh-php72-php-dbg, rh-php72-php-fpm, +22 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-027-02 updated cvss 6.1
Festo Didactic SE MES PC
-
Festo Didactic SE MES PC shipped_with_Windows_10affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
4.10% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template Apache2 - Transfer-Encoding Chunked XSS nuclei detection template
- bugs.php.net https://bugs.php.net/bug.php?id=76582 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e
patch, vendor-advisory
-
bugs.php.net
/bug.php?id=76582
exploit, issue-tracking, vendor-advisory
-
debian.org
/security/2018/dsa-4353
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201812-01
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2519
vendor-advisory
-
php.net
/ChangeLog-5.php
release-notes
-
php.net
/ChangeLog-7.php
release-notes
-
lists.debian.org
/debian-lts-announce/2018/09/msg00020.html
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20180924-0001/
third-party-advisory
- tenable.com /security/tns-2019-07
Sources
- CVE List CVE-2018-17082
- NVD CVE-2018-17082
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.