PHP7 is vulnerable to NULL byte injection. While using get_headers()
with user-supplied URL, if the URL contains null byte \0
, the URL will be silently truncated. This causes certain software to make incorrect assumptions about the target of the get_headers()
and potentially send confidential information to a wrong server.
lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html
bugs.php.net/bug.php?id=79329
lists.debian.org/debian-lts-announce/2020/04/msg00021.html
security.netapp.com/advisory/ntap-20200403-0001/
usn.ubuntu.com/4330-2/
www.debian.org/security/2020/dsa-4717
www.debian.org/security/2020/dsa-4719
www.tenable.com/security/tns-2021-14