Software: Cabacos Web CMS
Version: <=3.8.498
Type: Cross site scripting
Date: June, 10th 2006
Vendor: IT-Direkt
Page: http://www.cabacos-web-cms.de
Discovered by: David "Aesthetico" Vieira-Kurz
http://www.majorsecurity.de
http://www.majorsecurity.de/advisory/major_rls13.txt
Cabacos Web CMS 3.8.498 and prior
Cabacos Web CMS is a well known and commercial Content Management System.
register_globals = On
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.
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".
Goto the searchform input fields and type in following line as searchword:
<script>alert("MajorSecurity")</script>