CVE-2024-31424

8.8 HIGH

📋 TL;DR

This Cross-Site Request Forgery (CSRF) vulnerability in the WordPress 'Login with phone number' plugin allows attackers to trick authenticated administrators into performing unintended actions. Attackers can forge requests that modify plugin settings or potentially compromise the WordPress site. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress Login with phone number plugin by Hamid Alinia - idehweb
Versions: n/a through 1.6.93
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using vulnerable plugin versions are affected regardless of configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete site takeover through privilege escalation, data theft, or malware injection if admin users are tricked into executing malicious requests.

🟠

Likely Case

Unauthorized plugin configuration changes, user account manipulation, or limited administrative actions performed without consent.

🟢

If Mitigated

Minimal impact with proper CSRF protections, user awareness training, and security plugins in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

CSRF attacks require user interaction but are technically simple to execute once the vulnerability is identified.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.6.94 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/login-with-phone-number/wordpress-login-with-phone-number-plugin-1-6-93-cross-site-request-forgery-csrf-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Login with phone number' plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 1.6.94+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the plugin until patched version is available

wp plugin deactivate login-with-phone-number

Implement CSRF protection headers

linux

Add security headers to WordPress site to help mitigate CSRF attacks

Add to .htaccess: Header set X-Frame-Options "DENY"
Add to .htaccess: Header set Content-Security-Policy "frame-ancestors 'none'"

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block CSRF attack patterns
  • Use security plugins like Wordfence or Sucuri that include CSRF protection

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Login with phone number → Version number. If version is 1.6.93 or lower, you are vulnerable.

Check Version:

wp plugin get login-with-phone-number --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.6.94 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual plugin configuration changes without corresponding admin user actions
  • Multiple failed authentication attempts followed by successful plugin modifications

Network Indicators:

  • HTTP POST requests to wp-admin/admin-ajax.php with plugin-specific actions from unexpected referrers

SIEM Query:

source="wordpress.log" AND ("login-with-phone-number" OR "idehweb") AND ("action=" OR "update_option")

🔗 References

📤 Share & Export