Description
The Login with OTP plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including, 1.6. This is due to an incomplete fix for CVE-2024-11178: the rate-limit/lockout check added to `otpl_login_action()` was placed only inside the OTP-generation branch and is never evaluated on the OTP-validation branch, and the generated 6-digit OTP additionally has no expiration. This makes it possible for unauthenticated attackers to brute-force the 900,000-value OTP space for any user account (including administrators) and obtain a valid `wp_set_auth_cookie()` session, leading to full site compromise.
References10
- nvd.nist.gov/vuln/detail/CVE-2024-11178
- plugins.trac.wordpress.org/browser/otp-login/tags/1.6/lib/otpl-…
- plugins.trac.wordpress.org/browser/otp-login/tags/1.6/lib/otpl-…
- plugins.trac.wordpress.org/browser/otp-login/tags/1.6/lib/otpl-…
- plugins.trac.wordpress.org/browser/otp-login/tags/1.6/lib/otpl-…
- plugins.trac.wordpress.org/browser/otp-login/trunk/lib/otpl-cla…
- plugins.trac.wordpress.org/browser/otp-login/trunk/lib/otpl-cla…
- plugins.trac.wordpress.org/browser/otp-login/trunk/lib/otpl-cla…
- plugins.trac.wordpress.org/browser/otp-login/trunk/lib/otpl-cla…
- www.wordfence.com/threat-intel/vulnerabilities/id/ad22cb24-e6a0…
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 64 · as of 14 November 2026
- CWE
- CWE-307
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.