Cross-Site Request Forgery (CSRF)Weakness · CWE-352

CVE-2024-31424

HIGH · 8.8 CVSS v3.1 Published 2024-04-15
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Cross-Site Request Forgery (CSRF) vulnerability in Hamid Alinia Login with phone number login-with-phone-number.This issue affects Login with phone number: from n/a through <= 1.6.93.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A Cross-Site Request Forgery (CSRF) vulnerability exists in the Login with phone number WordPress plugin (versions <= 1.6.93). The plugin fails to properly validate anti-CSRF tokens (nonces) on its login forms and/or AJAX endpoints, allowing attackers to trick authenticated users into performing unwanted actions such as unauthorized account changes or login operations.

MitigationImplement WordPress nonces (wp_create_nonce, wp_verify_nonce) on all forms and AJAX handlers within the plugin, and verify these nonces using check_admin_referer or wp_verify_nonce before processing any requests.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if the Login with phone number plugin is installed
    Access the WordPress admin dashboard, go to Plugins > Installed Plugins, and search for 'Login with phone number' or look for a plugin with phone login functionality
    Affected if The plugin appears in the list of installed plugins
  2. Determine the installed plugin version
    In the Plugins list view, look for the version number displayed under the plugin name, or open the main plugin file (typically named login-with-phone-number.php or similar in wp-content/plugins/) and check the Version header in the plugin comment block
    Affected if The displayed version is 1.6.93 or lower, or cannot be determined (older version)
  3. Verify if the plugin handles login forms or AJAX requests
    Check the plugin settings in WordPress admin under the plugin menu, or inspect the frontend login page to see if a phone number login form is active and in use
    Affected if The phone number login form is enabled and accessible to users
  4. Confirm absence of nonce validation in plugin code
    If you have code access, review the plugin PHP files for form handlers and AJAX endpoints, looking for calls to wp_verify_nonce, check_admin_referer, or wp_create_nonce; if code access is unavailable, this step requires manual testing or code review
    Affected if No nonce verification is found before processing login or account change requests, or the plugin has not been updated since version 1.6.93

If the Login with phone number plugin is installed at version 1.6.93 or lower and handles login forms or AJAX requests, the environment is likely affected by this CSRF vulnerability.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement WordPress nonces (wp_create_nonce, wp_verify_nonce) on all forms and AJAX handlers within the plugin, and verify these nonces using check_admin_referer or wp_verify_nonce before processing any requests.

Recommended fix Moderate confidence

Latest version of Login with phone number plugin (version > 1.6.93)

  1. Check the WordPress admin panel for available plugin updates
  2. Navigate to Plugins > All Plugins > Login with phone number
  3. Update the plugin to the latest available version (after 1.6.93)
  4. Verify the update completes successfully
  5. Test the login functionality to confirm the plugin still works correctly
Caveat Review plugin changelog for any breaking changes between your current version and the update

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,780
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-31424 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-31424 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data