CVE-2024-2756

Public on 2024-04-15
Modified on 2024-04-15
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.

Note, the vulnerability exists due to incomplete fix for #VU67756 (CVE-2022-31629).
Severity
Medium severity
Medium
CVSS v3 Base Score
5.4
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 php No Fix Planned
Amazon Linux 2 - Core php Pending Fix
Amazon Linux 2 - Php8.1 Extra php 2024-06-19 ALAS2PHP8.1-2024-005 Fixed
Amazon Linux 2 - Php8.2 Extra php 2024-05-23 ALAS2PHP8.2-2024-004 Fixed
Amazon Linux 1 php56 No Fix Planned
Amazon Linux 2023 php8.1 2024-05-09 ALAS2023-2024-612 Fixed
Amazon Linux 2023 php8.2 2024-05-23 ALAS2023-2024-624 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD CVSSv3 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N