CVE-2020-7066
information disclosure in function get_headers
| Publication Date | 2020-04-01 |
|---|---|
| Severity | Low |
| Type | Information Disclosure |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with a user-supplied URL, if the URL contains a zero (\u0000) character, the URL will be silently truncated at its first occurence. This may cause some software to make incorrect assumptions about the target of the get_headers(), which could lead to sending information to the wrong server or path on a server.
Recommendations
Upgrade to 7.2.9 or above, 7.3.16 or above, or 7.4.4 or above.