CVE-2024-41800 Craft CMS Allows TOTP Token To Stay Valid After Use

Medium 4.8 Published Updated

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.

PackageAffectedFixed in
craftcms/cms PackagistFrom 5.0.0-beta.15.2.3
craftcms/cms PackagistFrom 5.0.0-beta.15.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.

All Craftcms Craft Cms vulnerabilities

Sources

Also known as GHSA-wmx7-pw49-88jx.

Is CVE-2024-41800 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free