Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-v427-c49j-8w6x

Опубликовано: 23 нояб. 2023
Источник: github
Github: Прошло ревью
CVSS3: 5

Описание

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:

Пакеты

Наименование

codeigniter4/shield

composer
Затронутые версииВерсия исправления

< 1.0.0-beta.8

1.0.0-beta.8

EPSS

Процентиль: 19%
0.00059
Низкий

5 Medium

CVSS3

Дефекты

CWE-312

Связанные уязвимости

CVSS3: 5
nvd
около 2 лет назад

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.

EPSS

Процентиль: 19%
0.00059
Низкий

5 Medium

CVSS3

Дефекты

CWE-312