6.5
MEDIUM CVSS 3.1
CVE-2024-5658
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.

INFO

Published Date :

June 6, 2024, 11:15 a.m.

Last Modified :

Sept. 3, 2025, 7:15 a.m.

Remotely Exploit :

Yes !

Source :

1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a
Affected Products

The following products are affected by CVE-2024-5658 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Born05 two-factor_authentication
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a
CVSS 3.1 MEDIUM [email protected]
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-5658 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-5658 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-5658 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a

    Sep. 03, 2025

    Action Type Old Value New Value
    Added CWE CWE-303
    Removed CWE CWE-287
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/06/06/2
    Added Reference https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4
    Added Reference https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use
    Added Reference https://plugins.craftcms.com/two-factor-authentication?craft4
  • Initial Analysis by [email protected]

    Jun. 11, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/06/06/2 No Types Assigned http://www.openwall.com/lists/oss-security/2024/06/06/2 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 No Types Assigned https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 Release Notes
    Changed Reference Type https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use No Types Assigned 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
    Changed Reference Type https://plugins.craftcms.com/two-factor-authentication?craft4 No Types Assigned https://plugins.craftcms.com/two-factor-authentication?craft4 Product
    Added CWE NIST CWE-287
    Added CPE Configuration OR *cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:* versions up to (excluding) 3.3.4
  • CVE Modified by 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a

    Jun. 10, 2024

    Action Type Old Value New Value
    Added Reference sba-research http://www.openwall.com/lists/oss-security/2024/06/06/2 [No types assigned]
  • CVE Received by 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a

    Jun. 06, 2024

    Action Type Old Value New Value
    Added Description The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
    Added Reference sba-research https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use [No types assigned]
    Added Reference sba-research https://plugins.craftcms.com/two-factor-authentication?craft4 [No types assigned]
    Added Reference sba-research https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 [No types assigned]
    Added CWE sba-research CWE-287
    Added CVSS V3.1 sba-research AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact