{"id":"CVE-2024-5658","published":"2024-06-06T10:32:07Z","modified":"2025-09-03T07:08:56Z","title":"CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use","vendor":"Born05","product":"CraftCMS Plugin - Two-Factor Authentication","tier":"tail","description":{"text":"The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00588,"percentile":0.49046,"provenance":"source"},"cwes":[{"id":"CWE-303","name":"Incorrect Implementation of Authentication Algorithm"}],"references":[{"url":"https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use","tags":["third-party-advisory"]},{"url":"https://plugins.craftcms.com/two-factor-authentication?craft4","tags":["product"]},{"url":"https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/06/2","tags":[]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.81},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"born05","affectedVersions":[{"vendor":"Born05","product":"CraftCMS Plugin - Two-Factor Authentication","versions":["<= 3.3.3"]}],"solutions":{"items":["Update to version 3.3.4 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-06T13:23:29.089917Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"born05/craft-twofactorauthentication","vulnerableRanges":["<3.3.4"],"patched":["3.3.4"],"from":["GHSA-96qm-hwhp-2rm8"],"provenance":"source"}],"summary":{"text":"The Two-Factor Authentication plugin for CraftCMS, from vendor Born05, fails to invalidate TOTP tokens after they are used, so the same token can be accepted more than once within its validity window. An attacker who already has a victim's password and can reach the login endpoint over the network, and who can get the victim to take an action in the process, may be able to replay a captured one-time code to bypass the second factor.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:18Z"},"euvd":{"id":"EUVD-2024-1994","exploited":false,"provenance":"source"}}