Security features bypass in PHP - CVE-2022-31629

 

Security features bypass in PHP - CVE-2022-31629

Published: September 29, 2022 / Updated: October 27, 2023


Vulnerability identifier: #VU67756
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2022-31629
CWE-ID: CWE-254
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to the way PHP handles HTTP variable names. A remote attacker can set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.


How to mitigate CVE-2022-31629

Install updates from vendor's website.

Sources