Document Title: =============== Barracuda Cloud Control v3.020 - CS XSS Web Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=662 Release Date: ============= 2018-07-17 Vulnerability Laboratory ID (VL-ID): ==================================== 662 Common Vulnerability Scoring System: ==================================== 4 Vulnerability Class: ==================== Cross Site Scripting - Non Persistent Current Estimated Price: ======================== 500€ - 1.000€ 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: https://www.barracudanetworks.com/ns/downloads/Setup_Guides/Barracuda_Cloud_Control_SG_US.pdf) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered a client-side Cross Site Scripting Vulnerability in the official Barracuda Networks Cloud Control Center v3.0.0.020 appliance web-application. Vulnerability Disclosure Timeline: ================================== 2018-07-18: Non-Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Barracuda Networks Product: Cloud Control Center 3.0.0.020 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Authentication Type: ==================== Open Authentication (Anonymous Privileges) User Interaction: ================= Low User Interaction Disclosure Type: ================ Responsible Disclosure Technical Details & Description: ================================ A cross site vulnerability has been discovered in the official Barracuda Networks Cloud Control Center v3.0.0.020 appliance web-application. The cross site vulnerability allows remote attackers to inject own malicious script codes to client-side browser to application requests. The cross site vulnerability is located in the `target_user` parameter of the `Benutzer bearbeiten (Benutzerspezifische Bayessche Daten)` module. Remote attackers are able to inject client-side script codes to the index.cgi GET method request. The application does not encode the script code and displays the insecure message context as output. Thus finally results in the client-side script code execution in the appliance web-application. The attacker vector of the bug is client-side and the request method to inject is GET. Exploitation of the client-side cross site vulnerability requires no privileged web-application user account and low or medium user interaction. Successful exploitation of the vulnerability results in in account theft, client-side phishing, client-side external redirects to malicious source and client-side manipulation of affected or connected module context. Request Method(s): [+] GET Vulnerable Module(s): [+] Benutzer bearbeiten - Benutzerspezifische Bayessche Daten Vulnerable Parameter(s): [+] target_user Affected Module(s): [+] index.cgi Proof of Concept (PoC): ======================= The non persistent cross site scripting vulnerability can be exploited by remote attackers with medium or high required user inter action. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Standard: Example https://bcc.127.0.0.1:1336/cgi-mod/index.cgi?password=befc663e87db8e886c5d8afe5f73cc3e&et=1342741957& primary_tab=BASIC&new_secondary_tab=user_management&auth_type=Local&nodeid=13633&locale=de_DE& secondary_tab=edit_user&page_submitted=550a4ef30b4d0aa5d5435c2f09b3c09c&content_only=1&target_user= benny%40barracuda.com&tree_name=devices&tree_filter=bccadmin&user= benny%40barracuda.com&ispopup=1&parent_name=user_management&popup_width=800&popup_height=500 PoC: Exploitation