CVE-2024-41800 Craft CMS Allows TOTP Token To Stay Valid After Use
Attackers with valid credentials can reuse TOTP tokens to bypass two-factor authentication and hijack user accounts.
- 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-41800?
CVE-2024-41800 is a medium-severity authentication bypass vulnerability in Craftcms Craft Cms, published on 25 Jul 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
Craft is a content management system (CMS). Craft CMS 5 allows reuse of TOTP tokens multiple times within the validity period. An attacker is able to re-submit a valid TOTP token to establish an authenticated session. This requires that the attacker has knowledge of the victim's credentials. This has been patched in Craft 5.2.3.
Weakness: CWE-287
Which versions are affected by CVE-2024-41800?
2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | From 5.0.0-beta.1 | 5.2.3 |
craftcms/cms Packagist | From 5.0.0-beta.1 | 5.2.3 |
Products include Craftcms Craft Cms.
How do I fix CVE-2024-41800?
Upgrade craftcms/cms to 5.2.3 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-41800 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41800 exists.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-wmx7-pw49-88jx.