Affected versions
- Affected versions
- <=4.0.0
- Fixed version
- 4.1.0
Exploitation
Description
The 2FA plugin for WordPress is vulnerable to Two-Factor Authentication Bypass in all versions up to, and including, 4.0.0. This is due to missing per-user invalidation of already-used TOTP codes in the is_valid_authcode() call, which did not receive the user object needed to record and reject previously consumed codes. This makes it possible for Unknown attackers[inject user-level requirements if available and authentication is required] to replay a previously observed TOTP code within its validity window to bypass two-factor authentication and gain unauthorized access to any account, including administrator accounts.
Links
Credits
- Suhayb Ahmed

