PHP up to 8.0.27/8.1.15/8.2.2 Blowfish Hash password_verify incorrect implementation of authentication algorithm

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability has been found in PHP up to 8.0.27/8.1.15/8.2.2 and classified as problematic. Impacted is the function password_verify of the component Blowfish Hash Handler. The manipulation leads to incorrect implementation of authentication algorithm. This vulnerability is traded as CVE-2023-0567. It is possible to initiate the attack remotely. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PHP up to 8.0.27/8.1.15/8.2.2 (Programming Language Software). It has been rated as problematic. This issue affects the function password_verify of the component Blowfish Hash Handler. The manipulation with an unknown input leads to a incorrect implementation of authentication algorithm vulnerability. Using CWE to declare the problem leads to CWE-303. The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was shared 03/01/2023 as 81744. The advisory is shared at github.com. The identification of this vulnerability is CVE-2023-0567 since 01/29/2023. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 212411 (RHEL 8 : php:7.4 (RHSA-2024:10952)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 8.0.28, 8.1.16 or 8.2.3 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (212411). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 7.0

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.2
NVD Vector: 🔍

CNA Base Score: 8.1
CNA Vector (PHP Group): 🔍

ADP CISA Base Score: 8.1
ADP CISA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Incorrect implementation of authentication algorithm
CWE: CWE-303
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 212411
Nessus Name: RHEL 8 : php:7.4 (RHSA-2024:10952)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 8.0.28/8.1.16/8.2.3

Timelineinfo

01/29/2023 🔍
03/01/2023 +31 days 🔍
03/01/2023 +0 days 🔍
02/25/2026 +1092 days 🔍

Sourcesinfo

Product: php.org

Advisory: 81744
Status: Confirmed

CVE: CVE-2023-0567 (🔍)
GCVE (CVE): GCVE-0-2023-0567
GCVE (VulDB): GCVE-100-222029

Entryinfo

Created: 03/01/2023 10:09
Updated: 02/25/2026 23:52
Changes: 03/01/2023 10:09 (51), 08/01/2024 20:14 (26), 12/11/2024 22:48 (2), 02/25/2026 23:52 (11)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!