CVE-2024-34815
📋 TL;DR
This CVE describes a Missing Authorization vulnerability in the WordPress 'Import and export users and customers' plugin. It allows unauthorized users to access functionality intended only for administrators, potentially enabling user data export or import operations. All WordPress sites using affected plugin versions are vulnerable.
💻 Affected Systems
- WordPress Import and export users and customers plugin
⚠️ 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
Unauthenticated attackers could export all user data including sensitive information, or import malicious users with administrative privileges, leading to complete site compromise.
Likely Case
Attackers with basic user accounts could access administrative import/export functions, potentially exposing user data or manipulating user accounts.
If Mitigated
With proper authorization controls, only authenticated administrators could access import/export functions, limiting exposure to trusted users.
🎯 Exploit Status
Missing authorization vulnerabilities typically require minimal technical skill to exploit once the endpoint is identified.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.26.6 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Import and export users and customers'. 4. Click 'Update Now' if available, or download version 1.26.6+ from WordPress repository. 5. Replace plugin files if manual update required.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched
wp plugin deactivate import-users-from-csv-with-meta
Restrict Access via .htaccess
linuxBlock access to plugin directories for non-administrative users
# Add to .htaccess in WordPress root:
<FilesMatch "\.(php|inc)$">
Order Deny,Allow
Deny from all
</FilesMatch>
# Then allow only from admin IPs if possible
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block unauthorized access to plugin endpoints
- Enable detailed logging and monitoring for any import/export user activities
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins, find 'Import and export users and customers' and check version number
Check Version:
wp plugin get import-users-from-csv-with-meta --field=version
Verify Fix Applied:
Verify plugin version is 1.26.6 or higher in WordPress admin plugins page
📡 Detection & Monitoring
Log Indicators:
- Unauthorized access attempts to /wp-content/plugins/import-users-from-csv-with-meta/
- User import/export activities from non-admin accounts
- HTTP 200 responses to plugin endpoints from unauthorized IPs
Network Indicators:
- POST/GET requests to plugin-specific endpoints from unauthorized sources
- Unusual data export patterns from user management endpoints
SIEM Query:
source="wordpress.log" AND ("import-users-from-csv" OR "user_import" OR "user_export") AND user_role!="administrator"
🔗 References
- https://patchstack.com/database/vulnerability/import-users-from-csv-with-meta/wordpress-import-and-export-users-and-customers-plugin-1-26-5-broken-access-control-vulnerability?_s_id=cve
- https://patchstack.com/database/vulnerability/import-users-from-csv-with-meta/wordpress-import-and-export-users-and-customers-plugin-1-26-5-broken-access-control-vulnerability?_s_id=cve