PT-2022-24072 · Craft Cms+1 · Craft Cms+1

Bsc

+3

·

Published

2022-12-05

·

Updated

2024-06-10

·

CVE-2022-37783

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Craft CMS versions 3.0.0 through 3.7.32
Description The issue concerns the disclosure of password hashes of users who authenticate using their E-Mail address or username in Anti-CSRF-Tokens. Craft CMS uses a cookie called CRAFT CSRF TOKEN and a HTML hidden field called CRAFT CSRF TOKEN to avoid Cross Site Request Forgery attacks. The CRAFT CSRF TOKEN cookie discloses the password hash without encoding it, whereas the corresponding HTML hidden field discloses the users' password hash in a masked manner, which can be decoded by using public functions of the YII framework.
Recommendations For Craft CMS versions 3.0.0 through 3.7.32, consider disabling the CRAFT CSRF TOKEN cookie and the corresponding HTML hidden field until a patch is available to prevent the disclosure of password hashes. Restrict access to the YII framework's public functions to minimize the risk of decoding the masked password hashes.

Exploit

Fix

Information Disclosure

Insufficiently Protected Credentials

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-37783
GHSA-H972-V458-M892

Affected Products

Craft Cms
Yii Framework