{"id":"GHSA-96qm-hwhp-2rm8","aliases":["CVE-2024-5658"],"title":"Improper Authentication in CraftCMS two factor authentication plugin","description":"The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.","severity":"medium","score":4.8,"published":"2024-06-06T12:30:36.000Z","modified":"2024-06-10T20:55:45.422Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"born05/craft-twofactorauthentication","ranges":[{"events":[{"introduced":"0"},{"fixed":"3.3.4"}],"type":"ECOSYSTEM"}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","1.0.0","1.0.1","1.1.0","2.0.0","2.0.0-beta","2.0.0-beta.1","2.0.0-beta.10","2.0.0-beta.11","2.0.0-beta.12","2.0.0-beta.13","2.0.0-beta.14","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0-beta.9","2.0.1","2.1.0","2.1.0-beta.1","2.1.0-beta.2","2.1.1","2.1.2","2.10.0","2.10.1","2.11.0","2.11.1","2.2.0","2.3.0","2.4.0","2.5.0","2.6.0","2.6.1","2.6.2","2.6.3","2.7.0","2.7.0-beta.1","2.7.1","2.7.2","2.7.3","2.7.3.1","2.7.4","2.8.0","2.8.1","2.9.0","3.0.0","3.0.0-beta.1","3.0.1","3.1.0","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3"],"fixed":["3.3.4"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-5658","https://github.com/born05/craft-twofactorauthentication/commit/89d2339463c0f3ee690e707d4bc8501360885289","https://github.com/born05/craft-twofactorauthentication","https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4","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","http://www.openwall.com/lists/oss-security/2024/06/06/2"],"sources":[{"name":"OSV","id":"GHSA-96qm-hwhp-2rm8","modified":"2024-06-10T20:55:45.422125Z","url":"https://osv.dev/vulnerability/GHSA-96qm-hwhp-2rm8"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8}]}