### [CVE-2024-2756](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2756) ![](https://img.shields.io/static/v1?label=Product&message=PHP&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-20%20Improper%20Input%20Validation&color=brighgreen) ### 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.  ### POC #### Reference - http://www.openwall.com/lists/oss-security/2024/04/12/11 - http://www.openwall.com/lists/oss-security/2024/04/12/11 - https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4 - https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4 #### Github - https://github.com/fkie-cad/nvd-json-data-feeds