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

PHP parses encoded cookie names so malicious `__Host-` cookies can be sent

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.3.23, 7.4.11, 7.2.34
None on Exploit-DB, Metasploit or GitHub

Summary

In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • PHP Group PHP

    From 7.3.x · fixed in 7.3.23; From 7.4.x · fixed in 7.4.11; From 7.2.x · fixed in 7.2.34

References 15

hackerone.com

bugs.php.net

cve.circl.lu

lists.fedoraproject.org

lists.debian.org

lists.opensuse.org

usn.ubuntu.com

security.gentoo.org

debian.org

security.netapp.com

oracle.com

tenable.com