CVE-2023-27580 json
CodeIgniter Shield Password Shucking Vulnerability
published 2023-03-13 3 y ago modified 2026-06-17 4 mo ago also GHSA-c5vj-f36q-p9vg , EUVD-2023-0978
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | codeigniter4/shield | <1.0.0-beta.4 |
1.0.0-beta.4 |
Affected products
- codeigniter4 shield
Classification
- Weakness
-
- CWE-916 Use of Password Hash With Insufficient Computational Effort
References
-
github.com
/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b
web, patch
-
github.com
/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg
web, vendor-advisory
-
github.com
/codeigniter4/shield/blob/develop/UPGRADING.md
web, vendor-advisory
-
blog.ircmaxell.com
/2015/03/security-issue-combining-bcrypt-with.html
web, third-party-advisory
-
cheatsheetseries.owasp.org
/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords
web, not-applicable
-
scottbrady91.com
/authentication/beware-of-password-shucking
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-27580
advisory
-
github.com
/codeigniter4/shield
package
Sources
- CVE List CVE-2023-27580
- GitHub Advisory GHSA-c5vj-f36q-p9vg
- NVD CVE-2023-27580
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.