CVE-2023-27580
CVE-2023-27580 is a high-severity vulnerability in Codeigniter Shield with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-916.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-916
- Affected product: Codeigniter Shield
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-27580?
- 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.
- How severe is CVE-2023-27580?
- CVE-2023-27580 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2023-27580 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-27580?
- CVE-2023-27580 primarily affects Codeigniter Shield. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-27580?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-27580 published?
- CVE-2023-27580 was published on 2023-03-13 and last updated on 2026-06-17.
References
- https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.html
- https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords
- https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md
- https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b
- https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg
- https://www.scottbrady91.com/authentication/beware-of-password-shucking
Affected products (3)
- cpe:2.3:a:codeigniter:shield:1.0.0:beta:*:*:*:*:*:*
- cpe:2.3:a:codeigniter:shield:1.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:codeigniter:shield:1.0.0:beta3:*:*:*:*:*:*
More vulnerabilities in Codeigniter Shield
- CVE-2022-35943 — Medium (CVSS 5.9): Shield is an authentication and authorization framework for CodeIgniter 4. This vulnerability may allow [SameSite…
- CVE-2023-48708 — Medium (CVSS 5.0): CodeIgniter Shield is an authentication and authorization provider for CodeIgniter 4. In affected versions successful…
- CVE-2023-48707 — Medium (CVSS 5.0): CodeIgniter Shield is an authentication and authorization provider for CodeIgniter 4. The `secretKey` value is an…
All CVEs affecting Codeigniter Shield →
Other CWE-916 vulnerabilities
- CVE-2020-14516 — Critical (CVSS 10.0): In Rockwell Automation FactoryTalk Services Platform Versions 6.10.00 and 6.11.00, there is an issue with the…
- CVE-2026-30789 — Critical (CVSS 9.8): Use of Password Hash With Insufficient Computational Effort, Improper Restriction of Excessive Authentication Attempts…
- CVE-2024-5743 — Critical (CVSS 9.8): An attacker could exploit the 'Use of Password Hash With Insufficient Computational Effort' vulnerability in EveHome…
- CVE-2021-36767 — Critical (CVSS 9.8): In Digi RealPort through 4.10.490, authentication relies on a challenge-response mechanism that gives access to the…
- CVE-2021-32519 — Critical (CVSS 9.8): Use of password hash with insufficient computational effort vulnerability in QSAN Storage Manager, XEVO, SANOS allows…
- CVE-2019-17216 — Critical (CVSS 9.8): An issue was discovered on V-Zug Combi-Steam MSLQ devices before Ethernet R07 and before WLAN R05. Password…