Commvault 11 < 11 SP7 Multiple Vulnerabilities - Nessus
Critical Plugin ID: 125782This page contains detailed information about the Commvault 11 < 11 SP7 Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 125782
Name: Commvault 11 < 11 SP7 Multiple Vulnerabilities
Filename: commvault_11_sp7.nasl
Vulnerability Published: 2017-12-15
This Plugin Published: 2019-06-07
Last Modification Time: 2019-07-25
Plugin Version: 1.4
Plugin Type: remote
Plugin Family: Misc.
Dependencies:
commvault_web_console_detect.nbin
Required KB Items [?]: installed_sw/Commvault, Settings/ParanoidReport
Vulnerability Information
Severity: Critical
Vulnerability Published: 2017-12-15
Patch Published: 2017-12-15
CVE [?]: CVE-2017-3195, CVE-2017-18044
CPE [?]: cpe:/a:commvault:commvault
Synopsis
The Commvault install running on the remote host is affected by multiple vulnerabilities.
Description
The version of Commvault running on the remote web server is 11 prior to 11 SP7. It is, therefore, affected by multiple vulnerabilities:
- A buffer overflow vulnerability exists in the Commvault Edge communication service (cvd). An remote, unauthenticated attacker could achieve arbitrary code execution by sending a specially crafted packet. (CVE-2017-3195)
- A command injection vulnerability exists in CVDataPipe.dll. An unauthenticated, remote attacker can exploit this, via a specially crafted message to CreateProcess, to execute arbitrary commands as SYSTEM. (CVE-2017-18044)
Solution
Upgrade to Commvault v11 SP6 and install hotfix 590, v11 SP7 or later.
Public Exploits
Target Network Port(s): 80, 443
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, GitHub)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the Commvault 11 < 11 SP7 Multiple Vulnerabilities vulnerability:
- Metasploit: exploit/windows/misc/commvault_cmd_exec
[Commvault Communications Service (cvd) Command Injection] - GitHub: https://github.com/securifera/CVE-2017-18044-Exploit
[CVE-2017-18044: Commvault-CVE-2017-18044]
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-2017-3195
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 commvault_11_sp7.nasl nessus plugin source code. This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(125782);
script_version("1.4");
script_cvs_date("Date: 2019/07/25 7:07:22");
script_cve_id("CVE-2017-3195","CVE-2017-18044");
script_bugtraq_id(96941);
script_xref(name:"IAVA", value:"2019-A-0181");
script_name(english:"Commvault 11 < 11 SP7 Multiple Vulnerabilities");
script_summary(english:"Checks for the product version and service pack.");
script_set_attribute(attribute:"synopsis", value:
"The Commvault install running on the remote host is affected by
multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of Commvault running on the remote web server is 11 prior
to 11 SP7. It is, therefore, affected by multiple vulnerabilities:
- A buffer overflow vulnerability exists in the Commvault Edge
communication service (cvd). An remote, unauthenticated
attacker could achieve arbitrary code execution by sending
a specially crafted packet. (CVE-2017-3195)
- A command injection vulnerability exists in CVDataPipe.dll.
An unauthenticated, remote attacker can exploit this, via
a specially crafted message to CreateProcess, to execute
arbitrary commands as SYSTEM. (CVE-2017-18044)");
# https://www.securifera.com/advisories/cve-2017-18044/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f582085c");
# http://kb.commvault.com/article/SEC0013
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e7d23884");
script_set_attribute(attribute:"solution", value:
"Upgrade to Commvault v11 SP6 and install hotfix 590, v11 SP7 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-2017-3195");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'Commvault Communications Service (cvd) Command Injection');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/12/15");
script_set_attribute(attribute:"patch_publication_date", value:"2017/12/15");
script_set_attribute(attribute:"plugin_publication_date", value:"2019/06/07");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:commvault:commvault");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("commvault_web_console_detect.nbin");
script_require_keys("installed_sw/Commvault", "Settings/ParanoidReport");
script_require_ports("Services/www", 80, 443);
exit(0);
}
include("http.inc");
include("vcf.inc");
include("vcf_extras.inc");
# Can't detect hotfix
if (report_paranoia < 2) audit(AUDIT_PARANOID);
port = get_http_port(default:80);
# get_app_info wrapper converts version string to <version>-SP<service pack>
# for ease of writing constraints
app = vcf::commvault::get_webapp_info(port:port);
constraints = [{"min_version" : "11", "fixed_version" : "11-SP7", "fixed_display":"11 SP6 & hotfix 590 / 11 SP7"}];
vcf::check_version_and_report(app_info:app, constraints:constraints, severity:SECURITY_HOLE, 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/commvault_11_sp7.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\commvault_11_sp7.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/commvault_11_sp7.nasl
Go back to menu.
How to Run
Here is how to run the Commvault 11 < 11 SP7 Multiple Vulnerabilities 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 Misc. plugin family.
- On the right side table select Commvault 11 < 11 SP7 Multiple Vulnerabilities plugin ID 125782.
- 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 commvault_11_sp7.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a commvault_11_sp7.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - commvault_11_sp7.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 commvault_11_sp7.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: IAVA | Information Assurance Vulnerability Alert:
- 2019-A-0181
- https://www.tenable.com/plugins/nessus/125782
- http://www.nessus.org/u?e7d23884
- http://www.nessus.org/u?f582085c
- https://vulners.com/nessus/COMMVAULT_11_SP7.NASL
- 126988 - Commvault 11 < 11 SP7 Multiple Vulnerabilities
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file commvault_11_sp7.nasl version 1.4. For more plugins, visit the Nessus Plugin Library.
Go back to menu.