Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018) - Nessus

Medium   Plugin ID: 118094

This page contains detailed information about the Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 118094
Name: Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018)
Filename: smb_nt_ms18_oct_ssms.nasl
Vulnerability Published: 2018-10-10
This Plugin Published: 2018-10-12
Last Modification Time: 2022-04-11
Plugin Version: 1.8
Plugin Type: local
Plugin Family: Windows
Dependencies: microsoft_ssms_installed.nbin
Required KB Items [?]: installed_sw/Microsoft SSMS, Settings/ParanoidReport, SMB/Registry/Enumerated

Vulnerability Information


Severity: Medium
Vulnerability Published: 2018-10-10
Patch Published: 2018-10-10
CVE [?]: CVE-2018-8527, CVE-2018-8532, CVE-2018-8533
CPE [?]: cpe:/a:microsoft:sql_server_management_studio

Synopsis

The version of SQL Server Management Studio installed on the remote Windows host is affected by multiple vulnerabilities.

Description

The version of Microsoft SQL Server Management Studio installed on the remote Windows host is a version prior or equal to 17.9, 18.0 Preview 4. It is, therefore, affected by multiple vulnerabilities.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Refer to Microsoft documentation and upgrade to relevant fixed version.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Exploit-DB, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018) vulnerability:

  1. Exploit-DB: exploits/windows/local/45583.txt
    [EDB-45583: Microsoft SQL Server Management Studio 17.9 - XML External Entity Injection]
  2. Exploit-DB: exploits/windows/local/45585.txt
    [EDB-45585: Microsoft SQL Server Management Studio 17.9 - '.xel' XML External Entity Injection]
  3. Exploit-DB: exploits/windows/local/45587.txt
    [EDB-45587: Microsoft SQL Server Management Studio 17.9 - '.xmla' XML External Entity Injection]
  4. GitHub: http://hyp3rlinx.altervista.org/advisories/MICROSOFT-SQL-SERVER-MGMT-STUDIO-XMLA-FILETYPE-XML-INJECTION-CVE-2018-8532.txt
    [CVE-2018-8532]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2018-8527
CVSS V2 Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N/E:POC/RL:OF/RC:C
CVSS Base Score:4.3 (Medium)
Impact Subscore:2.9
Exploitability Subscore:8.6
CVSS Temporal Score:3.4 (Low)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:3.4 (Low)
CVSS V3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C
CVSS Base Score:5.5 (Medium)
Impact Subscore:3.6
Exploitability Subscore:1.8
CVSS Temporal Score:5.0 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.0 (Medium)

Go back to menu.

Plugin Source


This is the smb_nt_ms18_oct_ssms.nasl nessus plugin source code. This script is Copyright (C) 2018-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(118094);
  script_version("1.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2018-8527", "CVE-2018-8532", "CVE-2018-8533");

  script_name(english:"Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018)");

  script_set_attribute(attribute:"synopsis", value:
"The version of SQL Server Management Studio installed 
on the remote Windows host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Microsoft SQL Server Management Studio 
installed on the remote Windows host is a version prior 
or equal to 17.9, 18.0 Preview 4. It is, 
therefore, affected by multiple vulnerabilities.

Note that Nessus has not tested for these issues but has instead
relied only on the application's self-reported version number.");
  # https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?00f3184c");
  script_set_attribute(attribute:"solution", value:
"Refer to Microsoft documentation and upgrade to relevant
fixed version.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-8527");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2018/10/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2018/10/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2018/10/12");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:sql_server_management_studio");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2018-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("microsoft_ssms_installed.nbin");
  script_require_keys("SMB/Registry/Enumerated", "installed_sw/Microsoft SSMS", "Settings/ParanoidReport");

  exit(0);
}

include("vcf.inc");

get_kb_item_or_exit("SMB/Registry/Enumerated");
if (report_paranoia < 2) audit(AUDIT_PARANOID);

app_info = vcf::get_app_info(app:"Microsoft SSMS");

constraints = [
  { "min_version" : "2017.140.0.0", "max_version": "2017.140.17285.0", "fixed_display" : "Refer to vendor documentation."},
  { "min_version" : "2018.150.0.0", "max_version": "2018.150.18040.0", "fixed_display" : "Refer to vendor documentation."}
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING, strict:FALSE);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/smb_nt_ms18_oct_ssms.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\smb_nt_ms18_oct_ssms.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/smb_nt_ms18_oct_ssms.nasl

Go back to menu.

How to Run


Here is how to run the Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows plugin family.
  6. On the right side table select Microsoft SQL Server Management Studio Multiple vulnerabilities (October 2018) plugin ID 118094.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl smb_nt_ms18_oct_ssms.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a smb_nt_ms18_oct_ssms.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - smb_nt_ms18_oct_ssms.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state smb_nt_ms18_oct_ssms.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 118233 - MySQL 5.5.x < 5.5.62 Multiple Vulnerabilities (October 2018 CPU)
  • 118234 - MySQL 5.6.x < 5.6.42 Multiple Vulnerabilities (October 2018 CPU)
  • 120948 - Oracle Business Intelligence Publisher Multiple Vulnerabilities (October 2018 CPU)
  • 124090 - Oracle Fusion Middleware Oracle HTTP Server Multiple Vulnerabilities (October 2018 CPU)
  • 118330 - Oracle Identity Manager Multiple Vulnerabilities (October 2018 CPU)
  • 118228 - Oracle Java SE Multiple Vulnerabilities (October 2018 CPU)
  • 118227 - Oracle Java SE Multiple Vulnerabilities (October 2018 CPU) (Unix)
  • 118572 - Oracle JRockit JDK R28.3.19 Multiple Vulnerabilities (October 2018 CPU)
  • 118202 - Oracle Primavera P6 Enterprise Project Portfolio Management (EPPM) Multiple Vulnerabilities (October 2018 CPU)
  • 118230 - Oracle Database Server Multiple Vulnerabilities (October 2018 CPU)
  • 118205 - Oracle WebLogic Server Multiple Vulnerabilities (October 2018 CPU)
  • 117997 - KB4462917: Windows 10 Version 1607 and Windows Server 2016 October 2018 Security Update
  • 117998 - KB4462918: Windows 10 Version 1709 and Windows Server Version 1709 October 2018 Security Update
  • 117999 - KB4462919: Windows 10 Version 1803 and Windows Server Version 1803 October 2018 Security Update
  • 118000 - KB4462922: Windows 10 October 2018 Security Update
  • 118001 - KB4462915: Windows 7 and Windows Server 2008 R2 October 2018 Security Update
  • 118002 - KB4462941: Windows 8.1 and Windows Server 2012 R2 October 2018 Security Update
  • 118003 - KB4462931: Windows Server 2012 October 2018 Security Update
  • 118004 - KB4462937: Windows 10 Version 1703 October 2018 Security Update
  • 118005 - KB4463104: Windows Server 2008 October 2018 Security Update
  • 118006 - KB4464330: Windows 10 Version 1809 and Windows Server 2019 October 2018 Security Update
  • 118009 - Security Updates for Internet Explorer (October 2018)
  • 118011 - Security Updates for Microsoft SharePoint Server (October 2018)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file smb_nt_ms18_oct_ssms.nasl version 1.8. For more plugins, visit the Nessus Plugin Library.

Go back to menu.