What’s Vulnerable › Vulnerabilities
CVE-2023-48707: Cleartext Storage of Sensitive Information in codeigniter4/shield
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-24 · updated 2026-06-17
- Weakness: CWE-312
Description
CodeIgniter Shield is an authentication and authorization provider for CodeIgniter 4. The `secretKey` value is an important key for HMAC SHA256 authentication and in affected versions was stored in the database in cleartext form. If a malicious person somehow had access to the data in the database, they could use the key and secretKey for HMAC SHA256 authentication to send requests impersonating that corresponding user. This issue has been addressed in version 1.0.0-beta.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- codeigniter4 shield: 1.0.0-beta, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.0.0-beta5, 1.0.0-beta6 (+1)
References
- https://github.com/codeigniter4/shield/commit/f77c6ae20275ac1245330a2b9a523bf7e6f6202f
- https://github.com/codeigniter4/shield/security/advisories/GHSA-v427-c49j-8w6x
- https://github.com/codeigniter4/shield/commit/f77c6ae20275ac1245330a2b9a523bf7e6f6202f
- https://github.com/codeigniter4/shield/security/advisories/GHSA-v427-c49j-8w6x
Get alerted when CVE-2023-48707 or the next vulnerability affects your stack