6.5

CVE-2024-3096

Exploit

PHP function password_verify can erroneously return true when argument contains NUL

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
PhpPhp Version >= 8.1.0 < 8.1.28
PhpPhp Version >= 8.2.0 < 8.2.18
PhpPhp Version >= 8.3.0 < 8.3.5
DebianDebian Linux Version10.0
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 1.07% 0.771
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security@php.net 6.5 2.8 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE-20 Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.