AI Puffer <= 2.4.89 - Missing Authorization to Authenticated (Subscriber+) Semantic Search Settings Modification via ajax_save_semantic_search_settings AJAX action
What fixes it
No source in this snapshot names a fixed version.
Description
The AI Puffer – Chat. Create. Automate. (formerly AI Power) plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 2.4.89. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for authenticated attackers, with subscriber-level access and above, to modify global site-wide semantic search settings, including vector provider, embedding provider, embedding model, target ID, number of results, and no-results text stored in aipkit_options, that are otherwise restricted to administrators. Exploitation requires that an administrator has previously granted the Knowledge Base ('sources') module to the attacker's role via the Role Manager, as this access is not available to lower-privileged users by default.
Text from CVE List
Affected versions 1
- AI Puffer – AI Chatbot, AI Writer & Automationaffected: all versions through 2.4.89CVE List
References 6
- wordfence.com/threat-intel/vulnerabilities/id/58967ac0-d6f7-4cc7-a2e3-4594aa4b2be2?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.4.88/classes/dashboard/ajax/class-aipkit-settings-ajax-handler.php#L137Referencevia CVE List
- plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.4.88/classes/dashboard/ajax/class-aipkit-settings-ajax-handler.php#L790Referencevia CVE List
- plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.4.88/classes/dashboard/ajax/class-aipkit-base-dashboard-ajax-handler.php#L53Referencevia CVE List
- plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.4.88/classes/dashboard/class-aipkit_role_manager.php#L275Referencevia CVE List
- plugins.trac.wordpress.org/changeset?reponame=&old=3725365%40gpt3-ai-content-generator&new=3725365%40gpt3-ai-content-generatorReferencevia CVE List