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 & 6 discovered by Secunia during analysis and advisory preparation phase 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. References:
CVE-2010- BID: 40544 FrSIRT: N/A Nessus:N/A OSVDB: 65091, 65092, 65093, 65094, 65095, 65096, 65097, 65098, 65099 SA: 39680 XF: 59100, 59101 Related: CVE-2010-1994, 1995, 1996 BID: 40108 FrSIRT: N/A Nessus:N/A OSVDB: 64550 , 64551 , 64552 , 64553 , 64554 SA: 39320 XF: 58492, 58491, 58475 Vendor Solution:
|