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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-30949An issue in newlib v.4.3.0 allows an attacker to execute arb…9.8
- CVE-2024-3095A Server-Side Request Forgery (SSRF) vulnerability exists in…7.7
- CVE-2024-30950A stored cross-site scripting (XSS) vulnerability in FUDforu…3.5
- CVE-2024-30951FUDforum v3.1.3 was discovered to contain a reflected cross-…6.1
- CVE-2024-30952A stored cross-site scripting (XSS) vulnerability in PESCMS-…6.1
- CVE-2024-30953A stored cross-site scripting (XSS) vulnerability in Htmly v…6.1
- CVE-2024-30961Insecure Permissions vulnerability in Open Robotics Robotic …7.8
- CVE-2024-30962Buffer Overflow vulnerability in Open Robotics Robotic Opera…7.8
- CVE-2024-30963Buffer Overflow vulnerability in Open Robotics Robotic Opera…7.8
- CVE-2024-30964Insecure Permissions vulnerability in Open Robotics Robotic …7.8
- CVE-2024-30965DedeCMS v5.7 was discovered to contain a Cross-Site Request …8.8
- CVE-2024-3097The WordPress Gallery Plugin – NextGEN Gallery plugin for Wo…5.3
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
