|
| 1 | +Document Title: |
| 2 | +=============== |
| 3 | +Barracuda Networks Spam&Virus Firewall v6.0.2 (600 & Vx) - Client Side Cross Site Vulnerability |
| 4 | + |
| 5 | + |
| 6 | +References (Source): |
| 7 | +==================== |
| 8 | +http://www.vulnerability-lab.com/get_content.php?id=890 |
| 9 | + |
| 10 | +Barracuda Networks Security ID (BNSEC): BNSEC-1176 |
| 11 | +https://www.barracuda.com/support/knowledgebase/501600000013gvh |
| 12 | + |
| 13 | +Solution #00006521 |
| 14 | +BNSEC-01176: Authenticated non-persistent XSS in Barracuda Spam and Virus Firewall v6.0.2 |
| 15 | + |
| 16 | + |
| 17 | +Release Date: |
| 18 | +============= |
| 19 | +2014-07-21 |
| 20 | + |
| 21 | + |
| 22 | +Vulnerability Laboratory ID (VL-ID): |
| 23 | +==================================== |
| 24 | +890 |
| 25 | + |
| 26 | + |
| 27 | +Common Vulnerability Scoring System: |
| 28 | +==================================== |
| 29 | +2.3 |
| 30 | + |
| 31 | + |
| 32 | +Product & Service Introduction: |
| 33 | +=============================== |
| 34 | +Barracuda Networks, Inc. is a privately held company providing security, networking and storage products based on network appliances and |
| 35 | +cloud services. The company’s security products include products for protection against email, web surfing, web hackers and instant messaging |
| 36 | +threats such as spam, spyware, trojans, and viruses. The company`s networking and storage products include web filtering, load balancing, |
| 37 | +application delivery controllers, message archiving, NG firewalls, backup services and data protection. |
| 38 | + |
| 39 | +(Copy of the Vendor Homepage: https://www.barracudanetworks.com/products/spamandvirusfirewall/models) |
| 40 | + |
| 41 | + |
| 42 | +Abstract Advisory Information: |
| 43 | +============================== |
| 44 | +An independent researcher (Ebrahim Hegazy) discovered a client side cross site vulnerability in the Barracuda Networks Spam & Virus Firewall 5.1.0.012 Appliance. |
| 45 | + |
| 46 | + |
| 47 | +Vulnerability Disclosure Timeline: |
| 48 | +================================== |
| 49 | +2013-10-26: Researcher Notification & Coordination (Ebrahim Hegazy) |
| 50 | +2013-11-27: Vendor Notification (Barracuda Networks - Bug Bounty Team) |
| 51 | +2013-12-03: Vendor Response/Feedback (Barracuda Networks - Bug Bounty Team) |
| 52 | +2014-00-00: Vendor Fix/Patch (Barracuda Networks - Developer Team) |
| 53 | +2014-00-00: Public Disclosure (Vulnerability Laboratory) |
| 54 | + |
| 55 | + |
| 56 | +Discovery Status: |
| 57 | +================= |
| 58 | +Published |
| 59 | + |
| 60 | + |
| 61 | +Affected Product(s): |
| 62 | +==================== |
| 63 | +Barracuda Networks |
| 64 | +Product: Spam & Virus Firewall 5.1.0.012 (Model 600) |
| 65 | + |
| 66 | + |
| 67 | +Exploitation Technique: |
| 68 | +======================= |
| 69 | +Remote |
| 70 | + |
| 71 | + |
| 72 | +Severity Level: |
| 73 | +=============== |
| 74 | +Medium |
| 75 | + |
| 76 | + |
| 77 | +Technical Details & Description: |
| 78 | +================================ |
| 79 | +A non persistent cross site scripting vulnerability has been discovered in the official Barracuda Networks Spam&Virus Firewall 600 v5.1.0.x Appliance Application. |
| 80 | +The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions informaton by client-side cross site scripting requests. |
| 81 | + |
| 82 | +The vulnerability is located in the main `index.cgi` module of the appliance. The vulnerable application GET values are `auth_type`, `primary_tab` and `secoundary_tab`. |
| 83 | +The client-side script code execution occurs in the `index.cgi` after processing to click the client-side manipulated link with the cross site scripting payload. |
| 84 | +The attack vector of the vulnerability is located on the client-side of the appliance service. The request method to inject the script code is `GET`. |
| 85 | + |
| 86 | +The security risk of the non-persistent input validation web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 2.3. |
| 87 | +Exploitation of the client-side remote vulnerability requires low or medium user interaction and no privileged application user account. Successful exploitation results |
| 88 | +in client-side account theft by hijacking, client-side phishing, client-side external redirects and non-persistent manipulation of appliance application- or connected modules. |
| 89 | + |
| 90 | +Vulnerable Service(s): |
| 91 | + [+] Barracuda Networks - Spam & Virus Firewall 600 v5.1.0.x [BUG BOUNTY: http://spam.ptest.cudasvc.com] |
| 92 | + |
| 93 | +Vulnerable Module(s): |
| 94 | + [+] ../cgi-mod/index.cgi |
| 95 | + |
| 96 | +Vulnerable Parameter(s): |
| 97 | + [+] auth_type |
| 98 | + [+] primary_tab |
| 99 | + [+] secondary_tab |
| 100 | + |
| 101 | +Affected Section(s): |
| 102 | + [+] Index - Tab Listings |
| 103 | + |
| 104 | + |
| 105 | +Proof of Concept (PoC): |
| 106 | +======================= |
| 107 | +The client side cross site scripting web vulnerability can be exploited by remote attackers without privileged application user account and |
| 108 | +with low or medium user interaction. For security demonstration or to reproduce the security vulnerability follow the provided information |
| 109 | +and steps below to continue. |
| 110 | + |
| 111 | +Service: Bug Bounty Server (ptest) |
| 112 | +Seriennummer: #BAR-SF-362525 |
| 113 | +Firmware: v5.1.0.012 (2011-10-27 11:34:08) |
| 114 | +Modell:V600 |
| 115 | + |
| 116 | +1- primary_tab |
| 117 | +2- auth_type |
| 118 | +3- secondary_tab |
| 119 | + |
| 120 | +PoC: Service Link with client-side injected Payload |
| 121 | +http://spam.ptest.cudasvc.com/cgi-mod/index.cgi?primary_tab=1%27-alert%28document.location%29-%27//&secondary_tab=quarantine_setup&realm= |
| 122 | +%0D&auth_type=Local&user=guest&password=0dc15354daf5236353adf547cf675a49&et=1361818196&role=%0D&locale=en_US&q= |
| 123 | +%0D&UPDATE_scana_per_user=Yes&save=Save+Changes&UPDATE_scana_quarantine_addr=fdhdf&UPDATE_scana_quarantine_tag=[QUAR] |
| 124 | +&UPDATE_scana_quarantine_reply_addr=postmaster@barracudanetworks.com&UPDATE_quarantine_inbox_url= |
| 125 | +%0D&UPDATE_quarantine_enable_default=No&UPDATE_scana_use_default_domain=No&UPDATE_scana_quarantine_notify=Daily&UPDATE_notification_time=15%3 |
| 126 | +a35&UPDATE_outbound_dusage_use_size_limit=No&UPDATE_outbound_dusage_size_limit=1024000&UPDATE_outbound_dusage_use_age_limit=Yes&UPDATE_outbou |
| 127 | +nd_dusage_age_limit=30&UPDATE_user_quarantine_notify=Never&UPDATE_outbound_notification_time=15%3a35&UPDATE_user_quarantine_email_address=%0D |
| 128 | + |
| 129 | + |
| 130 | +Solution - Fix & Patch: |
| 131 | +======================= |
| 132 | +The vulnerable function and script context should be filtered when processing to encode meta characters in client-side user inputs. |
| 133 | +Especially when the context will be prepared to reflect inside of the main page index.cgi context. |
| 134 | + |
| 135 | + |
| 136 | +Security Risk: |
| 137 | +============== |
| 138 | +The security risk of the client-side cross site scripting web vulnerabilities are estimated as medium(-). |
| 139 | + |
| 140 | + |
| 141 | +Credits & Authors: |
| 142 | +================== |
| 143 | +Vulnerability Laboratory [Research Team] - Ebrahim Hegazy [ebrahim@evolution-sec.com] (www.vulnerability-lab.com) |
| 144 | + |
| 145 | + |
| 146 | +Disclaimer & Information: |
| 147 | +========================= |
| 148 | +The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either |
| 149 | +expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers |
| 150 | +are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even |
| 151 | +if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation |
| 152 | +of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break |
| 153 | +any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. |
| 154 | + |
| 155 | +Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com |
| 156 | +Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com |
| 157 | +Section: dev.vulnerability-db.com - forum.vulnerability-db.com - magazine.vulnerability-db.com |
| 158 | +Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab |
| 159 | +Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php |
| 160 | +Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/ |
| 161 | + |
| 162 | +Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to |
| 163 | +electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by |
| 164 | +Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website |
| 165 | +is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact |
| 166 | +(admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission. |
| 167 | + |
| 168 | + Copyright © 2014 | Vulnerability Laboratory [Evolution Security] |
| 169 | + |
| 170 | +-- |
| 171 | +VULNERABILITY LABORATORY RESEARCH TEAM |
| 172 | +DOMAIN: www.vulnerability-lab.com |
| 173 | +CONTACT: research@vulnerability-lab.com |
| 174 | + |
0 commit comments