Vulnerability Note VU#176160

IPswitch WhatsUp Gold contains multiple XSS vulnerabilities and a SQLi

Original Release date: 16 Dec 2015 | Last revised: 27 Dec 2015

Overview

IPSwitch's WhatsUp Gold version 16.3, and possibly previous versions, is vulnerable to SQL injection and cross-site scripting attacks.

Description

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - CVE-2015-6004

The "Find Device" search field does not properly neutralize user input, allowing an unauthenticated (e.g., the guest account) attacker to perform SQL queries and commands by inserting ticks or percent characters.

The "UniqueID" parameter does not sufficiently sanitize user-provided input, leading to a complete compromise of the database associated with the WhatsUpGold application. This parameter is only accessible post-authentication. For more information, please see Rapid7's advisory R7-2015-19.

CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) - CVE-2015-6005

A stored XSS vulnerability can be triggered by poisoning certain SNMP OID objects and waiting for a WhatsUpGold instance to query the SNMP endpoint. SNMP trap messages may also be used. For more information, please see Rapid7's advisory R7-2015-19.

Furthermore, the following user input fields do not properly neutralize user input, allowing an attacker to perform stored XSS attacks:

  • View Names
  • Group Names
  • Flow Monitor Credentials and Threshold Name
  • Task Library Name and Description
  • Policy Library Name and Description
  • Template Library Name and Description
  • System Script Library Name and Description
  • CLI Settings Library Description

These fields appear to be only accessible by privileged accounts (e.g., administrator accounts) and therefore are unlikely to be exploited in practice.

According to the reporters, WhatsUp Gold version 16.3 is affected by these vulnerabilities. Other versions may also be affected.

The CVSS score below is based on CVE-2015-6004.

Impact

An unauthenticated remote attacker may perform SQL commands on the backend database. An administrator may be able to perform cross-site scripting attacks on other administrators and users.

Solution

Apply an update

IPSwitch has released WhatsUp Gold version 16.4 to address these issues. Affected users should update as soon as possible.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
Ipswitch, IncAffected16 Jul 201508 Sep 2015
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
Temporal 5.9 E:POC/RL:OF/RC:C
Environmental 4.4 CDP:N/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to an anonymous researcher working with Beyond Security's SSD program, Owen Shearing of 7Safe Ltd., and Rapid7 for independently reporting SQL injection issues to us. Thanks to the anonymous researcher and Rapid7 for also reporting cross-site scripting vulnerabilities.

This document was written by Garret Wassermann.

Other Information

  • CVE IDs: CVE-2015-6004 CVE-2015-6005
  • Date Public: 16 Dec 2015
  • Date First Published: 16 Dec 2015
  • Date Last Updated: 27 Dec 2015
  • Document Revision: 66

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.