`[MajorSecurity #17] SixCMS <= 6 - Multiple XSS and directory traversal vulnerabilities
----------------------------------------------
Software: SixCMS
Version: <=6
Type: Cross site scripting
Date: June, 12th 2006
Vendor: Six Offene Systeme GmbH
Page: http://www.sixcms.de
Credits:
----------------------------------------------
Discovered by: David "Aesthetico" Vieira-Kurz
http://www.majorsecurity.de
Original Advisory:
----------------------------------------------
http://www.majorsecurity.de/advisory/major_rls17.txt
Affected Products:
----------------------------------------------
SixCMS 6 and prior
Description:
----------------------------------------------
SixCMS is a well known and commercial enterprise Content Management System.
Requirements:
----------------------------------------------
register_globals = On
Vulnerability:
----------------------------------------------
Input passed to the "template" parameter in "detail.php" is not
properly verified, before it is used to execute the given arguments.
Acquiring access to known files outside of the web root and current directory
is possible through directory traversal techniques.
This is made possible through the use of "../../" in a HTTP request.
Input passes to the "page" parameter in "list.php" is not properly sanitised,
before it is used to execute the given arguments.
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".
Examples:
----------------------------------------------
/detail.php?template=../../../../../../etc/passwd%00
/list.php?page=<script>alert("MajorSecurity")</script>
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation