What’s Vulnerable › Vulnerabilities
CVE-2024-5657: CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-499
Description
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.
Affected products
- Born05 CraftCMS Plugin - Two-Factor Authentication: from 3.3.1 before 3.3.4 — fixed in 3.3.4
How to fix
Upgrade to a fixed version: Born05 CraftCMS Plugin - Two-Factor Authentication 3.3.4. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2024/06/06/1
- https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure
- https://plugins.craftcms.com/two-factor-authentication?craft4
- http://www.openwall.com/lists/oss-security/2024/06/06/1
- https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure
- https://plugins.craftcms.com/two-factor-authentication?craft4
Get alerted when CVE-2024-5657 or the next vulnerability affects your stack