Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1535251 - (CVE-2018-5712) CVE-2018-5712 php: reflected XSS in .phar 404 page
CVE-2018-5712 php: reflected XSS in .phar 404 page
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170619,repor...
: Security
Depends On: 1579205 1579206 1579242 1535684 1554327
Blocks: 1574650 1535252
  Show dependency treegraph
 
Reported: 2018-01-16 18:35 EST by Laura Pardo
Modified: 2018-09-26 23:59 EDT (History)
10 users (show)

See Also:
Fixed In Version: php 7.0.27, php 7.1.13, php 7.2.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1296 None None None 2018-05-03 01:08 EDT

  None (edit)
Description Laura Pardo 2018-01-16 18:35:56 EST
A flaw was found in php when creating a .phar file and configuring apache to handle phar files using php, when accessing invalid page the page name is reflected back to the user in the 404 response. This user input is not being sanitized and therefore it is vulnerable to a reflected XSS. Making, every site configured to run .phar files using php vulnerable.

References:
https://bugs.php.net/bug.php?id=74782
https://bugs.php.net/bug.php?id=74782

Patch:
https://gist.github.com/anonymous/70d2f6bac8db576d6386bd79c1e6e081
Comment 1 Laura Pardo 2018-01-17 16:36:02 EST
Wrong patch link on #c0, the correct one is:
http://git.php.net/?p=php-src.git;a=commit;h=4e3f55c36272a5f29b50e1924b78e9db1b23f214
Comment 2 Laura Pardo 2018-01-17 16:37:08 EST
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1535684]
Comment 6 errata-xmlrpc 2018-05-03 01:08:31 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296

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