CVE-2024-6486

7.2 HIGH

📋 TL;DR

This vulnerability allows authenticated WordPress administrators to execute arbitrary operating system commands on the server via the 'cli_path' parameter in the ImageMagick Engine plugin. Attackers can achieve remote code execution, potentially compromising the entire server. Only WordPress sites running vulnerable versions of the ImageMagick Engine plugin are affected.

💻 Affected Systems

Products:
  • ImageMagick Engine WordPress plugin
Versions: All versions before 1.7.11
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires administrator-level WordPress permissions to exploit.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full server compromise allowing attackers to install malware, steal data, pivot to other systems, or establish persistent backdoors.

🟠

Likely Case

Attackers gain shell access to the web server, allowing them to modify website content, install cryptocurrency miners, or steal sensitive data.

🟢

If Mitigated

Limited impact if proper network segmentation, least privilege, and monitoring are in place, though the web server could still be compromised.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated administrator access but is straightforward once obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7.11

Vendor Advisory: https://wpscan.com/vulnerability/a57c0c59-8b5c-4221-a9db-19f141650d9b/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'ImageMagick Engine' and update to version 1.7.11 or later. 4. Alternatively, download the latest version from WordPress.org and replace the plugin files.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the ImageMagick Engine plugin until patching is possible.

wp plugin deactivate imagemagick-engine

Restrict administrator access

all

Limit WordPress administrator accounts to only trusted users and implement strong authentication.

🧯 If You Can't Patch

  • Remove administrator access from all non-essential users
  • Implement web application firewall rules to block command injection patterns

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > ImageMagick Engine version. If version is below 1.7.11, you are vulnerable.

Check Version:

wp plugin get imagemagick-engine --field=version

Verify Fix Applied:

Confirm plugin version is 1.7.11 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual command execution in web server logs
  • Suspicious POST requests to plugin endpoints with command injection patterns
  • Unexpected system processes spawned from web server user

Network Indicators:

  • Outbound connections from web server to unusual destinations
  • Command and control traffic patterns

SIEM Query:

source="web_server_logs" AND ("cli_path" OR "imagemagick-engine") AND (cmd.exe OR /bin/bash OR powershell OR wget OR curl)

🔗 References

📤 Share & Export