Lucene search

K
wpvulndbCydaveWPVDB-ID:E7FE8218-4EF5-4EF9-9850-8567C207E8E6
HistoryMar 29, 2022 - 12:00 a.m.

5 Stars Rating Funnel < 1.2.53 - Unauthenticated SQLi

2022-03-2900:00:00
cydave
wpscan.com
10
5 stars rating funnel
unauthenticated sqli
sql injection
ajax action
input sanitization
wordpress plugin

EPSS

0.002

Percentile

57.6%

The plugin does not properly sanitise, validate and escape lead ids before using them in a SQL statement via the rrtngg_delete_leads AJAX action, available to unauthenticated users, leading to an unauthenticated SQL injection issue. There is an attempt to sanitise the input, using sanitize_text_field(), however such function is not intended to prevent SQL injections.

PoC

Create a new funnel (All Rating Funnels sub-menu) Create a new lead (Leads / Feedbacks sub-menu) Invoke the following curl command to trigger a 5 second sleep curl https://example.com/wp-admin/admin-ajax.php --data ‘action=rrtngg_delete_leads&lead;_ids[]=(SELECT SLEEP(5))) AND 1=1 #’

EPSS

0.002

Percentile

57.6%

Related for WPVDB-ID:E7FE8218-4EF5-4EF9-9850-8567C207E8E6