Barracuda Cloud CC 3.04.015 Cross Site Scripting

2012-03-29T00:00:00
ID PACKETSTORM:111313
Type packetstorm
Reporter Benjamin Kunz Mejri
Modified 2012-03-29T00:00:00

Description

                                        
                                            `Title:  
======  
Barracuda Cloud CC v3.04.015 - Multiple Web Vulnerabilities  
  
  
Date:  
=====  
2012-03-29  
  
  
References:  
===========  
http://www.vulnerability-lab.com/get_content.php?id=441  
  
  
VL-ID:  
=====  
441  
  
  
Introduction:  
=============  
The Barracuda Control Center is a comprehensive cloud-based service that enables administrators to  
monitor and configure multiple Barracuda Networks products from a single console. With the  
Barracuda Control Center, you can check the health of all connected devices, run reports that are  
generated by gathering data from all the devices, and assign roles with varied permissions to different  
types of users. The powerful Web interface of the Barracuda Control Center provides for convenient   
configuration and management of multiple Barracuda Networks device settings, while also providing a view   
of each device Web interface for individual configuration or reporting. No need to install software or   
deploy hardware. Key statistics can be viewed by device type at a glance on the Status page of the Web   
interface with the ability to drill down for more detail into the individual Web interface for each connected device.  
  
(Copy of the Vendor Homepage: http://www.barracudanetworks.com/ns/downloads/Admin_Guides/Barracuda_Control_Center_AG_US.pdf )  
  
  
Abstract:  
=========  
Vulnerability-Lab Team discovered multiple Web Vulnerabilities on Barracudas Cloud Control Center v3.0.04.015  
  
  
Report-Timeline:  
================  
2012-02-16: Vendor Notification  
2012-02-18: Vendor Response/Feedback  
2012-03-27: Vendor Fix/Patch by Check  
2012-03-29: Public or Non-Public Disclosure  
  
  
Status:  
========  
Published  
  
  
Affected Products:  
==================  
Barracuda Networks  
Product: Cloud Control Center v3.0.04.015  
  
  
Exploitation-Technique:  
=======================  
Remote  
  
  
Severity:  
=========  
Medium  
  
  
Details:  
========  
1.1  
A persistent Input Validation Vulnerability is detected on Barracudas Cloud Control Center Application v3.0.04.015.   
Local low privileged user account can implement/inject malicious script code to manipulate modules via persistent context   
requests. When exploited by an authenticated user, the identified vulnerabilities can result in information disclosure via error,   
session hijacking, access to cloud/intranet available servers/services, manipulated persistent content on user/mail listing requests.  
  
Vulnerable Module(s):   
[+] User Management - Access Name/Mail Listing  
  
Picture(s):  
../1.png  
  
  
  
1.2  
Multiple client side cross site scripting vulnerabilities are detected on Barracudas Cloude Control Center Application v3.0.04.015.   
The vulnerability allows an attacker (remote) to hijack customer/moderator/admin sessions with medium required user inter   
action. Successful exploitation can result in account steal or client side context manipulation when processing cloud based  
application module requests.  
  
Vulnerable Module(s):   
[+] View_Help - Title  
[+] Site Listing - Page & OldPage  
[+] Audit Log Listing - Name & Content  
  
  
Picture(s):  
../2.png  
../3.png  
../4.png  
  
  
Proof of Concept:  
=================  
The vulnerabilities can be exploited by remote attacker with medium & high required user inter action. For demonstration or reproduce ...  
  
1.1  
  
Code Review: User Management - Access Name/Mail Listing  
  
<td><span id=``spermTree2`` class=``node`` title=``146571`` onclick=``return getTreeById('permTree').select(2,  
true);``>[[EXECUTE PERSISTENT SCRIPT CODE HERE!]]l [146571]</span></td></tr></tbody></table><div id=``  
dpermTree2`` style=``display: none;``/></div><div><table cellspacing=``0`` cellpadding=``0`` border=``0`` id=``89933``   
index=``3`` type=``bws`` class=``bccTreeNode`` device=``true``><tbody><tr><td><img class=``treeIndent`` src=``/images/  
tree/join.gif``/></td><td><img id=``ipermTree3`` class=``treeIcon`` src=``/images/tree/device_bws.png``/></td><td>  
<input type=``checkbox`` name=``check_node_89933`` id=``check_node_89933`` value=``89933``/> </td><td><span id=``spermTree3``   
class=``node`` title=``261171`` onclick=``return getTreeById('permTree').select(3,true);``>Barracuda Web Application   
Firewall [261171]</span></td></tr></tbody></table><div id=``dpermTree3`` style=``display: none;``/></div><div><table   
cellspacing=``0`` cellpadding=``0`` border=``0`` id=``89935`` index=``4`` type=``bws`` class=``bccTreeNode`` device=``true``><tbody>  
<tr><td><img class=``treeIndent`` src=``/images/tree/join.gif``/></td><td><img id=``ipermTree4`` class=``treeIcon`` src=``  
/images/tree/device_bws.png``/></td><td><input type=``checkbox`` name=``check_node_89935`` id=``check_node_89935`` value=``89935``  
/> </td><td><span id=``spermTree4`` class=``node`` title=``261178`` onclick=``return getTreeById('permTree').select(4,true  
);``>[[EXECUTE PERSISTENT SCRIPT CODE HERE!]][261178]</span></td></tr>  
  
  
Reference(s):  
../user-management-access-listing.txt  
  
  
  
  
1.2  
  
Code Review: view_help.cgi - Title  
https://bcc.localhost:8080/cgi-mod/view_help.cgi?locale=de_DE&user=demoguest@barracuda.com&password=  
20de9476bb87df2f3ba501545d26a7f4&et=1329399701&screen=status&transcreen=l33t&title=WELCOME%20TO%20THE%20BARRACUDA  
%20CLOUD%20HACKING%20SESSION@RM%20%3E%22%3C[INCLUDE%20SC%20HERE!]#1  
  
  
<div xmlns=``http://www.w3.org/1999/xhtml`` class=``wrapper``><h1>WELCOME TO THE BARRACUDA CLOUD HACKING SESSION@RM   
>``<[INCLUDE SC HERE!]</h1><div class=``content``><!-- File: $RCSfile: status,v $ -->  
<!-- Rev: $Revision: 109206 $ -->  
<p>  
  
  
  
Code Review: view_help.cgi - Title  
  
<div id=``cui-content`` style=``top: 111px;``>  
<div id=``cui-content-loading-indicator`` style=``display: none;``>  
<span style=``display: none;``>Loading</span></div><div id=``cui-content-inner``><form name=``f`` method=``post`` id=``f``   
enctype=``multipart/form-data`` action=``/cgi-mod/index.cgi`` accept-charset=``utf-8``><input type=``image`` src=``/images/  
transpix.gif`` onclick=``return false;`` name=``fake_submit``/><input type=``hidden`` value=``Local`` name=``auth_type`` id=``  
auth_type``/><input type=``hidden`` value=``1329400830`` name=``et`` id=``et``/><input type=``hidden`` value=``4f79585957217657  
0ced4b1b52679524`` name=``password`` id=``password``/><input type=``hidden`` value=``BASIC`` name=``primary_tab`` id=``primary_tab``/>  
<input type=``hidden`` value=```` name=``realm`` id=``realm``/><input type=``hidden`` value=``audit_logs`` name=``secondary_tab``   
id=``secondary_tab``/><input type=``hidden`` value=``demoguest@barracuda.com`` name=``user`` id=``user``/><input type=``hidden``   
value=``13633`` name=``nodeid`` id=``nodeid``/><input type=``hidden`` value=``false`` name=``page_submitted`` id=``page_submitted``/>  
<input type=``hidden`` value=``bccadmin`` name=``tree_filter`` id=``tree_filter``/><input type=``hidden`` value=``products``   
name=``tree_name`` id=``tree_name``/><table class=``status_screen`` id=``status_screen``><tbody><tr><td><center><table   
cellspacing=``0`` cellpadding=``0`` class=``status_module``><tbody><tr><td><div id=``error``><b class=``outlinetop``><b class=``  
outline1``/><b class=``outline2``/><b class=``outline3``/><b class=``outline4``/></b><div id=``contents``>Fehler: The page   
number ``><[INJECT PERSISTENT SCRIPTCODE ON FILTER MODULE TO EXECUTE OUT OF THIS CONTEXT!] < is not valid<br/>  
  
  
  
Reference(s):  
../view_help.cgi.htm  
../link-site-number-list.htm  
  
  
Risk:  
=====  
1.1  
The security risk of the persistent input validation vulnerability is estimated as medium(+).  
  
1.2  
The security risk of the non-persistent (client side) cross site scripting vulnerabilities are estimated as low(+).  
  
  
Credits:  
========  
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)  
  
  
Disclaimer:  
===========  
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,   
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-  
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business   
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some   
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation   
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-  
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of   
other media, are reserved by Vulnerability-Lab or its suppliers.  
  
Copyright © 2012|Vulnerability-Lab  
  
  
  
  
--   
VULNERABILITY RESEARCH LABORATORY TEAM  
Website: www.vulnerability-lab.com  
Mail: research@vulnerability-lab.com  
  
`