PHP 8.0-8.2 password_verify Accepts Invalid Blowfish Hashes
CVE-2023-0567 Published on March 1, 2023
password_verify() always returns true for some invalid hashes
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.
Vulnerability Analysis
Weakness Type
Use of Password Hash With Insufficient Computational Effort
The software generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive.
Products Associated with CVE-2023-0567
stack.watch emails you whenever new vulnerabilities are published in Canonical Ubuntu Linux or PHP. Just hit a watch button to start following.
Affected Versions
PHP Group PHP:- Version 8.0.x and below 8.0.28 is affected.
- Version 8.1.x and below 8.1.16 is affected.
- Version 8.2.x and below 8.2.3 is affected.
- Version 8.0.0 and below 80.28 is affected.
- Version 8.1.0 and below 8.1.16 is affected.
- Version 8.2.0 and below 8.2.3 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.