Skip to main content
← All vulnerabilities
CVE-2020-7071

FILTER_VALIDATE_URL accepts URLs with invalid userinfo

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.3.26, 7.4.14, 8.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • PHP Group PHP

    From 7.3.x · fixed in 7.3.26; From 7.4.x · fixed in 7.4.14; From 8.0.X · fixed in 8.0.1

References 7

bugs.php.net

debian.org

security.gentoo.org

lists.debian.org

oracle.com

tenable.com

security.netapp.com