VDB

CVE-2020-7070

CVE-2020-7070 PUBLISHED CVSS 4.3 MEDIUM

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

Reported by php · Published October 2, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
phpBitnami7.4.11, 7.3.23, 7.2.34
php7.4Ubuntu:20.04:LTS7.4.3-4ubuntu2.4
PHPPHP Group7.4.11, 7.3.23, 7.2.34
tenable.sctenable5.19.0
php7.0Ubuntu:16.04:LTS7.0.33-0ubuntu0.16.04.16

Risk scores

CVSS 3.1
4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected products

VendorProductVersions
PHP GroupPHP7.3.x, 7.4.x, 7.2.x
PHP GroupPHP7.3.x, 7.4.x, 7.2.x
alpinephp70, 0

Timeline

  • Oct 2, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 28, 2021 PoC Published (5 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (9 in total, the first dated here)
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7070
vulnetix vdb fixes CVE-2020-7070

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7070/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›