THREATINT

We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Zendesk (Helpdesk and Chat)

Ok

PUBLISHED

CVE-2024-5150

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

Assigner:Wordfence (b15e7b5b-3da4-40ae-a43c-f7aa60e62599)
Reserved:2024-05-20
Published:2024-05-29
Updated:2024-06-06

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.



CRITICAL: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-288 Authentication Bypass Using an Alternate Path or Channel

Product status

Default status
unaffected

*
affected

Timeline

2024-05-20:Discovered
2024-05-20:Vendor Notified
2024-05-28:Disclosed

Credits

István Márton finder

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/cf34eb9f-f6e9-4a7a-8459-c86f9fa3dad8?source=cve

https://plugins.trac.wordpress.org/browser/login-with-phone-number/tags/1.7.25/login-with-phonenumber.php#L4183

https://plugins.trac.wordpress.org/browser/login-with-phone-number/tags/1.7.25/login-with-phonenumber.php#L4220

https://plugins.trac.wordpress.org/browser/login-with-phone-number/tags/1.7.25/login-with-phonenumber.php#L4241

https://plugins.trac.wordpress.org/changeset/3090625/login-with-phone-number

https://plugins.trac.wordpress.org/changeset/3090754/login-with-phone-number#file5

cve.org CVE-2024-5150

nvd.nist.gov CVE-2024-5150

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-5150