Cyber Resilience

CVE-2024-2756

Medium

Published: 29 April 2024

Published
29 April 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS Score 0.0870 92.7th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

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

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

Fedoraproject
inferred from references and description; NVD did not file a CPE for this CVE

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.

addresses: CWE-20

Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.

addresses: CWE-20

Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.

addresses: CWE-20

Directly implements checks on information inputs to reject invalid data before processing.

addresses: CWE-20

Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.

References