SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   toendaCMS Vendors:   Toenda Software Development
toendaCMS Input Validation Hole in 's' Parameter Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1016636
SecurityTracker URL:  http://securitytracker.com/id/1016636
CVE Reference:   CVE-2006-4016   (Links to External Site)
Updated:  Jun 8 2008
Original Entry Date:  Aug 3 2006
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  
Version(s): 1.0.3(stable), 1.1
Description:   A vulnerability was reported in toendaCMS. A remote user can conduct cross-site scripting attacks.

The '/toendaCMS/' scripts do not properly filter HTML code from user-supplied input in the 's' parameter before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the toendaCMS software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

The vendor was notified on July 21, 2006.

David Vieira-Kurz discovered this vulnerability.

The original advisory is available at:

http://www.majorsecurity.de/index_en2.php?major_rls=major_rls27

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the toendaCMS software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   No solution was available at the time of this entry.
Vendor URL:  www.toenda.com/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [MajorSecurity Advisory #27]ToendaCMS - Cross Site Scripting Issue

[MajorSecurity Advisory #27]ToendaCMS - Cross Site Scripting Issue


Details

=======

Product: Toenda CMS

Affected Version: <=1.0.3(stable) and 1.1

Immune Version: None known

Security-Risk: low

Remote-Exploit: yes

Vendor-URL: http://www.toenda.com/

Vendor-Status: informed

Advisory-Status: published


Credits

============

Discovered by: David Vieira-Kurz

http://www.majorsecurity.de


Original Advisory:

============

http://www.majorsecurity.de/index_en2.php?major_rls=major_rls27


Introduction

============

"The toendaCMS Content Management and Weblogging tool gives you a modern,

professional publishing system, based on an SQL and/or XML database.." (from Vendor's page)


More Details

============

Input passed directly to the "?s" parameter in "/toendaCMS/" is not properly sanitised before being returned to the user.

This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

It works with a script code like this:


>'><script%20%0a%0d>alert(123456789)%3B</script>


Fix

===

None known.


Solution

=============

Edit the source code to ensure that input is properly sanitised.

You should work with "htmlspecialchars()" or "htmlentities()" php-function to ensure that html tags

are not going to be executed. Further it is recommend to set off the "register globals" option in the

"php.ini" on your webserver.


Example:

<?php

  $pass = htmlentities($_POST['pass']);

  echo htmlspecialchars("<script");

  $id = intval($_POST['id']);

?>


Set "register_globals" to "Off".


History/Timeline

================

19.07.2006  discovery of the vulnerability

20.07.2006  additional tests with other versions

21.07.2006  contacted Toenda Software Development(vendor) on their own BugTraq.

01.08.2006  after 10 days I got still no response to my advise on their own BugTraq.

02.08.2006  advisory is written

03.08.2006  advisory released


MajorSecurity

=======

MajorSecurity is a German penetration testing and hacking security project

which consists of only one person at the present time.

I am looking for a partnership.

You can find more Information on the MajorSecurity Project at

http://www.majorsecurity.de/

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC