CVE-2024-52372

10.0 CRITICAL

📋 TL;DR

This vulnerability allows attackers to upload arbitrary files, including web shells, to WordPress servers running the Easy CSV Importer BETA plugin. Attackers can gain full control of affected websites, execute commands, and potentially compromise the entire server. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress Easy CSV Importer BETA plugin
Versions: All versions up to and including 7.0.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires plugin to be installed and activated. No special configuration needed for exploitation.

⚠️ 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 server compromise leading to data theft, ransomware deployment, lateral movement to other systems, and persistent backdoor access.

🟠

Likely Case

Website defacement, data exfiltration, cryptocurrency mining, or use as part of a botnet for further attacks.

🟢

If Mitigated

Limited to plugin directory access only, preventing full server compromise but still allowing website manipulation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation is trivial with publicly available proof-of-concept code. Attackers can upload malicious files without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 7.0.1 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/easy-csv-importer/wordpress-easy-csv-importer-plugin-7-0-0-arbitrary-file-upload-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Easy CSV Importer BETA. 4. Click 'Update Now' if available. 5. Alternatively, download version 7.0.1+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the vulnerable plugin until patching is possible.

wp plugin deactivate easy-csv-importer

Restrict File Uploads

all

Block uploads of executable file types via web server configuration.

# In Apache .htaccess: <FilesMatch "\.(php|phtml|php3|php4|php5|php7|phps|php8|pl|py|jsp|asp|sh|cgi)">
    Order Allow,Deny
    Deny from all
</FilesMatch>
# In Nginx: location ~ \.(php|phtml|php3|php4|php5|php7|phps|php8|pl|py|jsp|asp|sh|cgi)$ {
    deny all;
}

🧯 If You Can't Patch

  • Immediately disable or uninstall the Easy CSV Importer BETA plugin.
  • Implement web application firewall (WAF) rules to block file uploads to the plugin's upload directory.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Easy CSV Importer BETA. If version is 7.0.0 or lower, you are vulnerable.

Check Version:

wp plugin get easy-csv-importer --field=version

Verify Fix Applied:

Verify plugin version is 7.0.1 or higher in WordPress admin panel. Test file upload functionality with malicious file types to confirm they are rejected.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to /wp-content/plugins/easy-csv-importer/ directories
  • POST requests to upload.php or similar endpoints with executable file extensions
  • Sudden appearance of .php, .phtml, or other executable files in plugin directories

Network Indicators:

  • HTTP POST requests with file uploads to plugin-specific endpoints
  • Unusual outbound connections from web server following uploads

SIEM Query:

source="web_server_logs" AND (uri_path="/wp-content/plugins/easy-csv-importer/" AND method="POST" AND (file_extension="php" OR file_extension="phtml" OR file_extension="jsp" OR file_extension="asp"))

🔗 References

📤 Share & Export