Lucene search

K
githubGitHub Advisory DatabaseGHSA-V427-C49J-8W6X
HistoryNov 23, 2023 - 12:28 a.m.

Cleartext Storage of Sensitive Information in HMAC SHA256 Authentication

2023-11-2300:28:14
CWE-312
GitHub Advisory Database
github.com
7
cleartext storage
secretkey
hmac sha256
upgrade
shield
encryption
database
malicious access
authentication
requests
impersonation
advisory
security
codeigniter4

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

7 High

AI Score

Confidence

Low

0.0005 Low

EPSS

Percentile

18.1%

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:

Affected configurations

Vulners
Node
codeigniter4shieldRange<1.0.0-beta.8
CPENameOperatorVersion
codeigniter4/shieldlt1.0.0-beta.8

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

7 High

AI Score

Confidence

Low

0.0005 Low

EPSS

Percentile

18.1%

Related for GHSA-V427-C49J-8W6X