CVE-2024-8672: Widget Options – The #1 WordPress Widget & Block Control Plugin <= 4.0.7 - Authenticated (Contributor+) Remote Code Execution
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Implement an allowlist of functions available to the display logic functionality.
Widget Options – The #1 WordPress Widget & Block Control Plugin Function allowlist = Allowlisted functions only - Configuration
Limit the ability to execute commands to administrator-level users.
Widget Options – The #1 WordPress Widget & Block Control Plugin Command execution permissions = Administrators only
Event History
Frequently Asked Questions
What is the severity of CVE-2024-8672?
CVE-2024-8672 is rated as a high severity vulnerability due to its ability to allow remote code execution.
How do I fix CVE-2024-8672?
To fix CVE-2024-8672, update the Widget Options plugin to version 4.0.8 or later.
Which versions of the Widget Options plugin are affected by CVE-2024-8672?
CVE-2024-8672 affects all versions of the Widget Options plugin up to and including version 4.0.7.
What type of vulnerability is CVE-2024-8672?
CVE-2024-8672 is a remote code execution vulnerability found in the Widget Options WordPress plugin.
What functionality of the Widget Options plugin is exploited in CVE-2024-8672?
CVE-2024-8672 exploits the display logic functionality that extends several page builders within the plugin.