Vulnerability · Published Jun 6, 2024 · Assigned by sba-research
CVE-2024-5658CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use
Medium 4.8
In plain English
A medium-severity security flaw in CraftCMS Plugin - Two-Factor Authentication from Born05. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.6%top 51.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | born05/craft-twofactorauthentication | 3.3.4 | GHSA-96qm-hwhp-2rm8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Born05 | CraftCMS Plugin - Two-Factor Authentication | 0 – through 3.3.3 |
Weakness: CWE-303 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use third-party-advisory
- https://plugins.craftcms.com/two-factor-authentication?craft4 product
- https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4 release-notes
- http://www.openwall.com/lists/oss-security/2024/06/06/2