Document Title: =============== Barracuda Spam&Virus FW #39 - CS 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: ============= 2014-07-25 Vulnerability Laboratory ID (VL-ID): ==================================== 1118 Common Vulnerability Scoring System: ==================================== 2.9 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: ) 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: ================= Published Affected Product(s): ==================== Barracuda Networks Product: Spam & Virus Firewall - 100 200 300 400 500 600 700 800 900 1000 Exploitation Technique: ======================= Remote Severity Level: =============== Low 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 &primary_tab=USERS&new_secondary_tab=per_user_account_view &account=domainadmin@barracuda.comaf92c">e352896d01c&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 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 &password=03f27a30cecedbbda727698954077eec&primary_tab=USERS&new_secondary_tab=per_user_account_view &account=domainadmin@barracuda.comaf92c%3E%3Ciframe%20src= &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 PoC: Cookie Steal &password=03f27a30cecedbbda727698954077eec&primary_tab=USERS&new_secondary_tab=per_user_account_view &account=domainadmin@barracuda.comaf92c%3E%3Cscript%3Ealert%28document.cookie%29%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 Review: Change Password - Mail Session Title
Change Password:domainadmin@barracuda.comaf92c>