CVE-2024-6482
Description
The Login with phone number plugin for WordPress is vulnerable to privilege escalation in all versions up to, and including, 1.7.49. This is due to a lack of validation and missing capability check on user-supplied data in the 'lwp_update_password_action' function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update their role to any other role, including Administrator. The vulnerability was partially patched in version 1.7.40. The login with phone number pro plugin was required to exploit the vulnerability in versions 1.7.40 - 1.7.49.
Affected WordPress components
-
OTP Login With Phone Number, OTP Verification Plugin · login-with-phone-numberUp to and including 1.7.49View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- glboy OTP Login With Phone Number, OTP Verification — Up to and including 1.7.49
- hamid-alinia-idehweb login_with_phone_number — Up to and including 1.7.49
- idehweb login_with_phone_number — From 1.7.40 (including) to 1.7.50 (excluding)
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/login-with-phone-number/trunk/login-with-phonenumber.php#L3803 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3129185/ Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/de7cde2c-142c-4004-9302-be335265d87d?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record