Lucene search

K
wpvulndbNeven BiruskiWPVDB-ID:CB8EEA6E-1D48-4D6E-8934-1E8FD7A335E6
HistoryJan 10, 2018 - 12:00 a.m.

Smooth Slider <= 2.8.6 - Authenticated SQL Injection

2018-01-1000:00:00
Neven Biruski
wpscan.com
5

0.001 Low

EPSS

Percentile

39.3%

During the security analysis, ThunderScan discovered SQL injection vulnerability in Smooth Slider WordPress plugin. The easiest way to reproduce the vulnerability is to visit the provided URL while being logged in as administrator or another user that is authorized to access the plugin settings page. Users that do not have full administrative privileges could abuse the database access the vulnerability provides to either escalate their privileges or obtain and modify database contents they were not supposed to be able to. Due to the missing nonce token, the vulnerable code is also directly exposed to attack vectors such as Cross Site request forgery (CSRF). 3.1. SQL injection Function: $wpdb->get_var() Variable: $_GET[‘trid’] Vulnerable URL: http://vulnerablesite.com/wp-admin/post.php?post=1&amp;action;=edit&amp;source;_lang=1&amp;trid;=22 OR SLEEP(5) File: smooth-slider\smooth-slider.php --------- 470 $id = $wpdb->get_var( “SELECT element_id FROM {$wpdb->prefix}icl_translations WHERE trid=”.$_GET[‘trid’]." AND language_code=‘“.$_GET[‘source_lang’].”’" ); ---------

PoC

http://vulnerablesite.com/wp-admin/post.php?post=1&amp;action;=edit&amp;source;_lang=1&amp;trid;=22 OR SLEEP(5)

CPENameOperatorVersion
smooth-sliderlt2.8.7

0.001 Low

EPSS

Percentile

39.3%

Related for WPVDB-ID:CB8EEA6E-1D48-4D6E-8934-1E8FD7A335E6