Medium severity · published Mar 13, 2023
CVE-2023-27580
CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework
5.9
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SH
Shield · Codeigniter
1.0.0; 1.0.0; 1.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-27580
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-27580
Third Party Advisory
https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.html
Not Applicable
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords
Vendor Advisory
https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md
Patch
https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b
Vendor Advisory
https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg
Third Party Advisory
https://www.scottbrady91.com/authentication/beware-of-password-shucking
More from Shield
8.8
CVE-2022-35943
Shield is an authentication and authorization framework for CodeIgniter 4
6.5
CVE-2023-48707
Cleartext Storage of Sensitive Information in codeigniter4/shield
6.5
CVE-2023-48708
Insertion of Sensitive Information into Log in codeigniter4/shield
