Vulnerability Description
In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.28 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2024/04/12/11Mailing List
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmrExploitVendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/05/msg00005.htmlMailing List
- https://security.netapp.com/advisory/ntap-20240510-0010/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/04/12/11Mailing List
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmrExploitVendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/05/msg00005.htmlMailing List
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://security.netapp.com/advisory/ntap-20240510-0010/Third Party Advisory
FAQ
What is CVE-2024-3096?
CVE-2024-3096 is a vulnerability with a CVSS score of 6.5 (MEDIUM). In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via passw...
How severe is CVE-2024-3096?
CVE-2024-3096 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-3096?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Debian Debian Linux.