6.5
MEDIUM
CVE-2024-5658
CraftCMS Two-Factor Token Reuse Vulnerability
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 :

June 11, 2024, 6:21 p.m.

Source :

1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
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
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-5658.

URL Resource
http://www.openwall.com/lists/oss-security/2024/06/06/2 Exploit Mailing List Third Party Advisory
https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 Release Notes
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
https://plugins.craftcms.com/two-factor-authentication?craft4 Product

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.

  • 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.
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:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability