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

9.9
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2024-8672
CVSS 9.9 (Critical)
Publicly Published November 27, 2024
Last Updated November 28, 2024
Researcher Webbernaut

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.

References

Share

Vulnerability Details for Widget Options โ€“ The #1 WordPress Widget & Block Control Plugin

Software Type Plugin
Software Slug widget-options (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.0.8, or a newer patched version
Affected Version
  • <= 4.0.7
Patched Version
  • 4.0.8

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation