Exploitation Summary
EIP tracks 1 public exploit for CVE-2022-31629. PoCs published by silnex.
AI-analyzed exploit summary This PoC demonstrates CVE-2022-31629, a vulnerability in PHP where cookies with names starting with '__Host-' can be bypassed by prefixing them with '..' due to a parsing flaw. The exploit manipulates the CSRF token validation by injecting a malicious cookie and submitting it via a POST request.
Description
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.
Exploits (1)
This PoC demonstrates CVE-2022-31629, a vulnerability in PHP where cookies with names starting with '__Host-' can be bypassed by prefixing them with '..' due to a parsing flaw. The exploit manipulates the CSRF token validation by injecting a malicious cookie and submitting it via a POST request.
References (14)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N