PHP Cookie name flaw: insecure cookie treated as __Host-/__Secure-
CVE-2024-2756 Published on April 29, 2024
__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix
Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.
Vulnerability Analysis
CVE-2024-2756 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2024-2756. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity, and no impact on availability.
Weakness Type
Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Products Associated with CVE-2024-2756
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-2756 are published in these products:
Affected Versions
PHP Group PHP:- Version 8.1.* and below 8.1.28 is affected.
- Version 8.2.* and below 8.2.18 is affected.
- Version 8.3.* and below 8.3.5 is affected.
- Version * is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.