6.1
MEDIUM
CVE-2018-5712
"PHP PHAR Reflected Cross-Site Scripting (XSS)"
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.

INFO

Published Date :

Jan. 16, 2018, 9:29 a.m.

Last Modified :

Aug. 19, 2019, 11:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2018-5712 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-5712.

URL Resource
http://php.net/ChangeLog-5.php Release Notes Vendor Advisory
http://php.net/ChangeLog-7.php Release Notes Vendor Advisory
http://www.securityfocus.com/bid/102742 Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/104020 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1040363 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1296 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2519
https://bugs.php.net/bug.php?id=74782 Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html Mailing List Third Party Advisory
https://usn.ubuntu.com/3566-1/ Third Party Advisory
https://usn.ubuntu.com/3600-1/ Third Party Advisory
https://usn.ubuntu.com/3600-2/ Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2020.html

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-5712 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-5712 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 15, 2020

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 19, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:2519 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 06, 2019

    Action Type Old Value New Value
    Changed Reference Type http://www.securityfocus.com/bid/104020 No Types Assigned http://www.securityfocus.com/bid/104020 Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html Mailing List, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3566-1/ No Types Assigned https://usn.ubuntu.com/3566-1/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3600-2/ No Types Assigned https://usn.ubuntu.com/3600-2/ Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1040363 No Types Assigned http://www.securitytracker.com/id/1040363 Third Party Advisory, VDB Entry
    Changed Reference Type https://usn.ubuntu.com/3600-1/ No Types Assigned https://usn.ubuntu.com/3600-1/ Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1296 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1296 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 17, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3600-2/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 04, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1296 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 02, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/104020 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 21, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3600-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3566-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 17, 2018

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1040363 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 05, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/102742 No Types Assigned http://www.securityfocus.com/bid/102742 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugs.php.net/bug.php?id=74782 No Types Assigned https://bugs.php.net/bug.php?id=74782 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type http://php.net/ChangeLog-5.php No Types Assigned http://php.net/ChangeLog-5.php Release Notes, Vendor Advisory
    Changed Reference Type http://php.net/ChangeLog-7.php No Types Assigned http://php.net/ChangeLog-7.php Release Notes, Vendor Advisory
    Added CWE CWE-79
    Added CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (including) 5.6.32 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (including) 7.0.26 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (excluding) 7.1.0 up to (including) 7.1.12 *cpe:2.3:a:php:php:7.2.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 04, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 21, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/102742 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-5712 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-5712 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

62.05 }} -12.03%

score

0.97779

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability