Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. born05/craft-twofactorauthentication
  4. ›
  5. CVE-2024-5658

CVE-2024-5658: Improper Authentication in CraftCMS two factor authentication plugin

June 6, 2024

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

References

  • github.com/advisories/GHSA-96qm-hwhp-2rm8
  • github.com/born05/craft-twofactorauthentication
  • github.com/born05/craft-twofactorauthentication/commit/89d2339463c0f3ee690e707d4bc8501360885289
  • github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4
  • github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use
  • nvd.nist.gov/vuln/detail/CVE-2024-5658
  • plugins.craftcms.com/two-factor-authentication?craft4

Code Behaviors & Features

Detect and mitigate CVE-2024-5658 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.3.4

Fixed versions

  • 3.3.4

Solution

Upgrade to version 3.3.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

packagist/born05/craft-twofactorauthentication/CVE-2024-5658.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.