CVE-2024-2756
Published: 29 April 2024
Summary
CVE-2024-2756 is a medium-severity Improper Input Validation (CWE-20) vulnerability in Fedoraproject (inferred from references). Its CVSS base score is 6.5 (Medium).
Operationally, ranked in the top 7.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-2756 stems from an incomplete remediation of CVE-2022-31629 in PHP. The flaw allows network and same-site attackers to inject a standard insecure cookie that PHP applications subsequently treat as a __Host- or __Secure- prefixed cookie, bypassing intended cookie security controls. The affected component is the PHP core cookie-handling logic, reflected in a CVSS 6.5 score driven by high integrity impact.
Attackers with network or same-site positioning can exploit the issue without authentication or user interaction beyond loading a malicious page, enabling them to force PHP applications to accept forged privileged cookies and thereby tamper with session or authentication state.
Advisories published by the PHP project, Debian LTS, NetApp, and OpenWall list patches that restore proper handling of cookie prefixes; operators are directed to apply the updates referenced in GHSA-wpj3-hf5j-x4v4 and the associated distribution announcements. The EPSS score has remained essentially flat near 0.09 since disclosure, indicating no significant surge in observed exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-27700
Vulnerability details
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.
Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.
Directly implements checks on information inputs to reject invalid data before processing.
Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.