OTP Login & Register Woocommerce <= 2.7.2 - Unauthenticated Authentication Bypass via Brute Force
Strategic Overview
- Status
- Patched in 2.7.3
- Affected Plugin
- OTP Login & Register Woocommerce
- Affected Version
<= 2.7.2- CVSS
- 5.3Medium
- Weakness type
- CWE-434 · Unrestricted Upload of File with Dangerous Type
- CVE
CVE-2026-12215
At a glance
CVE-2026-12215 is a medium-severity Unrestricted Upload of File with Dangerous Type vulnerability in the OTP Login & Register Woocommerce WordPress plugin, affecting versions <= 2.7.2. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 2.7.3; sites on affected versions should update now. Disclosed September 2026, reported by d4ngvn.
Vulnerability Overview
The OTP Login & Register Woocommerce plugin for WordPress is vulnerable to Authentication Bypass via OTP Brute Force in all versions up to, and including, 2.7.2. The vulnerability exists because the OTP rate-limit attempt counter in `process_otp_form` is keyed exclusively on the attacker-controlled `xoo_ml_user_ip_data` cookie's `ip_address` field, allowing unlimited counter resets by simply rotating the cookie, while the OTP itself is generated with PHP's non-cryptographic `rand()` function over a default space of only 9,000 possible values (1000–9999), and both the OTP issuance endpoint (`xoo_ml_login_with_otp`) and verification endpoint (`xoo_ml_otp_form_submit`) are registered as unauthenticated `wp_ajax_nopriv` actions with no nonce or capability checks. This makes it possible for unauthenticated attackers to brute-force the OTP for any registered account and obtain a full WordPress authentication session — including for administrator accounts — via `wp_set_auth_cookie()` in `login_user_with_otp()`. Exploitation requires the attacker to know the target user's registered phone number, which is used to trigger OTP issuance via the unauthenticated `xoo_ml_login_with_otp` endpoint.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-434: Unrestricted Upload of File with Dangerous Type
OTP Login & Register Woocommerce <= 2.7.2 carries this weakness at rand(), and reaching it takes no account at all. An unrestricted file upload lets a caller store a file whose type or destination the application does not properly constrain.
If an uploaded file lands anywhere the server will execute, the flaw becomes remote code execution and the site should be treated as fully compromised. For OTP Login & Register Woocommerce the fix is 2.7.3: builds <= 2.7.2 are affected, anything from 2.7.3 onward is not.
Remediation
Update to version 2.7.3, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: OTP Login & Register Woocommerce 2.7.3 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Login Security
External References
Related records
Other vulnerabilities in OTP Login & Register Woocommerce
- 9.8CVE-2026-110135: OTP Login & Register Woocommerce Account Takeover
CVE-2026-110135 - 8.8CVE-2024-5324: XootiX Framework <=… Arbitrary Options Update
CVE-2024-5324 - 8.1CVE-2023-2706: OTP Login Woocommerce… Authentication Bypass
CVE-2023-2706 - 6.1OTP Login Woocommerce & Gravity Forms <= 2.0 Cross-Site Scripting
- 4.4CVE-2026-12402: OTP Login & Register Woocommerce <= 2.7.3 Stored XSS
CVE-2026-12402
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C