CVE-2024-3096

MEDIUM

PHP 8.1.0-8.1.27, 8.2.0-8.2.17, 8.3.0-8.3.4 - Authentication Bypass via Null Byte Prefix in Hashed Password

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.5
EPSS 0.0107
EPSS Percentile 78.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-20
Status published
Products (2)
debian/debian_linux 10.0
php/php 8.1.0 - 8.1.28
Published Apr 29, 2024
Tracked Since Feb 18, 2026