CVE-2024-3096
Last modified
CVE-2024-3096 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 1.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.28 |
| Php | Php | >= 8.2.0, < 8.2.18 |
| Php | Php | >= 8.3.0, < 8.3.5 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmrExploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240510-0010/Third Party Advisory
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmrExploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240510-0010/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-3096?
How severe is CVE-2024-3096?
How do I fix CVE-2024-3096?
Are you affected by CVE-2024-3096?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
