Use of Password Hash With Insufficient Computational Effort Affecting codeigniter4/shield package, versions <1.0.0-beta.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Password Hash With Insufficient Computational Effort vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CODEIGNITER4SHIELD-3358951
  • published14 Mar 2023
  • disclosed13 Mar 2023
  • creditjreklund

Introduced: 13 Mar 2023

CVE-2023-27580  (opens in a new tab)
CWE-916  (opens in a new tab)

How to fix?

Upgrade codeigniter4/shield to version 1.0.0-beta.4 or higher.

Overview

codeigniter4/shield is an authentication and Authorization for CodeIgniter 4

Affected versions of this package are vulnerable to Use of Password Hash With Insufficient Computational Effort due to improper implementation in the password storage process.

Note: To exploit the vulnerability, the attacker must have:

  1. The user's hashed password by Shield.

  2. The hashed password (SHA-384 hash without salt) from somewhere, then the attacker may easily crack the user's password.

References

CVSS Scores

version 3.1