Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

TomatoCMS Multiple Vulnerabilities

-

Release Date:  2010-06-03    Last Update:  2010-06-16    Views:  4,747

Secunia Advisory SA39680

Where:

From remote

Impact:

Cross Site Scripting, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Some vulnerabilities have been discovered in TomatoCMS, which can be exploited by malicious users to conduct script insertion attacks and compromise a vulnerable system and by malicious people to conduct cross-site scripting and cross-site request forgery attacks.

1) Input passed via the "keyword" and "bannerid" parameters to index.php/admin/ad/banner/list is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in the users browser in context of the affected site.

2) Input passed via the "title" and "answers" parameters to index.php/admin/poll/add is not properly sanitised before being displayed to the user. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.

Successful exploitation requires "Create new poll" permissions.

3) Input passed via the "name" parameter to index.php/admin/category/add is not properly sanitised before being displayed to the user. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.

Successful exploitation requires "Create new category" permissions.

4) The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to e.g. change the administrative password by tricking a logged-in administrative user into visiting a malicious web site.

5) Input passed via the "keyword" and "article-id" parameters to index.php/admin/news/article/list, the "keyword" parameter to index.php/admin/multimedia/set/list, the "keyword" and "fileId" parameters to index.php/admin/multimedia/file/list, and the "name", "email", and "address" parameters to index.php/admin/ad/client/list is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in the users browser in context of the affected site.

6) An error exists in the validation of uploaded image files while adding a new article. This can be exploited to upload arbitrary files inside the webroot and e.g. execute arbitrary PHP code.

Successful exploitation of this vulnerability requires "Add new article", "Upload file to server", and "Browse uploaded files" permissions.

The vulnerabilities are confirmed in version 2.0.6. Other versions may also be affected.


Solution:
Edit the source code to ensure that input is properly sanitised. Do not browse untrusted websites or follow untrusted links while logged in to the application. Grant only trusted users "Add new article", "Upload file to server", and "Browse uploaded files" permissions.

Provided and/or discovered by:
1 - 4) Reported by Russ McRee, HolisticInfoSec via Secunia.
5, 6) Secunia Research.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2010-57/
http://secunia.com/secunia_research/2010-58/

Russ McRee:
http://holisticinfosec.org/content/view/148/45/

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: TomatoCMS Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability