LOW3.7
GHSA-3p4x-grpm-xw58
Password hash exposed in CraftCMS two factor authentication plugin
Quick fix
GHSA-3p4x-grpm-xw58 — born05/craft-twofactorauthentication: upgrade to the fixed version with the command below.
composer require born05/craft-twofactorauthentication:^3.3.4Details
The CraftCMS plugin Two-Factor Authentication in versions 3.3.1, 3.3.2 and 3.3.3 discloses the password hash of the currently authenticated user after submitting a valid TOTP.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/born05/craft-twofactorauthentication
Introduced in:
3.3.1Fixed in: 3.3.4Fix
composer require born05/craft-twofactorauthentication:^3.3.4References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5657[ADVISORY]
- https://github.com/born05/craft-twofactorauthentication/commit/eb93bcb73037171dae8ca5cfa4c20e7e5748b73a[WEB]
- https://github.com/born05/craft-twofactorauthentication[PACKAGE]
- https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4[WEB]
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure[WEB]
- https://plugins.craftcms.com/two-factor-authentication?craft4[WEB]
- http://www.openwall.com/lists/oss-security/2024/06/06/1[WEB]