weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.3.0 - Missing Authorization to Authenticated (Subscriber+) Data Migration via wedocs_migrate_betterdocs_to_wedocs AJAX Action
Description
The weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot plugin for WordPress is vulnerable to Missing Authorization in versions up to and including 2.3.0. This is due to a missing capability check on the do_migration() function registered as the wedocs_migrate_betterdocs_to_wedocs AJAX action, which performs no nonce verification via check_ajax_referer() and no capability check via current_user_can() before executing sensitive operations. This makes it possible for authenticated attackers, with Subscriber-level access and above, to trigger a full BetterDocs-to-weDocs data migration, creating and modifying 'docs' custom post type entries with attacker-controlled titles, updating site options, and deactivating the BetterDocs and BetterDocs Pro plugins via deactivate_plugins().
Affected products
1Patches
Vulnerability mechanics
References
6- plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.phpmitre
- plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.phpmitre
- plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.phpmitre
- plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Ajax.phpmitre
- plugins.trac.wordpress.org/changesetmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/228d63a5-5053-4692-9801-4860325da153mitre
News mentions
0No linked articles in our index yet.