CVE-2020-7070

MEDIUM

PHP 7.2.0-7.2.33, 7.3.0-7.3.22, 7.4.0-7.4.10 - Cookie Prefix Confusion via URL Decoding

Title source: llm
STIX 2.1

Description

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.

References (15)

Core 15
Core References
Exploit, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/895727
Issue Tracking, Vendor Advisory x_refsource_misc
https://bugs.php.net/bug.php?id=79699
Third Party Advisory x_refsource_misc
http://cve.circl.lu/cve/CVE-2020-8184
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/10/msg00008.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4583-1/
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202012-16
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2021/dsa-4856
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20201016-0001/
Not Applicable, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuoct2021.html
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2021-14

Scores

CVSS v3 4.3
EPSS 0.0497
EPSS Percentile 91.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Details

CWE
CWE-20 CWE-565
Status published
Products (15)
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 20.04
debian/debian_linux 9.0
debian/debian_linux 10.0
fedoraproject/fedora 31
fedoraproject/fedora 32
fedoraproject/fedora 33
... and 5 more
Published Oct 02, 2020
Tracked Since Feb 18, 2026