Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/kevinecharles/cve-2026-106610-miniorange-otp-ato
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingAuthentication
GitHub
Share
kevinecharles/cve-2026-106610-miniorange-otp-ato

CVE-2026-106610-miniorange-otp-ato

PoC: miniOrange OTP Verification <=5.5.7 unauthenticated Account Takeover via OTP re-routing (CVSS 9.8)

View Repository
11 month agoNot yet reviewed

CVE-2026-106610 — miniOrange OTP Verification ≤ 5.5.7 — Unauthenticated Account Takeover via OTP Re-Routing

CVSS: 9.8 (Critical) Affected: miniOrange OTP Verification (WordPress plugin) ≤ 5.5.7 Patched in: 5.5.8 Researcher: KevineCharles Status: Publicly disclosed by Patchstack (advisory) — this repository is published after public disclosure, in line with responsible disclosure practice.

Summary

The miniOrange OTP Verification plugin supports a "Login with only OTP" mode where a user authenticates to wp-login.php using only their username and a phone-based OTP challenge (no password required). The plugin fails to verify that the phone number supplied for the OTP challenge actually belongs to the account the session is bound to.

An unauthenticated attacker who only knows a victim's username can:

  1. Start a login attempt as the victim (binding the PHP session to that username).
  2. Re-route the OTP challenge to a phone number they control.
  3. Receive and submit the OTP code to validate the challenge.
  4. Re-submit the login form — the plugin completes the login as the victim and issues a wordpress_logged_in_* cookie for the victim's account.

The attacker never needs the victim's password or real phone number.

Root Cause

File: handler/forms/class-wploginform.php

  • mo_handle_wp_login_ajax_send_otp() reads $_POST['user_phone'] directly and triggers the OTP send without ever checking that this phone number belongs to the account bound to the current session (login_user_mo).
  • mo_handle_wp_login_ajax_form_validate_action() only checks internal consistency — that the phone number submitted for validation matches the one used to generate the challenge. It never checks the submitted phone number against the victim's actually registered phone number (get_user_meta($victim_id, 'mo_login_phone', true)).
  • The final login gate only checks: owner === submitted_username AND status === VALIDATED Both of these values are entirely attacker-controlled (owner is set from the plain-text log field in step 1, 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.

Exploitation Steps

Precondition: the target has "Login with only OTP" (phone verification, skip-password login) enabled, and the victim account has a registered phone number. The attacker needs only the victim's WordPress username and a phone number they control to receive SMS on.

  1. POST /wp-login.php with log=<victim>&pwd= (empty password) → opens/binds a PHP session to the victim's username.
  2. GET /wp-login.php → extract the anonymous CSRF nonce mopopup_wpnonce (action mo_popup_options). WordPress nonces for anonymous (uid 0) visitors are identical for every logged-out visitor within the same ~12h tick, so any attacker can obtain one.
  3. POST /wp-login.php with mo_external_popup_option=miniorange-ajax-otp-generate&mopopup_wpnonce=<nonce>&user_phone=<ATTACKER PHONE> → an OTP is generated and sent, but routed to the attacker's phone number while the challenge stays bound to the victim's session.
  4. POST /wp-login.php with mo_external_popup_option=miniorange-ajax-otp-validate&mopopup_wpnonce=<nonce>&user_phone=<ATTACKER PHONE>&mo_otp_token=<CODE RECEIVED> → the challenge is marked VALIDATED for the victim's username.
  5. Re-POST /wp-login.php with log=<victim>&pwd= → HTTP 302 and a wordpress_logged_in_* cookie is issued for the victim account.

Verification / Controls

The finding was confirmed against a local WordPress test instance with two negative controls, demonstrating that the only missing check is "does the phone number belong to the victim account" — not a total bypass of the 2FA flow:

  • Control A — without completing the OTP exchange at all: no wordpress_logged_in_* cookie is issued (2FA is correctly enforced in the normal case).
  • Control B — using a different phone number between the generate step and the validate step: the plugin rejects with WPOTPERR010 - The phone number OTP was sent to and the phone number in contact submission do not match. This proves the plugin checks internal consistency between its own generate/validate calls, but never cross-checks against the victim's real registered phone number — exactly the gap this vulnerability exploits.

Raw HTTP evidence from this local reproduction (redacted of session tokens) is included in evidence/.

Usage

python3 poc.py <base_url> <victim_username> <attacker_phone>

Example:

python3 poc.py https://victim-site.example admin 15555550123

The script performs steps 1–3 above, then pauses and asks you to enter the OTP code received via SMS on <attacker_phone>, completes steps 4–5, and prints the stolen wordpress_logged_in_* cookie along with a quick profile.php check confirming the identity of the hijacked session.

Requires Python 3 standard library only (no third-party dependencies).

Timeline

  • Reported to Patchstack.
  • CVE-2026-106610 assigned, CVSS 9.8 (Critical).
  • Fixed by vendor in version 5.5.8.
  • Publicly disclosed by Patchstack.
  • This PoC published post-disclosure.

Disclaimer

This repository is for educational and authorized security testing purposes only. Only use this PoC against systems you own or have explicit written authorization to test. The author is not responsible for any misuse.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    899
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    831
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    661
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    444
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    443
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    395

Explore all tools

Browse our collection of tools

View all tools →