Document Title: =============== Cyberoam Central Console v02.03.1 - Multiple Persistent Vulnerabilities References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1721 Cyberoam Ticket ID: #1001314 Case ID: CCC-4208 Release Date: ============= 2016-04-18 Vulnerability Laboratory ID (VL-ID): ==================================== 1721 Common Vulnerability Scoring System: ==================================== 3.4 Product & Service Introduction: =============================== The Cyberoam Central Console (CCC) appliances enable Enterprises and MSSPs to centrally manage Cyberoam network security appliances deployed across branch offices or customer offices. Providing flexibility of hardware and virtual platforms, CCC appliances simplify centralized security management, reduce administrative overhead and aid compliance reporting for distributed enterprises and MSSPs as required for their growing networks. (Copy of the Vendor Homepage: http://www.cyberoam.com/ccc.html ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered multiple application-side validation vulnerabilities in the offical Cyberoam Central Console v02.03.1 appliance web-application. Vulnerability Disclosure Timeline: ================================== 2016-04-18: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Sophos Product: Cyberoam Central Console 02.03.1 - CCC15NM 30, CCC50NM 100, CCC100NM 200, CCC200NM 40 Sophos Product: Cyberoam Central Console 02.03.1 Virtual CCC - CCCV15, CCCV50, CCCV100, CCCV200, CCCV Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ A persistent cross site scripting web vulnerability has been discoverd in the offical Cyberoam Central Console v02.03.1 appliance web-application. The security issue allows remote attackers to inject own malicious script codes on the application-side of the vulnerable service module. The vulnerability is located in `header` and `footer` input fields of the `Policy Configuration - System - configuration - Captive Portal - General Settings` module. Remote attackers and low privileged or restricted web-application user accounts are able to inject own malicious script code in main functionality code of login page `Captive Portal`. The data of the POST method request in the body of message text, executes without a secure encoding or a restriction on input in the web-application appliance. The persistent execution of the script code occurs in [Page Title,Login page Header , Login page Footer] that gets shown by the appliances directly to users. The security risk of the application-side cross site vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.8. Exploitation of the persistent input validation web vulnerability requires a low privilege web-application user account and low or medium user interaction. Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to malicious source and persistent manipulation of affected or connected application modules. Request Method(s): [+] POST Vulnerable Module(s): [+] Policy Configuration - System - configuration - Captive Portal Vulnerable File(s): [+] WebClientPortalPreview.html Vulnerable Inputs(s): [+] Page Title [+] Login page Header [+] Login page footer Vulnerable Parameter(s): [+] header [+] footer Proof of Concept (PoC): ======================= Persistent Web Vulnerability can be exploited by remote attackers with low privileged application user account and low user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. 1. Open the cyberoam central console appliance web-application login page 2. Login to the appliance 3. Open the following module ... Policy Configuration > System > configuration > Captive Portal > General Settings Note: The vulnerable inputs are Page Title , Login page Header and the Login page Footer 4. Now inject to the regular input fields your script code payload to test the validation procedure PoC: Payload ... ">