CVE-2023-27580
Summary
| CVE | CVE-2023-27580 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-03-13 18:15:00 UTC |
| Updated | 2023-03-23 15:13:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-916
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Codeigniter | Shield | 1.0.0 | beta | All | All |
| Application | Codeigniter | Shield | 1.0.0 | beta2 | All | All |
| Application | Codeigniter | Shield | 1.0.0 | beta3 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| shield/UPGRADING.md at develop · codeigniter4/shield · GitHub | MISC | github.com | |
| Password Shucking Vulnerability · Advisory · codeigniter4/shield · GitHub | MISC | github.com | |
| Security Issue: Combining Bcrypt With Other Hash Functions | ircmaxell's Blog | MISC | blog.ircmaxell.com | |
| Password Storage - OWASP Cheat Sheet Series | MISC | cheatsheetseries.owasp.org | |
| Beware of Password Shucking | MISC | www.scottbrady91.com | |
| Merge pull request from GHSA-c5vj-f36q-p9vg · codeigniter4/shield@ea9688d · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.