CVE-2020-7070
CVE-2020-7070 is a medium-severity vulnerability in Php with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-565.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- CVSS v2: 5.0
- EPSS exploit prediction: 5% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-565
- Affected product: Php
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-7070?
- 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.
- How severe is CVE-2020-7070?
- CVE-2020-7070 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2020-7070 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-7070?
- CVE-2020-7070 primarily affects Php. In total, 15 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-7070?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2020-7070 published?
- CVE-2020-7070 was published on 2020-10-02 and last updated on 2026-06-17.
References
- http://cve.circl.lu/cve/CVE-2020-8184
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html
- https://bugs.php.net/bug.php?id=79699
- https://hackerone.com/reports/895727
- https://lists.debian.org/debian-lts-announce/2020/10/msg00008.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/
- https://security.gentoo.org/glsa/202012-16
- https://security.netapp.com/advisory/ntap-20201016-0001/
- https://usn.ubuntu.com/4583-1/
- https://www.debian.org/security/2021/dsa-4856
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.tenable.com/security/tns-2021-14
Affected products (15)
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
- cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
- cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
More vulnerabilities in Php
- CVE-2015-0235 — Critical (CVSS 10.0): Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,…
- CVE-2012-2688 — Critical (CVSS 10.0): Unspecified vulnerability in the _php_stream_scandir function in the stream implementation in PHP before 5.3.15 and…
- CVE-2012-2376 — Critical (CVSS 10.0): Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to…
- CVE-2011-3268 — Critical (CVSS 10.0): Buffer overflow in the crypt function in PHP before 5.3.7 allows context-dependent attackers to have an unspecified…
- CVE-2009-4143 — Critical (CVSS 10.0): PHP before 5.2.12 does not properly handle session data, which has unspecified impact and attack vectors related to (1)…
- CVE-2008-5557 — Critical (CVSS 10.0): Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0…
Other CWE-565 vulnerabilities
- CVE-2023-41084 — Critical (CVSS 10.0): Session management within the web application is incorrect and allows attackers to steal session cookies to perform a…
- CVE-2014-125112 — Critical (CVSS 9.8): Plack::Middleware::Session::Cookie versions through 0.21 for Perl allows remote code…
- CVE-2022-50926 — Critical (CVSS 9.8): WAGO 750-8212 PFC200 G2 2ETH RS firmware contains a privilege escalation vulnerability that allows attackers to…
- CVE-2025-65212 — Critical (CVSS 9.8): An issue was discovered in NJHYST HY511 POE core before 2.1 and plugins before 0.1. The vulnerability stems from the…
- CVE-2025-14440 — Critical (CVSS 9.8): The JAY Login & Register plugin for WordPress is vulnerable to authentication bypass in versions up to, and including,…
- CVE-2025-2395 — Critical (CVSS 9.8): The U-Office Force from e-Excellence has an Improper Authentication vulnerability, allowing unauthenticated remote…
Browse all CWE-565 vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 197.44.15.210 (ipv4-addr)
- 103.165.139.145 (ipv4-addr)
- 103.158.40.65 (ipv4-addr)
- 220.178.39.106 (ipv4-addr)
- 218.29.231.106 (ipv4-addr)
- 210.245.20.230 (ipv4-addr)
- 171.100.121.127 (ipv4-addr)
- 121.22.99.2 (ipv4-addr)