Cleartext Storage of Sensitive Information in HMAC SHA256 Authentication
Impact
secretKey, an important key for HMAC SHA256 authentication, was stored in the database in raw 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 person.
Patches
Upgrade to Shield v1.0.0-beta.8 or later.
After upgrading, all existing secret keys must be encrypted. See https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md for details.
Workarounds
None.
References
For more information
If you have any questions or comments about this advisory:
- Open an issue or discussion in codeigniter4/shield
- Email us at security@codeigniter.com
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | codeigniter4/shield | < 1.0.0-beta.8 | 1.0.0-beta.8 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N- Schwäche (CWE)
CWE-312- Plattform
- Composer
- Paket
codeigniter4/shield- Veröffentlicht
- 23.11.2023
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-v427-c49j-8w6x - CC BY 4.0
Schwachstellenhistorie: codeigniter4/shield
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 08.2022 11.2023
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Mittel 4
Veröffentlichungen pro Jahr
- 2022: 1
- 2023: 3
- 2024: 0
- 2025: 0
- 2026: 0
-
Cleartext Storage of Sensitive Information in HMAC SHA256 Authentication dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.