CVE-2023-0567 HIGH

CVE-2023-0567: password_verify() always returns true for some invalid hashes

Vendor Php Group
Product PHP
Published February 16, 2023
Last update August 2, 2024

CVSS base score

7.7/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database, it may lead to an application allowing any password for this entry as valid.

Key dates

02Disclosure timeline

February 16, 2023 CVE published
August 2, 2024 Record updated