toendaCMS Input Validation Hole in 's' Parameter Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID: 1016636|
SecurityTracker URL: http://securitytracker.com/id/1016636
(Links to External Site)
Updated: Jun 8 2008|
Original Entry Date: Aug 3 2006
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|
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:
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.|
No solution was available at the time of this entry.|
Vendor URL: www.toenda.com/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Any), UNIX (Any), Windows (Any)|
Source Message Contents
Subject: [MajorSecurity Advisory #27]ToendaCMS - Cross Site Scripting Issue|
[MajorSecurity Advisory #27]ToendaCMS - Cross Site Scripting Issue
Product: Toenda CMS
Affected Version: <=1.0.3(stable) and 1.1
Immune Version: None known
Discovered by: David Vieira-Kurz
"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)
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:
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.
$pass = htmlentities($_POST['pass']);
$id = intval($_POST['id']);
Set "register_globals" to "Off".
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 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