CVE-2018-17082
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…
- 6.1MediumCVSS base score
- 4.1%Exploitation in 30 daysEPSS · top 9.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it.
Show the exploits1
Nuclei templates1 template
- Apache2 - Transfer-Encoding Chunked XSS (Nuclei template) (opens in a new tab)
http/cves/2018/CVE-2018-17082.yamlSeverity medium
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 4.1% · top 9.2% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
n/a
- affected n/a
References
10
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_MISCx_transferred
- http://php.net/ChangeLog-7.php (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4353 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180920 [SECURITY] [DLA 1509-1] php5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugs.php.net/bug.php?id=76582 (opens in a new tab)x_refsource_MISCx_transferred
- GLSA-201812-01 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://security.netapp.com/advisory/ntap-20180924-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2019:2519 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://www.tenable.com/security/tns-2019-07 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-8862 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-17082)Record last updated .