Full Disclosure: Barracuda ADC 5.x


fulldisclosure logo
Full Disclosure
mailing list archives

Barracuda ADC 5.x – Client Side Cross Site Scripting Vulnerability


From: Vulnerability Lab
Date: Wed, 11 Jul 2018 15:02:56 +0200


Document Title:
===============
Barracuda ADC 5.x  - Client Side Cross Site Scripting Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1425


Release Date:
=============
2018-07-10


Vulnerability Laboratory ID (VL-ID):
====================================
1425


Common Vulnerability Scoring System:
====================================
3.6


Vulnerability Class:
====================
Cross Site Scripting - Non Persistent


Current Estimated Price:
========================
500€ - 1.000€


Product & Service Introduction:
===============================
Ensure Application Scalability,Performance, and Security. The Barracuda
Load Balancer ADC is ideal for organizations looking for
a high-performance, yet cost-effective application delivery and security
solution. With the broadest range of hardware and virtual
models, the Barracuda Load Balancer ADC provides maximum flexibility for
organizations looking to build highly secure and scalable
application infrastructure, whether it’s deployed on-premises or in the
cloud.

(Copy of the Vendor Homepage:
https://www.barracuda.com/products/loadbalancer )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered a client-side
cross site scripting web vulnerability in the Barracuda Networks ADC
v5.2.0.004 appliance web-application.


Vulnerability Disclosure Timeline:
==================================
2018-07-10: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
Barracuda Networks
Product: ADC Load Balancer - Appliance Web Application 5.2.0.004


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Authentication Type:
====================
Restricted authentication (user/moderator) - User privileges


User Interaction:
=================
Low User Interaction


Disclosure Type:
================
Bug Bounty Program


Technical Details & Description:
================================
A client-side cross site scripting web vulnerability has been discovered
in the official Barracuda Networks ADC v5.2.0.004 appliance web-application.
The non-persistent vulnerability allows remote attackers to compromise
session data by usage of client-side manipulated appliance
web-application requests.

The client-side input validation web vulnerability is located in the
`group` value of the Sicherheit - Internet Muster -
Identitätsdiebstahlsmuster module.
Remote attackers are able to prepare malicious client-side application
request to compromise appliance application accounts. The injection
point of the issue
is the vulnerable `copy|kopieren` function with the wrong encoded group
value. The attack vector of the issue is located on the client-side of
the service
and the request method to execute the injected code is GET (Referer).
The execution of the code occurs after the inject in the groupname
context of the same site.

The security risk of the non-persistent input validation web
vulnerability is estimated as medium with a cvss (common vulnerability
scoring system) count of 3.6.
Exploitation of the client-side remote vulnerability requires low or
medium user interaction and no privileged application user account.
Successful exploitation
results in client-side account theft by hijacking, client-side phishing,
client-side external redirects and client-side manipulation of affected
and connected
appliance module web context.

Request Method(s):
[+] GET (Referer)

Vulnerable Module(s):
[+] Sicherheit - Internet Muster - Identitätsdiebstahlsmuster [Kopieren]
(group)

Vulnerable File(s):
[+] index.cgi

Vulnerable Parameter(s):
[+] group


Proof of Concept (PoC):
=======================
The client-side cross site scripting web vulnerability can be exploited
by remote attackers and local low privileged application user account
with low or medium user interaction.
For security demonstration or to reproduce the security vulnerability
follow the provided information and steps below to continue.


Manual steps to reproduce the security vulnerability ...
1. Open the barracuda adc web-application appliance
2. Build a GET method request with the vulnerable location and payload
3. Open poc payload as test to approve the existance of the issue
Note: You can parallel open the Sicherheit > Internet Muster >
Identitätsdiebstahlsmuster [Kopieren] module to preview the executable
function source
4. The payload executes in the web module context via group parameter
4. Successful reproduce of the non-persistent security vulnerability!


Vulnerable Module(s): Sicherheit > Internet Muster >
Identitätsdiebstahlsmuster [Kopieren] (group)
Request Method(s): GET


PoC: Exploitation
http://adc.localhost:8080/cgi-mod/index.cgi?password=48c669c1112b5fd89648930d335f0d8b&et=1422221302&auth_type=Local&;
content_only=1&group=%22%3E%3C%22%3Cimg%20src=%22evil.source%22%3E%20%20%3E%22%3Ciframe%20src=evil.source%3E%20%3Ciframe%3E[CLIENT-SIDE
INJECTED SCRIPT CODE!]&
locale=de_DE&new_secondary_tab=view_internal_patterns&primary_tab=SECURITY&realm=&secondary_tab=copy_internal_attack_patterns&user=
guest&ispopup=1&parent_name=libraries496409&popup_width=725&popup_height=500


PoC: Source
Kopieren
Von
Gruppenname
"><" >"