8.1
HIGH CVSS 3.1
CVE-2024-5657
CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure
Description

The CraftCMS plugin Two-Factor Authentication in versions 3.3.1, 3.3.2 and 3.3.3 discloses the password hash of the currently authenticated user after submitting a valid TOTP.

INFO

Published Date :

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

Last Modified :

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

Remotely Exploit :

Yes !

Source :

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

The following products are affected by CVE-2024-5657 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 LOW 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a
CVSS 3.1 HIGH [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-5657 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-5657 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-5657 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-499
    Removed CWE CWE-522
  • 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/1
    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-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure
    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:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/06/06/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/06/06/1 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-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure No Types Assigned https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure 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-522
    Added CPE Configuration OR *cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:* versions from (including) 3.3.1 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/1 [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 in versions 3.3.1, 3.3.2 and 3.3.3 discloses the password hash of the currently authenticated user after submitting a valid TOTP.
    Added Reference sba-research https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure [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-522
    Added CVSS V3.1 sba-research AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/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: 8.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact