Vulnerability in PHP
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.027, 85.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- PHP Group — versions 7.2.x below 7.2.29, 7.3.x below 7.3.16, 7.4.x below 7.4.4
- Tenable Tenable.sc — versions 5.19.0
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (0xbigshaq/php7-internals, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.php.net/bug.php (Exploit, Patch, Issue Tracking, Vendor Advisory)
- security.netapp.com/advisory/ntap-20200403-0001/ (Third Party Advisory)
- [debian-lts-announce] 20200426 [SECURITY] [DLA 2188-1] php5 security update (mailing-list, Third Party Advisory)
- USN-4330-2 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:0642 (vendor-advisory, Third Party Advisory)
- DSA-4717 (vendor-advisory, Third Party Advisory)
- DSA-4719 (vendor-advisory, Third Party Advisory)
- www.tenable.com/security/tns-2021-14 (Patch, Third Party Advisory)