Vulnerability · Published Nov 24, 2023 · Assigned by GitHub_M
CVE-2023-48707Cleartext Storage of Sensitive Information in codeigniter4/shield
Medium 5.0
In plain English
A medium-severity security flaw in shield from codeigniter4. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | codeigniter4/shield | 1.0.0-beta.8 | GHSA-v427-c49j-8w6x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| codeigniter4 | shield | < 1.0.0-beta.8 |
Weakness: CWE-312 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N