5.3
MEDIUM
CVE-2020-7066
Apache PHP Zero-Byte URL Truncation Remote Information Disclosure
Description

In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.

INFO

Published Date :

April 1, 2020, 4:15 a.m.

Last Modified :

May 8, 2022, 11:51 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2020-7066 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-7066 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 Debian debian_linux
1 Opensuse leap
1 Php php
1 Tenable tenable.sc
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-2020-7066.

URL Resource
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html Third Party Advisory
https://bugs.php.net/bug.php?id=79329 Exploit Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2020/04/msg00021.html Third Party Advisory
https://security.netapp.com/advisory/ntap-20200403-0001/ Third Party Advisory
https://usn.ubuntu.com/4330-2/ Third Party Advisory
https://www.debian.org/security/2020/dsa-4717 Third Party Advisory
https://www.debian.org/security/2020/dsa-4719 Third Party Advisory
https://www.tenable.com/security/tns-2021-14 Patch Third Party Advisory

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).

Research about the Zend Engine

zend-engine php-internals binary-exploitation

PHP

Updated: 3 months ago
257 stars 24 fork 24 watcher
Born at : June 24, 2020, 7:04 p.m. This repo has been linked 5 different CVEs too.

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

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

The following table lists the changes that have been made to the CVE-2020-7066 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
  • Modified Analysis by [email protected]

    May. 08, 2022

    Action Type Old Value New Value
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4330-2/ No Types Assigned https://usn.ubuntu.com/4330-2/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2020/dsa-4717 No Types Assigned https://www.debian.org/security/2020/dsa-4717 Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2020/dsa-4719 No Types Assigned https://www.debian.org/security/2020/dsa-4719 Third Party Advisory
    Changed Reference Type https://www.tenable.com/security/tns-2021-14 No Types Assigned https://www.tenable.com/security/tns-2021-14 Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* versions up to (excluding) 5.19.0 *cpe:2.3:a:tenable:tenable.sc:5.19.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 22, 2021

    Action Type Old Value New Value
    Added Reference https://www.tenable.com/security/tns-2021-14 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 08, 2020

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2020/dsa-4719 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 05, 2020

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2020/dsa-4717 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 11, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html [No Types Assigned]
  • CVE Modified by [email protected]

    May. 11, 2020

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

    Apr. 30, 2020

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/04/msg00021.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/04/msg00021.html Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20200403-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20200403-0001/ Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.2.0 up to (excluding) 7.2.9 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.0 up to (excluding) 7.3.16 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.34 OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.2.0 up to (excluding) 7.2.29 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.0 up to (excluding) 7.3.16 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.4
  • CVE Modified by [email protected]

    Apr. 27, 2020

    Action Type Old Value New Value
    Changed Description In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.34, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server. In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.
    Removed Reference https://usn.ubuntu.com/4330-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 27, 2020

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

    Apr. 26, 2020

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

    Apr. 03, 2020

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20200403-0001/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 01, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
    Changed Reference Type https://bugs.php.net/bug.php?id=79329 No Types Assigned https://bugs.php.net/bug.php?id=79329 Exploit, Issue Tracking, Patch, Vendor Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.2.0 up to (excluding) 7.2.9 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.0 up to (excluding) 7.3.16 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.34
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-2020-7066 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-2020-7066 weaknesses.

Exploit Prediction

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

0.43 }} -0.15%

score

0.74796

percentile

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