BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-7070 in Canonical Ubuntu Linux and 6 more products

Medium 5.3

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 coo...

Affects 7 products from 7 vendors. Facts below cite their sources.

CVSS 3.15.3
EPSS5.0%
EPSS percentile93th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 12.04 14.04 16.04 18.04 20.04
Debian Debian Linux 9.0 10.0
Fedoraproject Fedora 31 32 33
Netapp Clustered Data Ontap No version listed by the source
Opensuse Leap 15.1 15.2
Php Php ≥ 7.2.0, < 7.2.34 ≥ 7.3.0, < 7.3.23 ≥ 7.4.0, < 7.4.11
Tenable Tenable.Sc < 5.19.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-7070
BreachSpider IDBS-2020-GLOBAL-178676-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published2020-10-02
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-20: Improper Input Validation

Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.

CWE-565: CWE-565

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-20

CAPEC-7 Blind SQL Injection via CWE-20

CAPEC-8 Buffer Overflow in an API Call via CWE-20

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-20

CAPEC-10 Buffer Overflow via Environment Variables via CWE-20

Show all 53

CAPEC-13 Subverting Environment Variable Values via CWE-20

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-20

CAPEC-24 Filter Failure through Buffer Overflow via CWE-20

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-20, CWE-565

CAPEC-42 MIME Conversion via CWE-20

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-20

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-20

CAPEC-46 Overflow Variables and Tags via CWE-20

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-20

CAPEC-52 Embedding NULL Bytes via CWE-20

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-20

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-20

CAPEC-67 String Format Overflow in syslog() via CWE-20

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-20

CAPEC-72 URL Encoding via CWE-20

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-20

CAPEC-79 Using Slashes in Alternate Encoding via CWE-20

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-20

CAPEC-81 Web Server Logs Tampering via CWE-20

CAPEC-83 XPath Injection via CWE-20

CAPEC-85 AJAX Footprinting via CWE-20

CAPEC-101 Server Side Include (SSI) Injection via CWE-20

CAPEC-108 Command Line Execution through SQL Injection via CWE-20

CAPEC-109 Object Relational Mapping Injection via CWE-20

CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-20

CAPEC-120 Double Encoding via CWE-20

CAPEC-209 XSS Using MIME Type Mismatch via CWE-20

CAPEC-226 Session Credential Falsification through Manipulation via CWE-565

CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data via CWE-20

CAPEC-588 DOM-Based XSS via CWE-20

CAPEC-23 File Content Injection via CWE-20

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-565

CAPEC-63 Cross-Site Scripting (XSS) via CWE-20

CAPEC-73 User-Controlled Filename via CWE-20

CAPEC-88 OS Command Injection via CWE-20

CAPEC-104 Cross Zone Scripting via CWE-20

CAPEC-135 Format String Injection via CWE-20

CAPEC-136 LDAP Injection via CWE-20

CAPEC-182 Flash Injection via CWE-20

CAPEC-230 Serialized Data with Nested Payloads via CWE-20

CAPEC-231 Oversized Serialized Data Payloads via CWE-20

CAPEC-250 XML Injection via CWE-20

CAPEC-267 Leverage Alternate Encoding via CWE-20

CAPEC-473 Signature Spoof via CWE-20

CAPEC-664 Server Side Request Forgery via CWE-20

CAPEC-22 Exploiting Trust in Client via CWE-20

CAPEC-28 Fuzzing via CWE-20

CAPEC-153 Input Data Manipulation via CWE-20

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability 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 allows attackers to forge cookies with secure prefixes by exploiting improper URL decoding of cookie names.

The attack vector involves sending specially crafted HTTP requests with cookie names that, when URL-decoded, mimic secure cookie prefixes such as __Host-. This can lead to the server accepting and processing these cookies as if they were legitimate secure cookies.

Questions

What is CVE-2020-7070?

A vulnerability 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 allows attackers to forge cookies with secure prefixes by exploiting improper URL decoding of cookie names.

What is the CVSS score for CVE-2020-7070?

CVE-2020-7070 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 5.0%.

Is CVE-2020-7070 actively exploited?

No confirmed active exploitation of CVE-2020-7070 as of 2026-09-25.

How do I remediate CVE-2020-7070?

Priority: HIGH. Advisory: https://bugs.php.net/bug.php?id=79699 PSIRT: [email protected]

What systems are affected by CVE-2020-7070?

CVE-2020-7070 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Netapp Clustered Data Ontap; Opensuse Leap; Php Php; Tenable Tenable.Sc.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.