CVE-2026-8761
Beschrijving NL
De Dokan-plug-in voor WordPress is kwetsbaar voor Privilege-escalatie in alle versies tot en met 5.0.1. Dit komt door een ontbrekende autorisatiecontrole in de REST-controller `CustomersController` (`includes/REST/CustomersController.php`), die de CRUD-routes voor klanten van WooCommerce opnieuw registreert onder de namespace `/dokan/v1/customers/` en de native `manage_woocommerce`-mogelijkheidscontrole van WooCommerce vervangt door een controle die alleen voor leveranciers geldt. Deze controle inspecteert de rol van de **aanvragende** gebruiker en valideert nooit de **doelgebruiker**. Dit maakt het voor geauthenticeerde aanvallers met toegang op leveranciers-/verkopersniveau en hoger mogelijk om elke WordPress-gebruiker – inclusief beheerders – te lezen, te wijzigen of te verwijderen via `GET`/`PUT`/`DELETE`-verzoeken aan `/wp-json/dokan/v1/customers/{id}`. Het instellen van de parameter `password` in het record van een beheerder leidt tot een volledige overname van de site.
Origineel (Engels) tonen
The Dokan plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 5.0.1. This is due to a missing authorization check in the `CustomersController` REST controller (`includes/REST/CustomersController.php`), which re-registers WooCommerce's customer CRUD routes under the `/dokan/v1/customers/` namespace and replaces WooCommerce's native `manage_woocommerce` capability check with a vendor-only check that inspects the **requesting** user's role and never validates the **target** user. This makes it possible for authenticated attackers with Vendor/Seller-level access and above to read, modify, or delete any WordPress user — including administrators — via `GET`/`PUT`/`DELETE` requests against `/wp-json/dokan/v1/customers/{id}`. Setting the `password` parameter on an administrator's record yields a full site takeover.