{"id":"CVE-2024-5657","aliases":["CVE-2024-5657","GHSA-3p4x-grpm-xw58"],"related":[],"kind":"vulnerability","state":"published","title":"CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El complemento CraftCMS Autenticación de dos factores en las versiones 3.3.1, 3.3.2 y 3.3.3 revela el hash de contraseña del usuario actualmente autenticado después de enviar un TOTP válido.","source":"nvd"}],"published":"2024-06-06T10:29:40.393Z","modified":"2026-06-17T08:16:22.547Z","severity":{"scorer":"sba-research","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"sba-research","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-200","CWE-499","CWE-522"],"affected":[{"ranges":[{"type":"custom","introduced":"3.3.1","lastAffected":"3.3.3","status":"affected"}],"vendor":"Born05","product":"CraftCMS Plugin - Two-Factor Authentication","repo":"https://github.com/born05/craft-twofactorauthentication","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.3.1","status":"affected","fixed":"3.3.4"}],"ecosystem":"Packagist","package":"born05/craft-twofactorauthentication","purl":"pkg:composer/born05/craft-twofactorauthentication","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.3.1","fixed":"3.3.4"}],"vendor":"born05","product":"two-factor_authentication","cpe":"cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://plugins.craftcms.com/two-factor-authentication?craft4","tags":["product","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/06/1","tags":["exploit","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5657","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/born05/craft-twofactorauthentication/commit/eb93bcb73037171dae8ca5cfa4c20e7e5748b73a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/born05/craft-twofactorauthentication","tags":["package"],"sources":["ghsa"]}],"credits":["Fabian Funder (SBA Research)","Jakob Pachmann (SBA Research)"],"assigner":"sba-research","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-06T15:45:33.517Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5657","url":"https://www.cve.org/CVERecord?id=CVE-2024-5657","licence":"CVE Terms of Use","modified":"2025-09-03T07:13:32.028Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3p4x-grpm-xw58","url":"https://github.com/advisories/GHSA-3p4x-grpm-xw58","licence":"CC-BY-4.0","modified":"2024-06-10T20:40:45.895Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5657","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5657","licence":"Public domain","modified":"2026-06-17T08:16:22.547Z"}],"updatedAt":"2026-11-25T22:58:41.479Z","epss":{"score":0.00832,"percentile":0.58712,"date":"2026-12-01T12:00:22.000Z"}}