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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/codeigniter4/shield/security/advisories/GHSA-v427-c49j-8w6x
Scores
CVSS v3
5.0
EPSS
0.0028
EPSS Percentile
19.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
Details
CWE
CWE-312
Status
published
Products (2)
codeigniter/shield
1.0.0 beta (7 CPE variants)
codeigniter4/shield
0 - 1.0.0-beta.8Packagist
Published
Nov 24, 2023
Tracked Since
Feb 18, 2026