CVE-2024-8672CWE-94

Widget Options – The #1 WordPress Widget & Block Control Plugin <= 4.0.7 - Authenticated (Contributor+) Remote Code Execution

Critical · published November 28, 2024

CVSS v3.1
9.9
EPSS
45%
Percentile
98.8
In the wild
Unconfirmed
What it is

🚨 A crafty little remote code execution vulnerability is lurking in the Widget Options plugin for WordPress! 🔥 If you're running version 4.0.7 or earlier, your site could be at risk! Imagine a restaurant where the chef trusts anyone to submit their own special recipe without a second glance—like letting anyone cook who claims to be a chef without checking credentials. This plugin allows users to inject input that gets executed as code on the server, similar to ordering a dish that turns out to be a surprise disaster! An authenticated attacker with contributor-level access could step right in, execute arbitrary code on the server, and potentially take full control of your site. This could lead to anything from data theft to complete takeover of your WordPress installation—absolutely devastating!

Put simply

Imagine a restaurant where the chef trusts anyone to submit their own special recipe without a second glance—like letting anyone cook who claims to be a chef without checking credentials. This plugin allows users to inject input that gets executed as code on the server, similar to ordering a dish that turns out to be a surprise disaster! This vulnerability is due to the Widget Options plugin allowing user input to be passed through the eval() function without proper filtering or capability checks, enabling remote code execution by authenticated users with inadequate permissions.

What to do

An authenticated attacker with contributor-level access could step right in, execute arbitrary code on the server, and potentially take full control of your site. This could lead to anything from data theft to complete takeover of your WordPress installation—absolutely devastating! Patch immediately by upgrading to the latest version of the Widget Options plugin. Additionally, consider implementing an allowlist for functions and restricting command execution to administrators only. Regularly audit user roles to ensure minimal access necessary for operation! You've got this! Follow these steps and tighten your security—protect your site like the hero you are! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.45397 · 98.8th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-11-28T09:47Z
EPSS history
Timeline
  • 28 NOV 09:47Z
    Widget Options – The #1 WordPress Widget & Block Control Plugin <= 4.0.7 - Authenticated (Contributor+) Remote Code Execution
    cvelistv5