CVE-2024-3096

Severity
6.5MEDIUM
EPSS
1.1%
top 22.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 29
Latest updateMay 2

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NExploitability: 2.8 | Impact: 3.6

Affected Packages4 packages

NVDphp/php8.1.08.1.28+2
CVEListV5php_group/php8.1.*8.1.28+2
Debianphp7.4< 7.4.33-1+deb11u5
Debianphp8.2< 8.2.18-1~deb12u1

Also affects: Debian Linux 10.0

🔴Vulnerability Details

4
OSV
php7.4, php8.1, php8.2 vulnerabilities2024-05-02
OSV
CVE-2024-3096: In PHP version 82024-04-29
CVEList
PHP function password_verify can erroneously return true when argument contains NUL2024-04-29
OSV
php7.0, php7.2, php7.4, php8.1 vulnerabilities2024-04-29

📋Vendor Advisories

5
Ubuntu
PHP vulnerabilities2024-05-02
Ubuntu
PHP vulnerabilities2024-04-29
Red Hat
php: password_verify can erroneously return true, opening ATO risk2024-04-12
Microsoft
PHP function password_verify can erroneously return true when argument contains NUL2024-04-09
Debian
CVE-2024-3096: php7.4 - In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if...2024
CVE-2024-3096 (MEDIUM CVSS 6.5) | In PHP version 8.1.* before 8.1.28 | cvebase.io