exploit the possibilities

Sophos Cyberoam Cross Site Scripting

Sophos Cyberoam Cross Site Scripting
Posted Jun 7, 2017
Authored by Bhadresh Patel

Sophos Cyberoam with firmware versions 10.6.4 and below suffer from a cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2016-9834
MD5 | 45a09f8eebd93330a1758fa0ea841c81

Sophos Cyberoam Cross Site Scripting

Change Mirror Download

Sophos Cyberoam Cross-site scripting (XSS) vulnerability


Name: Bhadresh Patel


25/05/2017 (dd/mm/yyyy)


More than 100 million users in 150 countries rely on Sophos to offer end-to-end protection against complex threats and data loss. Sophos is committed to providing complete, enterprise-grade security solutions that are simple to deploy, manage and use, and deliver one of the industry's lowest total cost of ownership. Sophos offers award-winning security solutions covering endpoint, mobile, server, encryption, web, email, Wi-Fi, and UTM/next-generation firewall, all backed by SophosLabs -- a global threat analysis center which provides real-time cloud-enabled security intelligence. Sophos is headquartered in Oxford, UK.

Vulnerable Product:

Sophos Cyberoam Firewall

Cyberoam Next-Generation Firewalls are based on CyberoamOS an intelligent and powerful firmware that offers next-generation security features include inline application inspection and control, website filtering, HTTPS inspection, Intrusion Prevention System, VPN (IPSec and SSL) and QoS/bandwidth management. Additional security features like Web Application Firewall, Gateway Anti-Virus, Gateway Anti-Spam are also available.

Customer Product link: https://www.cyberoam.com


Cross-site scripting (XSS) vulnerability in Sophos Cyberoam firewall enables and attackers to execute scripts in a victims browser to hijack user sessions, deface web sites, insert hostile content, redirect users, hijack the users browser using malware, etc.

Affected Software Version:

<= Firmware Version 10.6.4

Vendor Response

Sophos is committed to working with the security community in identifying, remediating and communicating security issues in our products. Customers are advised to upgrade their Cyberoam OS to v.10.6.5, which addresses this issue.



Severity Rating (CVSS):

6.9 (Medium) (CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N)



This vulnerability allows remote attackers to execute arbitrary client side script in the active users browser session, when logged into the Cyberoam firewall. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the handling of request to LiveConnectionDetail.jsp application. GET parameters applicationname and username are improperly sanitized allowing an attacker to inject arbitrary javascript into the page. This can be abused by an attacker to perform a cross-site scripting attack on the user.

Vulnerable module/page/application: /corporate/webpages/trafficdiscovery/LiveConnectionDetail.jsp

Vulnerable parameters: applicationname and username


PoC Video


Real world scenario

1) Victim (Admin) login to the Sophos Cyberoam web console
2) Sophos Cyberoam FW is on a latest version
3) record.txt is empty on attacker page
4) Victim (Admin) visits attacker URL/page


5) XSS successful and attacker captured cookie in record.txt

-------------------------- Source code (promo.html) ----------------------------------
-------------------------- Source code (capture.php) ----------------------------------

file_put_contents('record.txt', $_GET['content']);
echo "<HTML><body><script>window.location=\"\"</script></body></HTML>"


Bhadresh Patel


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

February 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    1 Files
  • 2
    Feb 2nd
    2 Files
  • 3
    Feb 3rd
    17 Files
  • 4
    Feb 4th
    15 Files
  • 5
    Feb 5th
    24 Files
  • 6
    Feb 6th
    16 Files
  • 7
    Feb 7th
    19 Files
  • 8
    Feb 8th
    1 Files
  • 9
    Feb 9th
    2 Files
  • 10
    Feb 10th
    15 Files
  • 11
    Feb 11th
    20 Files
  • 12
    Feb 12th
    12 Files
  • 13
    Feb 13th
    18 Files
  • 14
    Feb 14th
    17 Files
  • 15
    Feb 15th
    4 Files
  • 16
    Feb 16th
    4 Files
  • 17
    Feb 17th
    34 Files
  • 18
    Feb 18th
    15 Files
  • 19
    Feb 19th
    19 Files
  • 20
    Feb 20th
    20 Files
  • 21
    Feb 21st
    15 Files
  • 22
    Feb 22nd
    2 Files
  • 23
    Feb 23rd
    2 Files
  • 24
    Feb 24th
    16 Files
  • 25
    Feb 25th
    37 Files
  • 26
    Feb 26th
    15 Files
  • 27
    Feb 27th
    15 Files
  • 28
    Feb 28th
    4 Files
  • 29
    Feb 29th
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2016 Packet Storm. All rights reserved.

Security Services
Hosting By