Login with phone number <= 1.7.26 - Authentication Bypass due to Missing Empty Value Check

2024-05-28 00:00
István Márton

Strategic Overview

Status
Patched in 1.7.27
Affected Version<= 1.7.26
CVSS9.8Critical
CVECVE-2024-5150
View all OTP Login With Phone Number, OTP Verification vulnerabilities

Vulnerability Overview

The Login with phone number plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 1.7.26. This is due to the 'activation_code' default value is empty, and the not empty check is missing in the 'lwp_ajax_register' function. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they have access to the user email. The vulnerability is patched in version 1.7.26, but there is an issue in the patch that causes the entire function to not work, and this issue is fixed in version 1.7.27.

Technical Analysis

REMEDIATION: Update to version 1.7.27, or a newer patched version --- IDENTIFIER: CWE-288 (Authentication Bypass Using an Alternate Path or Channel) The product requires authentication, but the product has an alternate path or channel that does not require authentication.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C