CVE-2020-7070
MEDIUM5.3EPSS 26.1%PHP parses encoded cookie names so malicious `__Host-` cookies can be sent
Published: 10/2/2020Modified: 4/28/2026
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.
Affected packages (5)
- Bitnami/libphp>= 7.2.0, < 7.2.34, >= 7.3.0, < 7.3.23, >= 7.4.0, < 7.4.11
- Bitnami/php>= 7.2.0, < 7.2.34, >= 7.3.0, < 7.3.23, >= 7.4.0, < 7.4.11
- Bitnami/php-min>= 7.2.0, < 7.2.34, >= 7.3.0, < 7.3.23, >= 7.4.0, < 7.4.11
- Debian/php7.0from 0, < 7.0.33-0+deb9u10
- Debian/php7.4from 0, < 7.4.11-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References (17)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-7070
- WEBhttp://cve.circl.lu/cve/CVE-2020-8184
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html
- WEBhttps://bugs.php.net/bug.php?id=79699
- WEBhttps://hackerone.com/reports/895727
- WEBhttps://lists.debian.org/debian-lts-announce/2020/10/msg00008.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2020-7070
- WEBhttps://security.gentoo.org/glsa/202012-16
- WEBhttps://security.netapp.com/advisory/ntap-20201016-0001/
- WEBhttps://usn.ubuntu.com/4583-1/
- WEBhttps://www.debian.org/security/2021/dsa-4856
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html
- WEBhttps://www.tenable.com/security/tns-2021-14