Home/CVE/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-suppli
CVE

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-suppli

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.

MEDIUM · CVSS 5.3 EPSS 0.02189
Schedule remediation
  • Public exploit or PoC is available
Sigma rules0 YARA rules0

Weakness Classification

Affected Products & Versions

7
php>= 7.2.0 and < 7.2.29
php>= 7.3.0 and < 7.3.16
php>= 7.4.0 and < 7.4.4
tenable tenable.scall versions
opensuse leapall versions
debian linuxall versions

Public Exploits & PoCs

1

Scoring & Timeline

5.3
MEDIUM · CVSS v3.1 · security@php.net
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD01 Apr 2020 · 04:15 AM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Vendor Advisories

10
suse-csafSUSE-SU-2022:4067-1
suse-csafSUSE-SU-2020:1714-1
suse-csafSUSE-SU-2020:1546-1
rhsaRHSA-2020:3662Moderate
rhsaRHSA-2020:5275Moderate
🔗

References & Sources

7
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
https://usn.ubuntu.com/4330-2/Third Party Advisory
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin