{"id":"CVE-2023-48707","published":"2023-11-24T17:23:34Z","modified":"2024-08-02T21:37:54Z","title":"Cleartext Storage of Sensitive Information in codeigniter4/shield","vendor":"codeigniter4","product":"shield","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00334,"percentile":0.27052,"provenance":"source"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"references":[{"url":"https://github.com/codeigniter4/shield/security/advisories/GHSA-v427-c49j-8w6x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codeigniter4/shield/commit/f77c6ae20275ac1245330a2b9a523bf7e6f6202f","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":5.41},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"codeigniter4","affectedVersions":[{"vendor":"codeigniter4","product":"shield","versions":["< 1.0.0-beta.8"]}],"affected":[{"ecosystem":"Packagist","package":"codeigniter4/shield","vulnerableRanges":["<1.0.0-beta.8"],"patched":["1.0.0-beta.8"],"from":["GHSA-v427-c49j-8w6x"],"provenance":"source"}],"summary":{"text":"The codeigniter4/shield product, an authentication and authorization provider for CodeIgniter 4, stores the secretKey used for HMAC SHA256 authentication in cleartext in its database in affected versions. An attacker who can read the database contents, which requires high privileges and a network-reachable position, could use the stolen key and secretKey to impersonate the corresponding user by sending HMAC-authenticated requests.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:18Z"},"euvd":{"id":"EUVD-2023-3035","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-codeigniter4-shield-cve-2023-48707","children":[{"from":"CVE-2023-48707","to":"CVE-2023-48708","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Authentication/Authenticators/HmacSha256.php"],"commits":["https://github.com/codeigniter4/shield/commit/f77c6ae20275ac1245330a2b9a523bf7e6f6202f","https://github.com/codeigniter4/shield/commit/7e84c3fb3411294f70890819bfe51781bb9dc8e4"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-35943","published":"2022-08-12","fixed":"1.0.0-beta.2","kev":false},{"cve":"CVE-2023-27580","published":"2023-03-13","fixed":"1.0.0-beta.4","kev":false,"link":{"from":"CVE-2023-27580","to":"CVE-2023-48707","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/shield","fromFixed":"1.0.0-beta.4","toFixed":"1.0.0-beta.8","daysApart":256}]}},{"cve":"CVE-2023-48707","published":"2023-11-24","fixed":"1.0.0-beta.8","kev":false},{"cve":"CVE-2023-48708","published":"2023-11-24","fixed":"1.0.0-beta.8","kev":false}],"package":"Packagist:codeigniter4/shield"}}