Vulnerabilities · 2024 · Php
CVE-2024-3096
Php vulnerability
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.
Affected products
Php, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr · Exploit
- security.netapp.com/advisory/ntap-20240510-0010/ · Third Party Advisory
- www.openwall.com/lists/oss-security/2024/04/12/11
- lists.debian.org/debian-lts-announce/2024/05/msg00005.html
- lists.fedoraproject.org/archives/list/[email protected]/message/KJZ
- lists.fedoraproject.org/archives/list/[email protected]/message/ZGW
- nvd.nist.gov/vuln/detail/CVE-2024-3096
- cve.org/CVERecord?id=CVE-2024-3096
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.