Back
CVE-2020-7070
PHP parses encoded cookie names so malicious `__Host-` cookies can be sent
Medium4.3EPSS 5.0%
- Published
- Updated
- Reserved
- Assigned by
- php
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| phpCNA (assigner) | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 5.0% · top 7.7% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
References (15)
- https://hackerone.com/reports/895727 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.php.net/bug.php?id=79699 (opens in a new tab)x_refsource_MISCx_transferred
- http://cve.circl.lu/cve/CVE-2020-8184 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2020-4573f0e03a (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [debian-lts-announce] 20201006 [SECURITY] [DLA 2397-1] php7.0 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2020-4fe6b116e5 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-94763cb98b (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2020:1703 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- USN-4583-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- openSUSE-SU-2020:1767 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-202012-16 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- DSA-4856 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://security.netapp.com/advisory/ntap-20201016-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.tenable.com/security/tns-2021-14 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7070)Record last updated .