ZeroHour

CVE-2024-8672

large

Authenticated RCE via eval() in WordPress Widget Options Plugin (≤ 4.0.7)

CVSS 3.1
9.9 critical
EPSS
44%p99
Published
()
Modified
AI analysis

CVE-2024-8672 is a code-injection flaw (CWE-94) in the Widget Options WordPress plugin, where the display-logic feature that extends several page builders passes user-supplied input directly into PHP eval() with no filtering or capability checks. An attacker holding contributor-level credentials or higher on a site running Widget Options can submit crafted input through this feature to execute arbitrary code on the web server. Successful exploitation yields full remote code execution with high impact on confidentiality, integrity, and availability, and the changed-scope CVSS metric indicates the compromise can extend beyond the vulnerable component. All sites running Widget Options version 4.0.7 or earlier are affected. There is no public proof-of-concept or confirmed in-the-wild exploitation yet, but EPSS places the probability of exploitation within 30 days at 43.6% (99th percentile), and the vendor's patch is considered released although researchers note it could still be further hardened.

What to do: Update Widget Options to a patched release beyond 4.0.7 immediately and treat this as a priority given the high EPSS. Because the researchers note the current patch may leave residual risk, audit which contributor-and-above accounts exist on affected sites, review or restrict use of the plugin's display-logic widgets, and monitor server logs for unexpected code execution or admin activity.

Affected
Widget Options – The #1 WordPress Widget & Block Control Plugin (WordPress plugin)all versions up to and including 4.0.7
Estimated exposure
largeon the order of 100,000+ WordPress sites (plugin lists roughly 100k+ active installs) — Estimate is based on the plugin's publicly listed active-install count in the WordPress.org directory (~100,000+ installations), assuming most have not yet updated past 4.0.7 given the patch is recent and the fix has noted residual risk.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The Widget Options – The #1 WordPress Widget & Block Control Plugin plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.0.7 via the display logic functionality that extends several page builders. This is due to the plugin allowing users to supply input that will be passed through eval() without any filtering or capability checks. This makes it possible for authenticated attackers, with contributor-level access and above, to execute code on the server. Special note: We suggested the vendor implement an allowlist of functions and limit the ability to execute commands to just administrators, however, they did not take our advice. We are considering this patched, however, we believe it could still be further hardened and there may be residual risk with how the issue is currently patched.

Ecosystems
WordPress
Weakness
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the news