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

Authentication Bypass Using an Alternate Path or Channel
CVE CVE-2024-5150
CVSS 9.8 (Critical)
Publicly Published May 28, 2024
Last Updated May 29, 2024
Researcher István Márton - Wordfence


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.



Vulnerability Details for Login with phone number

Software Type Plugin
Software Slug login-with-phone-number (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.7.27, or a newer patched version
Affected Version
  • <= 1.7.26
Patched Version
  • 1.7.27

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.