====================================================================== Secunia Research 03/06/2010 - TomatoCMS Arbitrary File Upload Vulnerability - ====================================================================== Table of Contents Affected Software....................................................1 Severity.............................................................2 Vendor's Description of Software.....................................3 Description of Vulnerability.........................................4 Solution.............................................................5 Time Table...........................................................6 Credits..............................................................7 References...........................................................8 About Secunia........................................................9 Verification........................................................10 ====================================================================== 1) Affected Software * TomatoCMS version 2.0.6. NOTE: Other versions may also be affected. ====================================================================== 2) Severity Rating: Moderately critical Impact: System access Where: From remote ====================================================================== 3) Vendor's Description of Software "TomatoCMS is an impressive, powerful Content Management System. It's free and open source licensed under GNU GPL." Product Link: http://tomatocms.com/ ====================================================================== 4) Description of Vulnerability Secunia Research has discovered a vulnerability in TomatoCMS, which can be exploited by malicious users to compromise a vulnerable system. The vulnerability is caused by an error 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 requires "Add new article", "Upload file to server", and "Browse uploaded files" permissions. ====================================================================== 5) Solution Grant only trusted users "Add new article", "Upload file to server", and "Browse uploaded files" permissions. ====================================================================== 6) Time Table 09/04/2010 - Vendor notified. 11/04/2010 - Vendor response. 04/05/2010 - Vendor releases new version, which does not fix the reported vulnerability. 11/05/2010 - Requested status update from the vendor. 19/05/2010 - Requested status update from the vendor (2nd attempt). 03/06/2010 - Public disclosure. ====================================================================== 7) Credits Discovered by Secunia Research. ====================================================================== 8) References The Common Vulnerabilities and Exposures (CVE) project has assigned CVE-2010-1514 for the vulnerability. ====================================================================== 9) About Secunia Secunia offers vulnerability management solutions to corporate customers with verified and reliable vulnerability intelligence relevant to their specific system configuration: http://secunia.com/advisories/business_solutions/ Secunia also provides a publicly accessible and comprehensive advisory database as a service to the security community and private individuals, who are interested in or concerned about IT-security. http://secunia.com/advisories/ Secunia believes that it is important to support the community and to do active vulnerability research in order to aid improving the security and reliability of software in general: http://secunia.com/secunia_research/ Secunia regularly hires new skilled team members. Check the URL below to see currently vacant positions: http://secunia.com/corporate/jobs/ Secunia offers a FREE mailing list called Secunia Security Advisories: http://secunia.com/advisories/mailing_lists/ ====================================================================== 10) Verification Please verify this advisory by visiting the Secunia website: http://secunia.com/secunia_research/2010-57/ Complete list of vulnerability reports published by Secunia Research: http://secunia.com/secunia_research/ ====================================================================== _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/