WordPress Plugin Vulnerabilities

Widget Logic < 5.10.2 - CSRF to RCE

Description

Widget Logic provides a comfortable way to dynamically toggle widget visibility with custom PHP code. By eval'ing the logic registered for each widget, the plugin determines if it should be shown or not. Due to a nested CSRF vulnerability, attackers are able to make administrators add malicious code to custom sidebar widgets registered with wp_register_sidebar_widget. This results in a Remote Code Execution.

Detailed analysis: https://dannewitz.ninja/posts/widget-logic-csrf-to-rce
Fixed in version 5.10.2: https://plugins.trac.wordpress.org/changeset/2112753/widget-logic

Affects Plugins

Fixed in 5.10.2

References

Miscellaneous

Original Researcher
Paul Dannewitz
Submitter
Paul Dannewitz
Submitter website
Submitter twitter
Verified
No

Timeline

Publicly Published
2019-06-28 (about 6 years ago)
Added
2019-06-28 (about 6 years ago)
Last Updated
2020-09-22 (about 5 years ago)

Other