CVE-2020-7070

PHP parses encoded cookie names so malicious `__Host-` cookies can be sent

Published Oct 2, 2020 CVSS 3.1 · 4.3 Medium EPSS 5.0% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2397-1 php7.0 security update
Debian DSA Debian DSA DSA-4856-1 php7.3 security update
Ubuntu USN Ubuntu USN USN-4583-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-4583-2 PHP vulnerabilities
History

No history.

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-565

    Reliance on Cookies without Validation and Integrity Checking

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 16, 2024, 4:28 PM
Reserved
Jan 15, 2020, 12:00 AM
Status
Modified
Published
Oct 2, 2020, 3:15 PM
Modified
Jun 17, 2026, 3:24 AM
Severity
Low
Public date
Jun 14, 2020, 12:00 AM