Improper input validation in PHP
CVE-2024-3096
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.015, 74.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- PHP Group — versions 8.1.*, 8.2.*, 8.3.*
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, Symbolexe/SHIFU). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr (Exploit, Vendor Advisory)
- www.openwall.com/lists/oss-security/2024/04/12/11 (Mailing List)
- lists.debian.org/debian-lts-announce/2024/05/msg00005.html (Mailing List)
- security.netapp.com/advisory/ntap-20240510-0010/ (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…