VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004) - Nessus

Medium   Plugin ID: 148255

This page contains detailed information about the VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 148255
Name: VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004)
Filename: vmware_vrealize_operations_manager_VMSA-2021-004.nasl
Vulnerability Published: 2021-03-30
This Plugin Published: 2021-03-31
Last Modification Time: 2022-01-19
Plugin Version: 1.6
Plugin Type: remote
Plugin Family: Misc.
Dependencies: vmware_vrealize_operations_manager_webui_detect.nbin
Required KB Items [?]: installed_sw/vRealize Operations Manager

Vulnerability Information


Severity: Medium
Vulnerability Published: 2021-03-30
Patch Published: 2021-03-30
CVE [?]: CVE-2021-21975, CVE-2021-21983
CPE [?]: cpe:/a:vmware:vrealize_operations

Synopsis

VMware vRealize Operations running on the remote host is affected by a Server Side Request Forgery and Arbitrary File Write vulnerabilities.

Description

The version of VMware vRealize Operations (vROps) Manager running on the remote web server is 7.5.x prior to 7.5.0.17771878, 8.0.0 prior to 8.0.1.17771851, or 8.1.0 prior to 8.1.1.17772462 or 8.2.0 prior to 8.2.0.17771778 or 8.3.0 prior to 8.3.0.17787340. It is, therefore, affected by a multiple vulnerablities.

- A malicious actor with network access to the vRealize Operations Manager API can perform a Server Side request Forgery attack to steal administrative credentials. (CVE-2021-21975)

- An authenticated malicious actor with network access to the vRealize Operations Manager API can write files to arbitrary locations on the underlying photon operating system.(CVE-2021-21983)

Solution

Upgrade to VMware vRealize Operations Manager version 7.5.0.17771878, 8.0.1.17771851, 8.1.1.17772462, 8.2.0.17771778, 8.3.0.17787340 or later.

Public Exploits


Target Network Port(s): 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 VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004) vulnerability:

  1. Metasploit: exploit/linux/http/vmware_vrops_mgr_ssrf_rce
    [VMware vRealize Operations (vROps) Manager SSRF RCE]
  2. GitHub: https://github.com/0ps/pocassistdb
    [CVE-2021-21975]
  3. GitHub: https://github.com/CyberCommands/CVE2021-21975
    [CVE-2021-21975]
  4. GitHub: https://github.com/EdgeSecurityTeam/Vulnerability
    [CVE-2021-21975]
  5. GitHub: https://github.com/H4ckTh3W0r1d/Goby_POC
    [CVE-2021-21975]
  6. GitHub: https://github.com/King-Sign/King-Sign
    [CVE-2021-21975]
  7. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2021-21975]
  8. GitHub: https://github.com/SouthWind0/southwind0.github.io
    [CVE-2021-21975]
  9. GitHub: https://github.com/Timirepo/CVE_Exploits
    [CVE-2021-21975]
  10. GitHub: https://github.com/Vulnmachines/VmWare-vCenter-vulnerability
    [CVE-2021-21975]
  11. GitHub: https://github.com/bigblackhat/oFx
    [CVE-2021-21975]
  12. GitHub: https://github.com/dorkerdevil/CVE-2021-21975
    [CVE-2021-21975]
  13. GitHub: https://github.com/jweny/pocassistdb
    [CVE-2021-21975]
  14. GitHub: https://github.com/ltfafei/CVE-2021-21975_VMware_SSRF
    [CVE-2021-21975]
  15. GitHub: https://github.com/ltfafei/my_POC
    [CVE-2021-21975]
  16. GitHub: https://github.com/luck-ying/Library-POC
    [CVE-2021-21975]
  17. GitHub: https://github.com/n1sh1th/CVE-POC
    [CVE-2021-21975]
  18. GitHub: https://github.com/r0eXpeR/supplier
    [CVE-2021-21975]
  19. GitHub: https://github.com/zhzyker/vulmap
    [CVE-2021-21975]
  20. GitHub: https://github.com/Al1ex/CVE-2021-21975
    [CVE-2021-21983]
  21. GitHub: https://github.com/murataydemir/CVE-2021-21975
    [CVE-2021-21983]
  22. GitHub: https://github.com/Al1ex/CVE-2021-21975
    [CVE-2021-21975: CVE-2021-21975 vRealize Operations Manager SSRF]
  23. GitHub: https://github.com/GuayoyoCyber/CVE-2021-21975
    [CVE-2021-21975: Nmap script to check vulnerability CVE-2021-21975]
  24. GitHub: https://github.com/Henry4E36/VMWare-vRealize-SSRF
    [CVE-2021-21975: VMWare vRealize SSRF-CVE-2021-21975]
  25. GitHub: https://github.com/murataydemir/CVE-2021-21975
    [CVE-2021-21975: [CVE-2021-21975] VMware vRealize Operations Manager API Server Side Request Forgery ...]
  26. GitHub: https://github.com/TheTh1nk3r/exp_hub
    [CVE-2021-21975: 漏洞复现与poc收集,CVE-2021-21975,cve-2021-22005,CVE-2021-26295,VMware vCenter任意文件读取]
  27. GitHub: https://github.com/Vulnmachines/VMWare-CVE-2021-21975
    [CVE-2021-21975: VMWare-CVE-2021-21975 SSRF vulnerability]
  28. GitHub: https://github.com/murataydemir/CVE-2021-21983
    [CVE-2021-21983: [CVE-2021-21983] VMware vRealize Operations (vROps) Manager API Arbitrary File Write ...]
  29. GitHub: https://github.com/rabidwh0re/REALITY_SMASHER
    [CVE-2021-21983: vRealize RCE + Privesc (CVE-2021-21975, CVE-2021-21983, CVE-0DAY-?????)]
  30. GitHub: https://github.com/rabidwh0re/REALITY_SMASHER
    [CVE-2021-21975: VRealize RCE + Privesc (CVE-2021-21975, CVE-2021-21983, CVE-0DAY-?????)]

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-2021-21983
CVSS V2 Vector: AV:N/AC:L/Au:S/C:N/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:8.5 (High)
Impact Subscore:9.2
Exploitability Subscore:8.0
CVSS Temporal Score:7.4 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.4 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:6.5 (Medium)
Impact Subscore:5.2
Exploitability Subscore:1.2
CVSS Temporal Score:6.2 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.2 (Medium)

Go back to menu.

Plugin Source


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

# (C) Tenable Network Security, Inc.

include('compat.inc');

if (description)
{
  script_id(148255);
  script_version("1.6");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/01/19");

  script_cve_id("CVE-2021-21975", "CVE-2021-21983");
  script_xref(name:"VMSA", value:"2021-0004");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/02/01");

  script_name(english:"VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004)");

  script_set_attribute(attribute:"synopsis", value:
"VMware vRealize Operations running on the remote host is affected by a Server Side
Request Forgery and Arbitrary File Write vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of VMware vRealize Operations (vROps) Manager running on the remote web server is 7.5.x prior to
7.5.0.17771878, 8.0.0 prior to 8.0.1.17771851, or 8.1.0 prior to 8.1.1.17772462 or 8.2.0 prior to 8.2.0.17771778 or
8.3.0 prior to 8.3.0.17787340. It is, therefore, affected by a multiple vulnerablities. 

  - A malicious actor with network access to the vRealize Operations Manager API can perform a Server Side
    request Forgery attack to steal administrative credentials. (CVE-2021-21975)

  - An authenticated malicious actor with network access to the vRealize Operations Manager API can write
    files to arbitrary locations on the underlying photon operating system.(CVE-2021-21983)");
  script_set_attribute(attribute:"see_also", value:"https://www.vmware.com/security/advisories/VMSA-2021-0004.html");
  script_set_attribute(attribute:"solution", value:
"Upgrade to VMware vRealize Operations Manager version
7.5.0.17771878, 8.0.1.17771851, 8.1.1.17772462, 8.2.0.17771778, 8.3.0.17787340 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-21983");

  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:'VMware vRealize Operations (vROps) Manager SSRF RCE');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2021/03/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2021/03/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2021/03/31");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:vmware:vrealize_operations");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("vmware_vrealize_operations_manager_webui_detect.nbin");
  script_require_keys("installed_sw/vRealize Operations Manager");
  script_require_ports("Services/www", 443);

  exit(0);
}

include('vcf.inc');
include('http.inc');

app = 'vRealize Operations Manager';
get_install_count(app_name:app, exit_if_zero:TRUE);

port = get_http_port(default:443);

app_info = vcf::get_app_info(app:app, port:port, webapp:TRUE);

constraints = [
  {'min_version':'7.5.0', 'fixed_version':'7.5.0.17771878'},
  {'min_version':'8.0.0', 'fixed_version':'8.0.1.17771851'}, # For 8.0.0, 8.0.1
  {'min_version':'8.1.0', 'fixed_version':'8.1.1.17772462'}, # For 8.1.0, 8.1.1
  {'min_version':'8.2.0', 'fixed_version':'8.2.0.17771778'},
  {'min_version':'8.3.0', 'fixed_version':'8.3.0.17787340'}
];

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/vmware_vrealize_operations_manager_VMSA-2021-004.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\vmware_vrealize_operations_manager_VMSA-2021-004.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/vmware_vrealize_operations_manager_VMSA-2021-004.nasl

Go back to menu.

How to Run


Here is how to run the VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004) 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 Misc. plugin family.
  6. On the right side table select VMware vRealize Operations Manager 7.5.x / 8.x Multiple Vulnerabilities (VMSA-2021-0004) plugin ID 148255.
  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 vmware_vrealize_operations_manager_VMSA-2021-004.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a vmware_vrealize_operations_manager_VMSA-2021-004.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - vmware_vrealize_operations_manager_VMSA-2021-004.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 vmware_vrealize_operations_manager_VMSA-2021-004.nasl -t <IP/HOST>

Go back to menu.

References


VMSA | VMware Security Advisory: See also: Similar and related Nessus plugins:
  • 147623 - F5 Networks BIG-IP : TMM buffer-overflow vulnerability (K56715231)
  • 157377 - Nagios XI 5.7.5 Command Injection
  • 148476 - Security Updates for Microsoft Exchange Server (April 2021)

Version


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

Go back to menu.