Medium severity · published Apr 29, 2024
CVE-2024-2756
__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix
6.5
CVSS
38.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)38.1% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
8.1.* before 8.1.28; 8.2.* before 8.2.18; 8.3.* before 8.3.5 · source: vendor
AT
Archive Tar · Php
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-2756
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-2756
www.openwall.com
http://www.openwall.com/lists/oss-security/2024/04/12/11
github.com
https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html
security.netapp.com
https://security.netapp.com/advisory/ntap-20240510-0008/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
