CVE-2020-7070

MEDIUMCVSS 5.3/10EPSS 4.97%

Last modified

CVE-2020-7070 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 4.97% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

EPSS Probability
4.97%

91.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp>= 7.2.0, < 7.2.34
PhpPhp>= 7.3.0, < 7.3.23
PhpPhp>= 7.4.0, < 7.4.11
FedoraprojectFedora31
FedoraprojectFedora32
FedoraprojectFedora33
DebianDebian Linux9.0
DebianDebian Linux10.0
OpensuseLeap15.1
OpensuseLeap15.2
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux20.04
NetappClustered Data OntapAll versions
TenableTenable.Sc< 5.19.0

References

Timeline

Published
Last Modified
Status
Modified

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 score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 4.97% probability of exploitation in the next 30 days.
How do I fix CVE-2020-7070?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-7070?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST