CVE-2024-5657 json
CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure
published 2024-06-06 2 y ago modified 2026-06-17 4 mo ago also GHSA-3p4x-grpm-xw58 , EUVD-2024-1903
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist born05/craft-twofactorauthentication 3.3.4
- born05 two-factor_authentication 3.3.4
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2024/06/06/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | born05/craft-twofactorauthentication | >=3.3.1, <3.3.4 |
3.3.4 |
Affected products
- Born05 CraftCMS Plugin - Two-Factor Authentication
Classification
References
-
github.com
/born05/craft-twofactorauthentication/commit/eb93bcb73037171dae8ca5cfa4c20e7e5748b73a
web
-
github.com
/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Passwor
third-party-advisory, web, exploit
-
openwall.com
/lists/oss-security/2024/06/06/1
web, exploit, mailing-list, third-party-advisory
-
plugins.craftcms.com
/two-factor-authentication?craft4
product, web
-
github.com
/born05/craft-twofactorauthentication/releases/tag/3.3.4
release-notes, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-5657
advisory
-
github.com
/born05/craft-twofactorauthentication
package
Sources
- CVE List CVE-2024-5657
- GitHub Advisory GHSA-3p4x-grpm-xw58
- NVD CVE-2024-5657
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.