CVE-2023-48707

Cleartext Storage of Sensitive Information in codeigniter4/shield

State
Published
Severity
5.0 Medium
Published
Nov 24, 2023
Updated
Aug 2, 2024
Reserved
Nov 17, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-312 Cleartext Storage of Sensitive Information

Affected Products

ProductVersions
shieldcodeigniter4
  • < 1.0.0-beta.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.