Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Codeigniter | Shield | 1.0.0 |
Related Weaknesses (CWE)
References
- https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.htmlThird Party Advisory
- https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.htmlNot Applicable
- https://github.com/codeigniter4/shield/blob/develop/UPGRADING.mdVendor Advisory
- https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcPatch
- https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vgVendor Advisory
- https://www.scottbrady91.com/authentication/beware-of-password-shuckingThird Party Advisory
- https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.htmlThird Party Advisory
- https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.htmlNot Applicable
- https://github.com/codeigniter4/shield/blob/develop/UPGRADING.mdVendor Advisory
- https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcPatch
- https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vgVendor Advisory
- https://www.scottbrady91.com/authentication/beware-of-password-shuckingThird Party Advisory
FAQ
What is CVE-2023-27580?
CVE-2023-27580 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 S...
How severe is CVE-2023-27580?
CVE-2023-27580 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-27580?
Check the references section above for vendor advisories and patch information. Affected products include: Codeigniter Shield.