CVE-2018-5712

MEDIUM

PHP <5.6.33, <7.0.27, <7.1.13, <7.2.1 - XSS

Title source: llm
STIX 2.1

Description

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.

References (13)

Core 13
Core References
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3600-1/
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1040363
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/104020
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1296
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-5.php
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3566-1/
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-7.php
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html
Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=74782
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/102742
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3600-2/
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2519

Scores

CVSS v3 6.1
EPSS 0.8919
EPSS Percentile 99.6%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (7)
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
debian/debian_linux 7.0
php/php 7.2.0
php/php < 5.6.32
Published Jan 16, 2018
Tracked Since Feb 18, 2026