Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

[MajorSecurity #17] SixCMS <= 6 - Multiple XSS and directory traversal vulnerabilities
From: admin () majorsecurity de
Date: 12 Jun 2006 15:35:16 -0000

[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>


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]