CVE-2024-5658
MEDIUM 6.5CVSS 3.1Improper Authentication in CraftCMS two factor authentication plugin
The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
- Published
- 6 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a
- NVD status
- Modified
- Weakness
- CWE-287CWE-303
- Also known as
- GHSA-96qm-hwhp-2rm8
- Sources
- NVDJSONOSV GHSA-96qm-hwhp-2rm8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | born05 | two-factor_authenticationcpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:* |
< 3.3.4 | 3.3.4 |
| OSV | Packagist | born05/craft-twofactorauthentication | < 3.3.4 | 3.3.4 |
References
- http://www.openwall.com/lists/oss-security/2024/06/06/2 · Exploit, Mailing List, Third Party Advisory, WEB
- https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 · Release Notes, WEB
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use · Exploit, Third Party Advisory, WEB
- https://plugins.craftcms.com/two-factor-authentication?craft4 · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-5658 · ADVISORY
- https://github.com/born05/craft-twofactorauthentication/commit/89d2339463c0f3ee690e707d4bc8501360885289 · WEB
- https://github.com/born05/craft-twofactorauthentication · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 6 Jun 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Jun 2024)