CVE-2024-5150 Login with phone number <= 1.7.26 - Authentication Bypass due to Missing Empty Value Check
Unauthenticated attackers can bypass authentication and log in as any user, including administrators, by exploiting a missing empty value check in the login plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5150?
CVE-2024-5150 is a critical authentication bypass vulnerability in glboy OTP Login With Phone Number, OTP Verification, published on 29 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-288
Which versions are affected by CVE-2024-5150?
How do I fix CVE-2024-5150?
No fix has been published for CVE-2024-5150 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-5150 being exploited?
There is no known exploitation of CVE-2024-5150 in the wild and no public exploit code.