Lucene search

K
wpvulndbNeven BiruskiWPVDB-ID:0E2DC71C-D0AA-4457-B87A-84BAC59401C9
HistoryAug 07, 2017 - 12:00 a.m.

Easy Modal <= 2.0.17 - Authenticated SQL Injection

2017-08-0700:00:00
Neven Biruski
wpscan.com
4

0.001 Low

EPSS

Percentile

42.8%

This can only be exploited by a user who already has access to the admin with a valid nonce. During the security analysis, ThunderScan discovered SQL injection vulnerabilities in the Easy Modal 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. The nonce token is required as the URL parameter. Token value is not unique for each request, nor per each URL, so if the attacker manages to obtain a valid token value, the module could be exposed to attack vectors such as Cross Site request forgery (CSRF).

PoC

http://vulnerablesite.com/wp-admin/admin.php?page=easy-modal&amp;action;=delete&amp;id;[0]=4 AND SLEEP(5)&amp;easy-modal;_nonce=xxx http://vulnerablesite.com/wp-admin/admin.php?easy-modal_nonce=xxx&_wp_http_referer=%2Fvulnerablesite.com%2Fwp-admin%2Fadmin.php%3Fpage%3Deasy-modal%26status%3Dtrash&amp;page;=easy-modal&amp;action;=untrash&amp;paged;=1&amp;id;[]=2)%20AND%20SLEEP(10)–%20ZpVQ&action2;=-1

CPENameOperatorVersion
easy-modallt2.1.0

0.001 Low

EPSS

Percentile

42.8%

Related for WPVDB-ID:0E2DC71C-D0AA-4457-B87A-84BAC59401C9