Skip to content
Noroxi
CVE-2018-17082· NVD / CVE Program· CNA mitre

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 "

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.

MediumCVSS 6.1 · v3.0—Proof of concept Fix available
Published
Sep 16, 2018
Updated
Jun 16, 2026
EPSS
4.1% · 90th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.1%

Affected systems

VendorProduct
phpphp
debiandebian linux
netappstorage automation store

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php phpbefore 5.6.38
  • php php7.0.0 and later · before 7.0.32
  • php php7.1.0 and later · before 7.1.22
  • php php7.2.0 and later · before 7.2.10

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.5php5before 5.6.38-r05.6.38-r0
Debian:8php5before 5.6.38+dfsg-0+deb8u15.6.38+dfsg-0+deb8u1
Debian:9php7.0before 7.0.33-0+deb9u17.0.33-0+deb9u1
openSUSE:Tumbleweedphp7before 7.4.24-1.17.4.24-1.1
Red Hat:rhel_software_collections:3::el7rh-php71-phpbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-bcmathbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-clibefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-commonbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-dbabefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-dbgbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-debuginfobefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-develbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-embeddedbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-enchantbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-fpmbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-gdbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-gmpbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-intlbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-jsonbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-ldapbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-mbstringbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-mysqlndbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-odbcbefore 0:7.1.30-1.el70:7.1.30-1.el7
Red Hat:rhel_software_collections:3::el7rh-php71-php-opcachebefore 0:7.1.30-1.el70:7.1.30-1.el7

+16

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV
    99Now
  • CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa
    65This week
  • CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of
    59Plan
  • CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b
    56Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:php55.6.38-r0 · Alpine:v3.5Package registry (OSV)
debian:php55.6.38+dfsg-0+deb8u1 · Debian:8Package registry (OSV)
debian:php7.07.0.33-0+deb9u1 · Debian:9Package registry (OSV)
opensuse:php77.2.34-150000.4.103.1 · openSUSE:Leap 15.4Package registry (OSV)
red hat:rh-php71-php0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-bcmath0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-cli0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-common0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-dba0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-dbg0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-debuginfo0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-devel0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-embedded0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-enchant0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-fpm0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php71-php-gd0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
suse:php55.5.14-109.41.1 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)
suse:php535.3.17-112.41.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:php77.0.7-50.52.1 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)
suse:php77.2.34-150000.4.103.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOSPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Nuclei detection template ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Nuclei detection templateNuclei template CVE-2018-17082 —

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

nvd-primary

Root cause

User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records