XSS in PHP
CVE-2018-5712
An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. There is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.799 (99.6th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.799 · newest: 0.799 · change: 0.000
Affected products
- PHP — versions 7.2.0
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3600-1/ (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1040363 (VDB Entry, Third Party Advisory, vdb-entry)
- www.securityfocus.com/bid/104020 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/RHSA-2018:1296 (vendor-advisory, Third Party Advisory)
- php.net/ChangeLog-5.php (Release Notes, Vendor Advisory)
- usn.ubuntu.com/3566-1/ (vendor-advisory, Third Party Advisory)
- php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2018/01/msg00025.html (mailing-list, Mailing List, Third Party Advisory)
- bugs.php.net/bug.php (Patch, Issue Tracking, Vendor Advisory)
- www.securityfocus.com/bid/102742 (VDB Entry, Third Party Advisory, vdb-entry)
Frequently asked questions
- What is CVE-2018-5712?
- CVE-2018-5712 is a medium-severity vulnerability in PHP, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-01-16.
- How severe is CVE-2018-5712?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2018-5712 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.