CVE Vulnerabilities

CVE-2023-48707

Cleartext Storage of Sensitive Information

Published: Nov 24, 2023 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.

Affected Software

Name Vendor Start Version End Version
Shield Codeigniter 1.0.0-beta (including) 1.0.0-beta (including)
Shield Codeigniter 1.0.0-beta2 (including) 1.0.0-beta2 (including)
Shield Codeigniter 1.0.0-beta3 (including) 1.0.0-beta3 (including)
Shield Codeigniter 1.0.0-beta4 (including) 1.0.0-beta4 (including)
Shield Codeigniter 1.0.0-beta5 (including) 1.0.0-beta5 (including)
Shield Codeigniter 1.0.0-beta6 (including) 1.0.0-beta6 (including)
Shield Codeigniter 1.0.0-beta7 (including) 1.0.0-beta7 (including)

Potential Mitigations

References