SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow - Nessus
Critical Plugin ID: 124062This page contains detailed information about the SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 124062
Name: SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow
Filename: solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl
Vulnerability Published: 2016-03-17
This Plugin Published: 2019-04-16
Last Modification Time: 2022-01-26
Plugin Version: 1.6
Plugin Type: local
Plugin Family: Windows
Dependencies:
smb_enum_services.nasl
Required KB Items [?]: SMB/svc/dwmrcs/path
Vulnerability Information
Severity: Critical
Vulnerability Published: 2016-03-17
Patch Published: 2016-03-17
CVE [?]: CVE-2016-2345
CPE [?]: x-cpe:/a:solarwinds:dameware_mini_remote_control
Synopsis
The remote host is running a remote management application that has a stack buffer overflow condition.
Description
The remote host is running a version of SolarWinds DameWare Mini Remote Client Agent prior to 12.0.3. A stack-based buffer overflow condition exists in DWRCS.EXE due to improper validation of user supplied data passed to wsprintfw(). An attacker can exploit this, via a specially crafted message, to execute arbitrary code.
Solution
Upgrade to SolarWinds DameWare Mini Remote Control v12.0.3 or later.
Public Exploits
Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Exploit-DB, Core Impact)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow vulnerability:
- Exploit-DB: exploits/windows/remote/43059.py
[EDB-43059: DameWare Remote Controller < 12.0.0.520 - Remote Code Execution]
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-2016-2345
CVSS V2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score: | 10.0 (High) |
Impact Subscore: | 10.0 |
Exploitability Subscore: | 10.0 |
CVSS Temporal Score: | 8.3 (High) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 8.3 (High) |
CVSS Base Score: | 9.8 (Critical) |
Impact Subscore: | 5.9 |
Exploitability Subscore: | 3.9 |
CVSS Temporal Score: | 9.1 (Critical) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 9.1 (Critical) |
STIG Risk Rating: High
Go back to menu.
Plugin Source
This is the solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl nessus plugin source code. This script is Copyright (C) 2019-2022 and is owned by Tenable, Inc. or an Affiliate thereof.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(124062);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/01/26");
script_cve_id("CVE-2016-2345");
script_bugtraq_id(84704);
script_xref(name:"CERT", value:"897144");
script_xref(name:"EDB-ID", value:"43059");
script_xref(name:"IAVA", value:"2020-A-0392-S");
script_name(english:"SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow");
script_summary(english:"Checks the version of DWRCS.EXE.");
script_set_attribute(attribute:"synopsis", value:
"The remote host is running a remote management application that has
a stack buffer overflow condition.");
script_set_attribute(attribute:"description", value:
"The remote host is running a version of SolarWinds DameWare Mini
Remote Client Agent prior to 12.0.3. A stack-based buffer overflow
condition exists in DWRCS.EXE due to improper validation of user
supplied data passed to wsprintfw(). An attacker can exploit this,
via a specially crafted message, to execute arbitrary code.");
# https://support.solarwinds.com/Success_Center/DameWare_Remote_Support_Mini_Remote_Control/Knowledgebase_Articles/CVE-2016-2345_vulnerability
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ea9bfd3f");
# https://www.securifera.com/blog/2016/04/03/fun-with-remote-controllers-dameware-mini-remote-control-cve-2016-2345/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?05d43982");
script_set_attribute(attribute:"see_also", value:"https://www.securifera.com/advisories/cve-2016-2345/");
script_set_attribute(attribute:"solution", value:
"Upgrade to SolarWinds DameWare Mini Remote Control v12.0.3 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-2345");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2016/03/17");
script_set_attribute(attribute:"patch_publication_date", value:"2016/03/17");
script_set_attribute(attribute:"plugin_publication_date", value:"2019/04/16");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"x-cpe:/a:solarwinds:dameware_mini_remote_control");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2019-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("smb_enum_services.nasl");
script_require_keys("SMB/svc/dwmrcs/path");
script_require_ports(139,445);
exit(0);
}
include("smb_func.inc");
include("smb_hotfixes_fcheck.inc");
include("vcf.inc");
# Check if the service is detected by smb_enum_services.nasl
val = get_kb_item_or_exit('SMB/svc/dwmrcs/path');
# Get and check the exe path
ret = split(val, sep:' ', keep:FALSE);
path = ret[0];
match = pregmatch(string:path, pattern:'^([A-Za-z]):(.+)$');
if (isnull(match))
exit(1, 'Invalid path ' + path + ' for DWMRCS.exe.');
app = 'SolarWinds DameWare Mini Remote Client Agent';
# Get the file version for the exe.
# hotfix_get_fversion() does not go out to the network
# to fetch the file version if the version is already saved
# in the KB.
fver = hotfix_get_fversion(path:path);
hotfix_handle_error(
error_code:fver['error'],
appname:app,
file:path,
exit_on_fail:TRUE
);
hotfix_check_fversion_end();
ver = join(fver['value'], sep:'.');
# This KB was created by hotfix_get_fversion()
share = match[1] + '$';
file = match[2];
kb = 'SMB/FileVersions/'+tolower(share-'$')+tolower(str_replace(string:file, find:"\", replace:'/'));
app_info = vcf::get_app_info(app:app, kb_ver:kb, port:kb_smb_transport());
vcf::check_granularity(app_info:app_info, sig_segments:3);
constraints = [
{"fixed_version": "12.0.3" }
];
vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl
Go back to menu.
How to Run
Here is how to run the SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Windows plugin family.
- On the right side table select SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow plugin ID 124062.
- Specify the target on the Settings tab and click to Save the scan.
- 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 solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - solarwinds_dameware_mini_remote_control_cve-2016-2345.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 solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: IAVA | Information Assurance Vulnerability Alert:
- 2020-A-0392-S
- https://www.tenable.com/plugins/nessus/124062
- https://www.securifera.com/advisories/cve-2016-2345/
- http://www.nessus.org/u?05d43982
- http://www.nessus.org/u?ea9bfd3f
- https://vulners.com/nessus/SOLARWINDS_DAMEWARE_MINI_REMOTE_CONTROL_CVE-2016-2345.NASL
- 130458 - SolarWinds Dameware Mini Remote Control Unauthenticated RCE
- 86995 - SolarWinds DameWare Mini Remote Control < 12.0 Hotfix 2 SSLv3 Padding Oracle On Downgraded Legacy Encryption (POODLE)
- 91123 - SolarWinds Storage Resource Monitor Profiler < 6.2.3 Multiple Vulnerabilities (Logjam) (POODLE)
- 86421 - SolarWinds Storage Resource Monitor < 6.2 ProcessFileUpload.jsp File Upload RCE
- 47137 - SolarWinds TFTP Server < 10.4.0.13 DoS
- 47138 - SolarWinds TFTP Server < 10.4.0.14 DoS
- 146309 - SolarWinds Orion Platform < 2019.4.2 Remote Code Execution
- 146310 - SolarWinds Orion Platform < 2020.2.4 Multiple Vulnerabilities
- 144449 - SolarWinds Orion Platform < 2020.2.1 HF2 Multiple Vulnerabilities
- 83817 - SolarWinds Orion Multiple SQLi Vulnerabilities
- 62118 - SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities
- 155442 - SolarWinds Orion Platform 2020.2.0 < 2020.2.6 Multiple Vulnerabilities
- 144622 - SolarWinds Orion Platform < 2019.4 HF6 / 2020.2 < 2020.2.1 HF2 Authentication Bypass (SUPERNOVA)
- 87600 - SolarWinds Storage Manager AuthenticationFilter Script Upload RCE
- 59116 - SolarWinds Storage Manager Server LoginServlet loginName Parameter SQL Injection
- 154954 - SolarWinds Virtualization Manager <= 6.3.1 Privilege Escalation
- 92040 - SolarWinds Virtualization Manager Java Object Deserialization RCE
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file solarwinds_dameware_mini_remote_control_cve-2016-2345.nasl version 1.6. For more plugins, visit the Nessus Plugin Library.
Go back to menu.