CVE-2024-52401

9.6 CRITICAL

📋 TL;DR

This CSRF vulnerability in Hacklog DownloadManager WordPress plugin allows attackers to trick authenticated administrators into uploading malicious web shell files. Attackers can gain full control of affected WordPress sites. All WordPress sites using Hacklog DownloadManager versions up to 2.1.4 are vulnerable.

💻 Affected Systems

Products:
  • Hacklog DownloadManager WordPress Plugin
Versions: All versions up to and including 2.1.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires attacker to trick authenticated admin user into visiting malicious page

⚠️ 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, or use as attack platform

🟠

Likely Case

Website defacement, backdoor installation, credential theft, and malware distribution

🟢

If Mitigated

Limited impact with proper CSRF protections and file upload restrictions

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploit requires social engineering to trick admin but technical execution is simple

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.1.5 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/hacklog-downloadmanager/wordpress-hacklog-downloadmanager-plugin-2-1-4-csrf-to-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 Hacklog DownloadManager
4. Click 'Update Now' if available
5. If no update available, deactivate and delete plugin immediately

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable Hacklog DownloadManager plugin

wp plugin deactivate hacklog-downloadmanager

Add CSRF Protection

all

Implement WordPress nonce verification for file uploads

Add wp_nonce_field() and wp_verify_nonce() to plugin code

🧯 If You Can't Patch

  • Restrict file uploads to specific file types and implement file extension validation
  • Implement web application firewall (WAF) rules to block suspicious file uploads

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Hacklog DownloadManager version

Check Version:

wp plugin get hacklog-downloadmanager --field=version

Verify Fix Applied:

Verify plugin version is 2.1.5 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unauthorized file uploads to wp-content/uploads/hacklog-downloadmanager/
  • PHP file uploads via admin-ajax.php

Network Indicators:

  • POST requests to /wp-admin/admin-ajax.php with file upload parameters
  • Suspicious file extensions (.php, .phtml) in upload requests

SIEM Query:

source="wordpress.log" AND ("admin-ajax.php" AND "action=hacklogdm_upload")

🔗 References

📤 Share & Export