Medium severity · published Apr 1, 2020
CVE-2020-7066
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…
4.3
CVSS
2.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.8% · higher than 86% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
7.2.0 before 7.2.29; 7.3.0 before 7.3.16; 7.4.0 before 7.4.4 · source: NVD
DL
Debian Linux · Debian
8.0; 9.0; 10.0 · source: NVD
LE
Leap · Opensuse
15.1 · source: NVD
TE
Tenable.sc · Tenable
before 5.19.0; 5.19.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-7066
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-7066
Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html
Exploit
https://bugs.php.net/bug.php?id=79329
Third Party 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
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
