SixCMS <= 6 - Multiple XSS and directory traversal vulnerabilities

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1053200 漏洞类型
发布时间 2006-06-18 更新时间 2006-06-18
CVE编号 CVE-2006-3051
CVE-2006-3050
CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2006060106
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
[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>