CVE-2024-5657
HIGH 8.1CVSS 3.1Password hash exposed in CraftCMS two factor authentication plugin
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.
- Published
- 6 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a
- NVD status
- Modified
- Weakness
- CWE-200CWE-499CWE-522
- Also known as
- GHSA-3p4x-grpm-xw58
- Sources
- NVDJSONOSV GHSA-3p4x-grpm-xw58JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | born05 | two-factor_authenticationcpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:* |
>= 3.3.1, < 3.3.4 | 3.3.4 |
| OSV | Packagist | born05/craft-twofactorauthentication | >= 3.3.1, < 3.3.4 | 3.3.4 |
References
- http://www.openwall.com/lists/oss-security/2024/06/06/1 · Exploit, Mailing List, Third Party Advisory, WEB
- https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 · Release Notes, WEB
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure · Exploit, Third Party Advisory, WEB
- https://plugins.craftcms.com/two-factor-authentication?craft4 · Product, WEB
- 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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 6 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jun 2024)