SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Forum/Board/Portal)  >  OpenCms Vendors:  opencms.org
OpenCms Input Validation Hole in Xml Content Demo Search Query Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1016158
SecurityTracker URL:  http://securitytracker.com/id?1016158
CVE Reference:  CVE-2006-2571   (Links to External Site)
OSVDB Reference:  25710   (Links to External Site)
Updated:  Jun 13 2006
Original Entry Date:  May 25 2006
Impact:  Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  
Version(s): Tested on 6.0.0, 6.0.2, 6.0.3
Description:  A vulnerability was reported in OpenCms. A remote user can conduct cross-site scripting attacks.

The Xml Content Demo does not properly filter HTML code from user-supplied input in the search query before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the OpenCms software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit URL is provided:

http://[target]/opencms/opencms/system/modules/org.opencms.frontend.templateone/pages/s earch.html?action=search&query=%22%3E%3Cscript%3Ealert%28'www.eazel.es'%29%3C%2Fscript%3E%3C!-&index=Online+project+%28VFS%29&page=1&uri=%2Fxmlcontentdemo%2Fside_el
emen t_demo.html&__locale=en&query2=%3Cscript%3Ealert%28a%29%3C%2Fscript%3E

jaime.blasco(at)eazel(dot).es discovered this vulnerability.

The original advisory is available at:

http://www.eazel.es/media/advisory002-OpenCms-Xml-Content-Demo-search-engine-Cross-site-scripting.html

On June 10, 2006, David "Aesthetico" Vieira-Kurz of MajorSecurity reported that the search function of OpenCMS (not just the XML Content Demo) was vulnerable. Version 6.2.1 is affected. The original advisory is available at:

http://www.majorsecurity.de/advisory/major_rls11.txt

Impact:  A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the OpenCms software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:  No solution was available at the time of this entry.
Vendor URL:  www.opencms.org/ (Links to External Site)
Cause:  Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)
Reported By:  jaime.blasco@eazel.es
Message History:   None.


 Source Message Contents

Date:  22 May 2006 14:32:41 -0000
From:  jaime.blasco@eazel.es
Subject:  OpenCms version 6.0.x Xml Content Demo search engine Cross site

 
Version: Tested on:
          - 6.0.0
          - 6.0.2
          - 6.0.3

Discovered by: jaime.blasco(at)eazel(dot).es
http://www.eazel.es

Description: 	
Input passed to the search query in the Xml Content Demo search engine isn't properly sanitised. This
can be exploited to conduct cross-site scripting attacks. Example: http://host/opencms/opencms/system/modules/org.opencms.frontend.templateone/pages/search.html?action=
search&query=%22%3E%3Cscript%3Ealert%28'www.eazel.es'%29%3C%2Fscript%3E%3C!-&index=Online+pro
ject+%28VFS%29&page=1&uri=%2Fxmlcontentdemo%2Fside_el ement_demo.html&__locale=en&query2=%3Cscript%3Ealert%28a%29%3C%2Fscript%3E Original advisory: http://www.eazel.es/media/advisory002-OpenCms-Xml-Content-Demo-search-engine-Cross
-site-scripting.html


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2006, SecurityGlobal.net LLC