CVE-2020-7066

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductPhp
PublishedApr 1, 2020
First seenApr 1, 2020
Weakness typeCWE-170CWE-170

How to fix

Update
  • php php7.2.29, 7.3.16, 7.4.4 or later
  • tenable tenable.sc5.19.0 or later

Affected products

ProductAffected versionsFixed in
php php7.2.0 ≤ v < 7.2.29, 7.3.0 ≤ v < 7.3.16, 7.4.0 ≤ v < 7.4.47.2.29, 7.3.16, 7.4.4
tenable tenable.scv < 5.19.0, 5.19.05.19.0
opensuse leap15.1—
debian debian_linux8.0, 9.0, 10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.