Skip to main content
← All vulnerabilities
CVE-2022-31629

$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.4.31, 8.0.24, 8.1.11
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `Host-` or `Secure-` cookie by PHP applications.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • PHP Group PHP

    From 7.4.X · fixed in 7.4.31; From 8.0.X · fixed in 8.0.24; From 8.1.X · fixed in 8.1.11

References 13

bugs.php.net

lists.fedoraproject.org

debian.org

security.gentoo.org

security.netapp.com

lists.debian.org

openwall.com

GitHub · silnex/CVE-2022-31629-poc