Skip to content

CVE-2023-27580 CodeIgniter Shield Password Shucking Vulnerability

MediumCVSS 5.9 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHP

Description

CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. Therefore, they should be removed as soon as possible. If an attacker gets (1) the user's hashed password by Shield, and (2) the hashed password (SHA-384 hash without salt) from somewhere, the attacker may easily crack the user's password. Upgrade to Shield v1.0.0-beta.4 or later to fix this issue. After upgrading, all users’ hashed passwords should be updated (saved to the database). There are no known workarounds.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
codeigniter4/shield(Packagist) < 1.0.0-beta.4; = v1.0.0-beta; = v1.0.0-beta.2; = v1.0.0-beta.3 1.0.0-beta.4 Fixed
codeigniter shield = 1.0.0-beta; = 1.0.0-beta2; = 1.0.0-beta3 No fix listed Versions listed
codeigniter4/shield = < 1.0.0-beta.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
codeigniter4/shield(Packagist) < 1.0.0-beta.4 1.0.0-beta.4
codeigniter4/shield(Packagist) = v1.0.0-beta No fix listed
codeigniter4/shield(Packagist) = v1.0.0-beta.2 No fix listed
codeigniter4/shield(Packagist) = v1.0.0-beta.3 No fix listed
codeigniter4/shield = < 1.0.0-beta.4 No fix listed
codeigniter shield = 1.0.0-beta No fix listed
codeigniter shield = 1.0.0-beta2 No fix listed
codeigniter shield = 1.0.0-beta3 No fix listed

References