Vulnerability · Published Jul 25, 2024 · Assigned by GitHub_M
CVE-2024-41800Craft CMS Allows TOTP Token To Stay Valid After Use
Medium 4.8
In plain English
A medium-severity improper authentication in cms from craftcms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | craftcms/cms | 5.2.3 | GHSA-wmx7-pw49-88jx |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/craftcms/cms/security/advisories/GHSA-wmx7-pw49-88jx x_refsource_CONFIRM
- https://github.com/craftcms/cms/commit/7c790fa5ad5a8cb8016cb6793ec3554c4c079e38 x_refsource_MISC
- https://github.com/craftcms/cms/releases/tag/5.2.3 x_refsource_MISC
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240617-01_CraftCMS_TOTP_Valid_After_Use x_refsource_MISC