{"id":"CVE-2024-5657","summary":"CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure","details":"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.","aliases":["GHSA-3p4x-grpm-xw58"],"modified":"2026-08-27T03:57:03.475768618Z","published":"2024-06-06T10:29:40.393Z","database_specific":{"cwe_ids":["CWE-499"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5657.json","cna_assigner":"sba-research"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/06/06/1"},{"type":"WEB","url":"https://plugins.craftcms.com/two-factor-authentication?craft4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5657.json"},{"type":"ADVISORY","url":"https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4"},{"type":"ADVISORY","url":"https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5657"},{"type":"PACKAGE","url":"https://github.com/born05/craft-twofactorauthentication"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/roelvanhintum/craft-twofactorauthentication","events":[{"introduced":"c7c99b8ae94e5cdf73339304e1970d2e3965cd17"},{"fixed":"95af537ff3de0fe699d7f9a16a349fa870089387"}],"database_specific":{"extracted_events":[{"introduced":"3.3.1"},{"last_affected":"3.3.3"},{"fixed":"3.3.4"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:*"}}],"versions":["3.3.3","3.3.2","3.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5657.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}