Automated Threat Modeling

WooCommerce OTP Login With Phone Number CVE-2025-8342: Brief Summary of a Critical Authentication Bypass

CVE-2025-8342 is a critical authentication bypass in the WooCommerce OTP Login With Phone Number plugin for WordPress, up to version 1.8.47. This summary covers the technical details, affected versions, the vendor's security history, and references for further reading.

CVE Analysis

8 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-08-14

WooCommerce OTP Login With Phone Number CVE-2025-8342: Brief Summary of a Critical Authentication Bypass
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Attackers can bypass OTP verification and gain administrative access to WordPress sites running WooCommerce OTP Login With Phone Number, OTP Verification plugin up to version 1.8.47. On e-commerce sites that rely on this plugin for two-factor authentication, attackers can compromise user accounts and the integrity of the site.

WooCommerce OTP Login With Phone Number, OTP Verification is a widely used WordPress plugin that adds phone-based authentication to thousands of online stores. It uses Firebase to deliver OTPs, which is meant to strengthen account security, but flaws in the implementation have caused repeated vulnerabilities.

Technical Information

CVE-2025-8342 comes from insufficient empty-value checking in the lwp_ajax_register function. When it handles registration or authentication requests, the plugin does not adequately check that the required OTP parameters are present and correctly formatted. The problem appears when the Firebase API key is missing or not configured, because the plugin's error handling for Firebase API responses is flawed. Instead of treating an API error as an authentication failure, the function may read certain error conditions as a successful OTP verification.

An unauthenticated attacker can therefore send crafted requests to the vulnerable AJAX endpoint (admin-ajax.php) with empty or malformed OTP values. The plugin then skips OTP verification and grants access to user accounts associated with a configured phone number. The vulnerability is classified as CWE-862 (Missing Authorization).

Relevant code references:

No public proof-of-concept code is available, but manipulating the POST parameters sent to the AJAX endpoint can trigger the vulnerability.

Affected Systems and Versions

  • Product: WooCommerce OTP Login With Phone Number, OTP Verification plugin for WordPress
  • Affected versions: All versions up to and including 1.8.47
  • Vulnerable configuration: Sites with the plugin installed and Firebase API key missing or not configured

Vendor Security History

The plugin has a documented history of authentication-related vulnerabilities, including:

  • CVE-2024-5150: Authentication bypass in the same lwp_ajax_register function
  • Multiple vulnerabilities tracked in the WPScan plugin history

The vendor usually releases patches quickly, but the same kinds of issues keep recurring in similar code paths, which suggests its security review and testing need improvement.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization