[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

WordPress Form Maker 1.13.3 SQL Injection Vulnerability

Author
Daniele Scanu
Risk
[
Security Risk High
]
0day-ID
0day-ID-32682
Category
web applications
Date add
14-05-2019
CVE
CVE-2019-10866
Platform
php
# Exploit Title: WordPress Plugin Form Maker 1.13.3 - SQL Injection
# Exploit Author: Daniele Scanu @ Certimeter Group
# Vendor Homepage: https://10web.io/plugins/
# Software Link: https://wordpress.org/plugins/form-maker/
# Version: 1.13.3
# Tested on: Wordpress 5.1

Description:
In the Form Maker plugin before 1.13.3 for WordPress, it's possible to
achieve SQL injection in the function get_labels_parameters in the file
form-maker/admin/models/Submissions_fm.php with a crafted value of the
asc_or_desc parameter.

PoC:
* Go in to Form-Maker menu and select Submissions.
* Open menu "Select a form" and select an any item for example "Contact Us".
* Go in to url bar and insert in asc_or_desc parameter a payload such as:

,(case+when+(select+sleep(5)+from+wp_formmaker_submits+limit+1)+then+1+else+2+end)+asc+--+

With this payload the server will sleep for 5 second.

MITRE assigned CVE-2019-10866 for this issue.

Daniele Scanu

#  0day.today [2024-12-24]  #