{"id":"CVE-2024-5658","state":"PUBLISHED","title":"CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use","description":"The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.","publishedAt":"2024-06-06T10:32:07.239Z","updatedAt":"2025-09-03T07:08:56.470Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","source":"sba-research"},"assigner":"sba-research","products":["Born05 CraftCMS Plugin - Two-Factor Authentication"],"affected":[{"vendor":"Born05","product":"CraftCMS Plugin - Two-Factor Authentication","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.3.3","versionType":"custom"}],"repo":"https://github.com/born05/craft-twofactorauthentication"}],"references":["https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use","https://plugins.craftcms.com/two-factor-authentication?craft4","https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4","http://www.openwall.com/lists/oss-security/2024/06/06/2"],"weaknesses":["CWE-303"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/5xxx/CVE-2024-5658.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5658","state":"PUBLISHED","datePublished":"2024-06-06T10:32:07.239Z","dateUpdated":"2025-09-03T07:08:56.470Z","assignerShortName":"sba-research","assignerOrgId":"1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a","dateReserved":"2024-06-05T16:36:00.494Z"},"containers":{"cna":{"title":"CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use","descriptions":[{"lang":"en","value":"The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period."}],"affected":[{"vendor":"Born05","product":"CraftCMS Plugin - Two-Factor Authentication","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.3.3","versionType":"custom"}],"repo":"https://github.com/born05/craft-twofactorauthentication"}],"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"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-303","description":"CWE-303 Incorrect Implementation of Authentication Algorithm","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"sba-research","orgId":"1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a","dateUpdated":"2025-09-03T07:08:56.470Z"},"credits":[{"lang":"en","type":"finder","value":"Fabian Funder (SBA Research)"},{"lang":"en","type":"finder","value":"Jakob Pachmann (SBA Research)"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Update to version 3.3.4 or later."}],"value":"Update to version 3.3.4 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"born05","product":"craft_cms","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.3.3","versionType":"custom"}],"cpes":["cpe:2.3:a:born05:craft_cms:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-06T13:23:29.089917Z","id":"CVE-2024-5658","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-06T13:24:57.494Z"}},{"title":"CVE Program Container","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","x_transferred"]},{"url":"https://plugins.craftcms.com/two-factor-authentication?craft4","tags":["product","x_transferred"]},{"url":"https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4","tags":["release-notes","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/06/2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:18:06.856Z"}}]}}}