CVE-2021-4443CWE-434

WordPress Mega Menu <= 2.0.6 - Arbitrary File Creation

Critical · published October 16, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
51.6
In the wild
Unconfirmed
What it is

🚨 A single AJAX action opens the door to chaos! The WordPress Mega Menu plugin has a vulnerability that allows unauthenticated attackers to create arbitrary PHP files — think of it as a mischievous guest slipping unauthorized notes into your hotel’s suggestion box! 🔥 Picture a busy restaurant where anyone can leave a suggestion on the chef's board. If nobody checks those notes, a prankster could sneak in a recipe for disaster, leading to a culinary catastrophe! This vulnerability is absolutely devastating! Attackers could create malicious PHP files, giving them the power to execute harmful code on your server. Imagine them stepping into your kitchen and causing total mayhem — they could steal sensitive data, deface your site, or worse!

Put simply

Picture a busy restaurant where anyone can leave a suggestion on the chef's board. If nobody checks those notes, a prankster could sneak in a recipe for disaster, leading to a culinary catastrophe! The vulnerability lies in the WordPress Mega Menu plugin (versions up to 2.0.6) using the compiler_save AJAX action, which allows unauthenticated users to create arbitrary PHP files on the server.

What to do

This vulnerability is absolutely devastating! Attackers could create malicious PHP files, giving them the power to execute harmful code on your server. Imagine them stepping into your kitchen and causing total mayhem — they could steal sensitive data, deface your site, or worse! Patch the Mega Menu plugin immediately to version 2.0.7 or later to close this loophole. Additionally, review server permissions to ensure that file creation from unauthorized sources is tightly controlled. Implement security measures such as a web application firewall (WAF) to add an extra layer of defense. You’ve got this! Follow these steps, and you’ll be on your way to securing your WordPress site in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00674 · 51.6th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2024-10-16T06:43Z
EPSS history
Timeline
  • 16 OCT 06:43Z
    WordPress Mega Menu <= 2.0.6 - Arbitrary File Creation
    cvelistv5