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

7.7HIGH

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
1 March 2023

What is CVE-2023-0567?

A vulnerability in multiple PHP versions could allow the password_verify() function to mistakenly validate invalid Blowfish hashes. If compromised, this flaw may lead to unauthorized access, where any password could be accepted for an affected user account. It highlights critical security implications for applications utilizing flawed password storage mechanisms.

Affected Version(s)

PHP 8.0.x

PHP 8.0.x < 8.0.28

PHP 8.1.x < 8.1.16

References

CVSS V3.1

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Tim DĂĽsterhus
tech at mkdgs dot fr
.