foresite CMS Input Validation Hole in 'query' Parameter Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1017134
|
|
SecurityTracker URL: http://securitytracker.com/id?1017134
|
|
CVE Reference: CVE-2006-5643
(Links to External Site)
|
Updated: Jun 3 2008
|
Original Entry Date: Oct 30 2006
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Description: A vulnerability was reported in foresite CMS. A remote user can conduct cross-site scripting attacks.
The search function ('search_de.html') does not properly filter HTML code from user-supplied input in the 'query' parameter 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 foresite CMS 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.
The vendor was notified on August 20, 2006, without response.
David
Vieira-Kurz discovered this vulnerability.
The original advisory is available at:
http://www.majorsecurity.de/index_2.php?major_rls=major_rls29
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
foresite CMS 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.foresite.ch/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: admin@majorsecurity.de
|
Message History:
None.
|
Source Message Contents
|
Date: Sun, 29 Oct 2006 12:39:14 +0000
From: admin@majorsecurity.de
Subject: [MajorSecurity Advisory #29]foresite CMS - Cross Site Scripting Issue
|
[MajorSecurity Advisory #29]foresite CMS - Cross Site Scripting Issue
Details
=======
Product: ForeSite CMS
Security-Risk: moderated
Remote-Exploit: yes
Vendor-URL: http://www.foresite.ch
Vendor-Status: informed
Advisory-Status: published
Credits
============
Discovered by: David Vieira-Kurz
http://www.majorsecurity.de
Original Advisory:
============
http://www.majorsecurity.de/index_2.php?major_rls=major_rls29
Introduction
============
foresite CMS is a content management system.
More Details
============
XSS:
Input passed directly to the "query" parameter in "search_de.html" is not properl y sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in contex t of an affected site.
Fix
===
None
Solution
=============
Edit the source code to ensure that input is properly sanitised.
You should work with "htmlspecialchars()" or "htmlentities()" php-function to ens ure that html tags
are not going to be executed. Further it is recommend to set off the "register globals" opt ion in the
"php.ini" on your webserver.
Example:
$pass = htmlentities($_POST['pass']);
$test = htmlspecialchars($_GET('test'));
$id = intval($_POST['id']);
?>
History/Timeline
================
18.08.2006 discovery of the vulnerability
19.08.2006 additional tests with other versions
20.08.2006 contacted the vendor
05.09.2006 after 2 weeks the vendor didn't response
05.09.2006 contacted the vendor again
05.10.2006 vendor didn't response
27.10.2006 advisory is written
29.10.2006 advisory released
MajorSecurity
=======
MajorSecurity is a German penetration testing and hacking security project
which consists of only one person at the present time.
I am looking for a partnership.
You can find more Information on the MajorSecurity Project at
http://www.majorsecurity.de/
|
|