CVE-2020-7070
PHP parses encoded cookie names so malicious `__Host-` cookies can be sent
- State
- Published
- Severity
- 4.3 Medium
- Published
- Oct 2, 2020
- Updated
- Sep 16, 2024
- Reserved
- Jan 15, 2020
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | php |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
PHPPHP Group |
|
References
- https://hackerone.com/reports/895727
- https://bugs.php.net/bug.php?id=79699
- http://cve.circl.lu/cve/CVE-2020-8184
- FEDORA-2020-4573f0e03avendor-advisory
- [debian-lts-announce] 20201006 [SECURITY] [DLA 2397-1] php7.0 security updatemailing-list
- FEDORA-2020-4fe6b116e5vendor-advisory
- FEDORA-2020-94763cb98bvendor-advisory
- openSUSE-SU-2020:1703vendor-advisory
- USN-4583-1vendor-advisory
- openSUSE-SU-2020:1767vendor-advisory
- GLSA-202012-16vendor-advisory
- DSA-4856vendor-advisory
- https://security.netapp.com/advisory/ntap-20201016-0001/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.tenable.com/security/tns-2021-14
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.