Advisory

GHSA-h972-v458-m892

Also known as: CVE-2022-37783

Summary

Craft CMS discloses password hashes

Details

All Craft CMS versions between 3.0.0 and 3.7.32 disclose 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 in 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-05 21:30 UTC
Modified
2024-06-10 19:19 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.7.33 (ecosystem)

Fixed versions

3.7.33

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences