CVE-2024-5658 CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use
Attackers can reuse TOTP tokens to bypass two-factor authentication and take over accounts in the CraftCMS Two-Factor Authentication plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-5658?
CVE-2024-5658 is a medium-severity authentication bypass vulnerability in Born05 CraftCMS Plugin - Two-Factor Authentication, published on 6 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
Which versions are affected by CVE-2024-5658?
2 open source packages ship an affected version, including born05/craft-twofactorauthentication. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
born05/craft-twofactorauthentication Packagist | All versions | 3.3.4 |
born05/craft-twofactorauthentication Packagist | All versions | 3.3.4 |
Products include Born05 Two-Factor Authentication.
How do I fix CVE-2024-5658?
Upgrade born05/craft-twofactorauthentication to 3.3.4 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-5658 being exploited?
There is no known exploitation of CVE-2024-5658 in the wild and no public exploit code.
Other vulnerabilities in Born05 CraftCMS Plugin - Two-Factor Authentication
Sources
Also known as GHSA-96qm-hwhp-2rm8.