Original 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.
Affected software
- PHP ≥ 7.2.0 < 7.2.29≥ 7.4.0 < 7.4.4≥ 7.3.0 < 7.3.16 Fixed in: 7.2.29, 7.4.4, 7.3.16 exact match
Details
- Published
- 2020-04-01
- Last modified
- 2024-09-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-170
- EPSS (30-day exploit probability)
- 2.66% (percentile 86)
References
- cve.org/CVE-2020-7066
- nvd.nist.gov/vuln/detail/CVE-2020-7066
- bugs.php.net/bug.php?id=79329
- security.netapp.com/advisory/ntap-20200403-0001/
- lists.debian.org/debian-lts-announce/2020/04/msg00021.html
- usn.ubuntu.com/4330-2/
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html
- www.debian.org/security/2020/dsa-4717
- www.debian.org/security/2020/dsa-4719
- www.tenable.com/security/tns-2021-14
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.