[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060610155034.1548.qmail@securityfocus.com>
Date: 10 Jun 2006 15:50:34 -0000
From: admin@...orsecurity.de
To: bugtraq@...urityfocus.com
Subject: [MajorSecurity #12]ZMS<= 2.9 - XSS
[MajorSecurity #12]ZMS<= 2.9 - XSS
------------------------------------------
Software: ZMS
Version: <=2.9
Type: Cross site scripting
Date: June, 10th 2006
Vendor: Hoffmann+Liebenberg GmbH, SNTL Publishing GmbH & CO KG
Page: http://www.zms-publishing.com
Credits:
----------------------------
Discovered by: David "Aesthetico" Vieira-Kurz
http://www.majorsecurity.de
Original Advisory:
----------------------------
http://www.majorsecurity.de/advisory/major_rls12.txt
Affected Products:
----------------------------
ZMS 2.9 and prior
Description:
----------------------------
ZMS is a ZOPE-based content management system for science, technology and medicine.
Requirements:
----------------------------
register_globals = On
Vulnerability:
----------------------------
Input passed to the searchform input fields is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in context of an affected site.
Solution:
----------------------------
Edit the source code to ensure that input is properly sanitised.
You should work with "htmlspecialchars()" or "strip_tags()" php-function to ensure that html tags
are not going to be executed.
Example:
<?php
echo htmlspecialchars("<script");
?>
Set "register_globals" to "Off".
Exploitation:
---------------------------
Goto the searchform input fields and type in following line as searchword:
<script>alert("MajorSecurity")</script>
Powered by blists - more mailing lists