CVE-2024-31424
📋 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
- WordPress Login with phone number plugin by Hamid Alinia - idehweb
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
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
allTemporarily disable the plugin until patched version is available
wp plugin deactivate login-with-phone-number
Implement CSRF protection headers
linuxAdd 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
- 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
- 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