CVE-2021-4443

9.8 CRITICAL

📋 TL;DR

This vulnerability allows unauthenticated attackers to create arbitrary PHP files on WordPress sites using the vulnerable Mega Menu plugin. Attackers can execute malicious code, potentially taking full control of affected websites. All WordPress sites running the vulnerable plugin version are affected.

💻 Affected Systems

Products:
  • WordPress Mega Menu (QuadMenu) plugin
Versions: Up to and including 2.0.6
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin activated.

⚠️ 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, malware distribution, defacement, or ransomware deployment.

🟠

Likely Case

Website takeover, backdoor installation, credential theft, and unauthorized administrative access.

🟢

If Mitigated

Limited impact if web application firewall blocks malicious requests or file permissions restrict PHP execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation is straightforward with public proof-of-concept available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.0.7 and later

Vendor Advisory: https://wordpress.org/plugins/quadmenu/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'QuadMenu' plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.0.7+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable AJAX endpoint

all

Block access to the vulnerable compiler_save AJAX action via .htaccess or web server configuration

# Add to .htaccess:
RewriteCond %{QUERY_STRING} action=compiler_save [NC]
RewriteRule .* - [F,L]

Deactivate plugin

linux

Temporarily disable the Mega Menu plugin until patched

wp plugin deactivate quadmenu

🧯 If You Can't Patch

  • Implement web application firewall rules to block requests containing 'compiler_save' parameter
  • Restrict file permissions in WordPress uploads directory to prevent PHP execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → QuadMenu version. If version ≤2.0.6, system is vulnerable.

Check Version:

wp plugin get quadmenu --field=version

Verify Fix Applied:

Confirm QuadMenu plugin version is 2.0.7 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • POST requests to /wp-admin/admin-ajax.php with 'action=compiler_save' parameter
  • Unexpected PHP file creation in wp-content/uploads/ directory

Network Indicators:

  • HTTP requests with 'action=compiler_save' parameter to WordPress AJAX endpoint

SIEM Query:

source="web_logs" AND uri_path="/wp-admin/admin-ajax.php" AND query_string="*action=compiler_save*"

🔗 References

📤 Share & Export