# CVE-2024-5657: CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure

- Severity: Low 3.7 (CVSS:3.1, scored by sba-research) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-06-06T10:29:40.393Z
- Modified: 2026-06-17T08:16:22.547Z
- Also known as: GHSA-3p4x-grpm-xw58
- Weaknesses: CWE-200, CWE-499, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: sba-research

## 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.

(As written by CVE List.)

## Affected

- Born05 CraftCMS Plugin - Two-Factor Authentication: from 3.3.1 up to 3.3.3
- born05/craft-twofactorauthentication (Packagist): from 3.3.1 before 3.3.4
- born05 two-factor_authentication: from 3.3.1 before 3.3.4

## Every score

- sba-research: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <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)
- <http://www.openwall.com/lists/oss-security/2024/06/06/1> (exploit, mailing-list, third-party-advisory, web)
- <https://plugins.craftcms.com/two-factor-authentication?craft4> (product, web)
- <https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4> (release-notes, 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)

## Sources

- CVE List: [CVE-2024-5657](https://www.cve.org/CVERecord?id=CVE-2024-5657), CVE Terms of Use, modified 2025-09-03
- GitHub Advisory Database: [GHSA-3p4x-grpm-xw58](https://github.com/advisories/GHSA-3p4x-grpm-xw58), CC-BY-4.0, modified 2024-06-10
- NVD: [CVE-2024-5657](https://nvd.nist.gov/vuln/detail/CVE-2024-5657), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5657 · Whole record: https://cve.day/CVE-2024-5657.json · Rebuilt by cve.day 2026-11-25T22:58:41.479Z
