CVE-2023-48707

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductCodeigniter Shield
PublishedNov 24, 2023
First seenNov 24, 2023
Weakness typeCWE-312CWE-312

How to fix

Update
  • codeigniter4/shield1.0.0-beta.8 or later

Affected products

ProductAffected versionsFixed in
codeigniter shield1.0.0—
codeigniter4/shieldPackagistv < 1.0.0-beta.81.0.0-beta.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.