Description
The Datalogics Ecommerce Delivery WordPress plugin before 2.6.60 exposes an unauthenticated REST endpoint that allows any remote user to modify the option `datalogics_token` without verification. This token is subsequently used for authentication in a protected endpoint that allows users to perform arbitrary WordPress `update_option()` operations. Attackers can use this to enable registartion and to set the default role as Administrator.
Problem types
CWE-269 Improper Privilege Management
Product status
Any version before 2.6.60
Credits
Khaled Alenazi (Nxploited)
WPScan
References
wpscan.com/...rability/c6a64f26-4007-49a1-aa69-1e3c50223ac7/