Bug 1629552 (CVE-2018-17082) - CVE-2018-17082 php: Cross-site scripting (XSS) flaw in Apache2 component via body of 'Transfer-Encoding: chunked' request
Summary: CVE-2018-17082 php: Cross-site scripting (XSS) flaw in Apache2 component via ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-17082
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1629553 1629554 1636546 1637093 1637094 1637095
Blocks: 1629555
TreeView+ depends on / blocked
 
Reported: 2018-09-17 05:25 UTC by Sam Fowler
Modified: 2021-12-10 17:31 UTC (History)
8 users (show)

Fixed In Version: php 5.6.38, php 7.0.32, php 7.1.22, php 7.2.10
Doc Type: If docs needed, set a value
Doc Text:
A cross-site scripting (XSS) vulnerability in Apache2 component of PHP was found. When using 'Transfer-Encoding: chunked', the request allows remote attackers to potentially run a malicious script in a victim's browser. This vulnerability can be exploited only by producing malformed requests and it's believed it's unlikely to be used in practical cross-site scripting attack.
Clone Of:
Environment:
Last Closed: 2019-08-19 08:47:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2519 0 None None None 2019-08-19 08:42:38 UTC

Description Sam Fowler 2018-09-17 05:25:08 UTC
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.


Upstream Bug:

https://bugs.php.net/bug.php?id=76582


Upstream Changelog:

http://php.net/ChangeLog-5.php
http://php.net/ChangeLog-7.php


Upstream Patch:

https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e

Comment 1 Sam Fowler 2018-09-17 05:25:35 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1629553]

Comment 6 Adam Mariš 2019-01-03 12:34:01 UTC
Statement:

This issue affects the versions of php as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of php as shipped with Red Hat Enterprise Linux 6. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of php as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 7 errata-xmlrpc 2019-08-19 08:42:36 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

Via RHSA-2019:2519 https://access.redhat.com/errata/RHSA-2019:2519

Comment 8 Product Security DevOps Team 2019-08-19 08:47:30 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-17082


Note You need to log in before you can comment on or make changes to this bug.