Title: ====== iScripts EasyCreate CMS v2.0 - Multiple Web Vulnerabilites Date: ===== 2012-06-02 References: =========== http://www.vulnerability-lab.com/get_content.php?id=588 VL-ID: ===== 588 Common Vulnerability Scoring System: ==================================== 8.3 Introduction: ============= iScripts EasyCreate is an online web site building tool that can be hosted on your server to provide web site building services to your clients. iScripts EasyCreate is completely customizable. You can decide on the branding of the entire web site creation software by setting your logo, brand information, marketing messages, special offers, custom support links, etc. on the application interface. Since the application is hosted on your server, you have complete control over the working of the site. The application is easy to install, and you can have your web site building service up and running in minutes. Power packed web site builder iScripts EasyCreate makes creating and managing a professional quality web site quick and easy. The step-by-step approach allows users to build and upload their sites in a few minutes. To build web sites, users do not have to have any HTML skills. An expert user can control generated code and get the exact look and feel that he wants. The software has two editors, for beginner users and advanced used users. Users can drag and drop the page contents to make web pages easy. (Copy of the Vendor Homepage: http://www.iscripts.com/easycreate ) Abstract: ========= The Vulnerability Laboratory Research Team discovered multiple web vulnerabilites in iScripts EasyCreate v2.0 CMS. Report-Timeline: ================ 2012-06-02: Public or Non-Public Disclosure Status: ======== Published Exploitation-Technique: ======================= Remote Severity: ========= Critical Details: ======== 1.1 A SQL Injection vulnerability is detected in iScripts EasyCreate v 2.0, an online web site building tool. The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands on the affected application dbms. Successful exploitation of the vulnerability results in dbms & application compromise. The vulnerability is located in the the editor.php file with the bound vulnerable tempsiteid parameter. Vulnerable Module(s): [+] Editor - Template ID Vulnerable File(s): [+] code/editor.php Vulnerable Parameter(s): [+] tempsiteid=[x] --- SQL Exception Logs --- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 25 at line 1 1.2 A persistent input validation vulnerability is detected in iScripts EasyCreate v 2.0, an online web site building tool. The bugs allow remote attackers to implement/inject malicious script code on the application side (persistent). The persistent vulnerability is located in the first name input field value & the output display of the vulnerable editprofile.php. Successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent) context manipulation. Exploitation requires low user inter action & privileged user account. Vulnerable Module(s): [+] editprofile.php - [First name] Proof of Concept: ================= 1.1 The sql injection vulnerability can be exploited by remote attackers without user inter action. For demonstration or reproduce ... PoC: http://127.0.0.1:1338/easycreate/cms/code/editor.php?type=new&actiontype=editsite&templateid=128'&tempsiteid=-1 union all select [SQL Injection] -- 1.2 The persistent input validation vulnerabilities can be exploited by remote attackers with low required user inter action. For demonstration or reproduce ... The attacker create an account and then changed his first name to malicious persistent javascript or html code. To change, the first name the attacker needs to go to > main menu > profile manager > edit profile. Then inject the malicious script code i.e.,