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 Critical (9.8)
Publicly Published May 28, 2024
Last Updated May 29, 2024
Researcher István Márton
Description

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.

References

1 affected software package

Software Type Plugin
Software Slug login-with-phone-number (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.7.26
Patched Version
  • 1.7.27
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.