CVE-2023-27580Codeigniter Shield
Medium 5.9 No auth needed
Follow: this CVE · Codeigniter · Codeigniter Shield We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 45
- Auth required
- No
- Published
- Mar 13, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-916
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Shield.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | codeigniter4/shield |
< 1.0.0-beta.4 |
1.0.0-beta.4 |
composer require "codeigniter4/shield:^1.0.0-beta.4" |
Per OSV / GitHub Advisories (GHSA-c5vj-f36q-p9vg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| codeigniter | shield | 1.0.0 |
| codeigniter | shield | 1.0.0 |
| codeigniter | shield | 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.ircmaxell.com Third Party Advisory
- cheatsheetseries.owasp.org Not Applicable
- github.com Vendor Advisory
- github.com Patch
- github.com Vendor Advisory
- www.scottbrady91.com Third Party Advisory