CVE-2024-5657: CraftCMS Two-Factor Authentication Plugin Password Hash Exposure
Summary
CVE-2024-5657: Password hash exposed in CraftCMS two factor authentication plugin. Affects born05/craft-twofactorauthentication versions >= 3.3.1, < 3.3.4. Fixed in 3.3.4. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
CraftCMS is a popular content management system that allows users to create and manage websites. The Two-Factor Authentication plugin provides an additional layer of security by requiring users to enter a Time-based One-Time Password (TOTP) in addition to their password. This plugin is widely used to enhance the security of CraftCMS installations.
Vulnerability Detail
The CraftCMS Two-Factor Authentication plugin versions 3.3.1, 3.3.2, and 3.3.3 suffer from a vulnerability that exposes the password hash of the currently authenticated user. This occurs when a valid TOTP is submitted. The password hash is a crucial piece of information that should remain confidential, as its exposure can potentially lead to unauthorized access to user accounts and other security breaches.
How To Fix
Minimum fixed version
3.3.4
This is the first release that contains the fix.
composer require born05/craft-twofactorauthentication:3.3.4
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading the Two-Factor Authentication plugin to the latest secure version.
Conclusion
The CraftCMS Two-Factor Authentication plugin versions 3.3.1, 3.3.2, and 3.3.3 suffer from a vulnerability that exposes the password hash of the currently authenticated user. It is crucial to upgrade to version 3.3.4 or later to mitigate this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for born05/craft-twofactorauthentication →
FAQ
CraftCMS is a content management system that allows users to create and manage websites.
The Two-Factor Authentication plugin is an add-on for CraftCMS that provides an extra layer of security by requiring users to enter a Time-based One-Time Password (TOTP) in addition to their password.
Versions 3.3.1, 3.3.2, and 3.3.3 of the Two-Factor Authentication plugin are affected by this vulnerability.
This vulnerability exposes the password hash of the currently authenticated user, which can potentially lead to unauthorized access to user accounts and other security breaches.
To fix this vulnerability, it is recommended to upgrade the Two-Factor Authentication plugin to version 3.3.4 or later.
Related vulnerabilities
Recent vulnerabilities recorded for born05/craft-twofactorauthentication.