{"id":"CVE-2023-27580","published":"2023-03-13T17:14:58Z","modified":"2025-02-25T14:58:30Z","title":"CodeIgniter Shield Password Shucking Vulnerability","vendor":"codeigniter4","product":"shield","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00637,"percentile":0.4507,"provenance":"source"},"cwes":[{"id":"CWE-916","name":"Use of Password Hash With Insufficient Computational Effort"}],"references":[{"url":"https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b","tags":["x_refsource_MISC"]},{"url":"https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.html","tags":["x_refsource_MISC"]},{"url":"https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords","tags":["x_refsource_MISC"]},{"url":"https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md","tags":["x_refsource_MISC"]},{"url":"https://www.scottbrady91.com/authentication/beware-of-password-shucking","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":9.01},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"codeigniter4","affectedVersions":[{"vendor":"codeigniter4","product":"shield","versions":["< 1.0.0-beta.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-25T14:31:16.695445Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"codeigniter4/shield","vulnerableRanges":["<1.0.0-beta.4"],"patched":["1.0.0-beta.4"],"from":["GHSA-c5vj-f36q-p9vg"],"provenance":"source"}],"summary":{"text":"The CodeIgniter Shield authentication library for the CodeIgniter 4 PHP framework has an improper password storage implementation that makes stored password hashes much easier to crack than expected. An attacker who obtains a user's Shield-generated hash and also obtains that user's unsalted SHA-384 hash from another source can crack the password, and the attack requires no authentication, no user interaction, and only network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:17Z"},"euvd":{"id":"EUVD-2023-0978","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-codeigniter4-shield-cve-2022-35943","parents":[{"from":"CVE-2022-35943","to":"CVE-2023-27580","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/shield","fromFixed":"1.0.0-beta.2","toFixed":"1.0.0-beta.4","daysApart":213},{"kind":"same-code","provenance":"machine","files":["src/Authentication/Authenticators/Session.php"],"commits":["https://github.com/codeigniter4/shield/commit/342a368536678621998c3c41d276480cd14ec6c6","https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-35943","published":"2022-08-12","fixed":"1.0.0-beta.2","kev":false},{"cve":"CVE-2023-27580","published":"2023-03-13","fixed":"1.0.0-beta.4","kev":false},{"cve":"CVE-2023-48707","published":"2023-11-24","fixed":"1.0.0-beta.8","kev":false,"link":{"from":"CVE-2023-27580","to":"CVE-2023-48707","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/shield","fromFixed":"1.0.0-beta.4","toFixed":"1.0.0-beta.8","daysApart":256}]}},{"cve":"CVE-2023-48708","published":"2023-11-24","fixed":"1.0.0-beta.8","kev":false,"link":{"from":"CVE-2023-27580","to":"CVE-2023-48708","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/shield","fromFixed":"1.0.0-beta.4","toFixed":"1.0.0-beta.8","daysApart":256}]}}],"package":"Packagist:codeigniter4/shield"}}