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.028 (85.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000
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 proof-of-concept exploits
References
- bugs.php.net/bug.php (Exploit, Patch, Issue Tracking, Vendor Advisory)
- security.netapp.com/advisory/ntap-20200403-0001/ (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/04/msg00021.html (mailing-list, Third Party Advisory)
- usn.ubuntu.com/4330-2/ (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/dsa-4717 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/dsa-4719 (vendor-advisory, Third Party Advisory)
- www.tenable.com/security/tns-2021-14 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7066?
- CVE-2020-7066 is a medium-severity vulnerability in PHP, classified under Improper Null Termination. CVSS score: 5.3/10. Published 2020-04-01.
- How severe is CVE-2020-7066?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2020-7066 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.