CVE-2024-5150
published critical CVSS 3.1 · 9.8Login with phone number <= 1.7.26 - Authentication Bypass due to Missing Empty Value Check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| glboy | — | OTP Login With Phone Number, OTP Verification0 through 1.7.26 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| glboy | OTP Login With Phone Number, OTP Verification | 0 through 1.7.26 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-288 CWE-288 Authentication Bypass Using an Alternate Path or Channel
References
6- 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
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cf34eb9f-f6e9-4a7a-8459-c86f9fa3dad8?source=cve
Provider assertions
3Wordfence · cna
Login with phone number <= 1.7.26 - Authentication Bypass due to Missing Empty Value Check
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 252e9afdb3ed38fc4431f1f6a39227d59fe9a465aaed1a1e84a046cbba88e1b3
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record