Security Update for Visual Studio 2019 (April 2022) (macOS) - Nessus

Medium   Plugin ID: 159887

This page contains detailed information about the Security Update for Visual Studio 2019 (April 2022) (macOS) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 159887
Name: Security Update for Visual Studio 2019 (April 2022) (macOS)
Filename: macos_ms22_apr_visual_studio.nasl
Vulnerability Published: 2022-04-12
This Plugin Published: 2022-04-19
Last Modification Time: 2022-04-26
Plugin Version: 1.2
Plugin Type: local
Plugin Family: MacOS X Local Security Checks
Dependencies: visual_studio_mac_installed.nbin
Required KB Items [?]: Host/local_checks_enabled, Host/MacOSX/Version, installed_sw/Visual Studio

Vulnerability Information


Severity: Medium
Vulnerability Published: 2022-04-12
Patch Published: 2022-04-12
CVE [?]: CVE-2020-8927, CVE-2022-24513
CPE [?]: cpe:/a:microsoft:visual_studio

Synopsis

The remote host has an application installed that is missing a security update.

Description

The Microsoft Visual Studio Products installed on the remote macOS or Mac OS X host is missing a security update. It is, therefore, affected by multiple vulnerabilities including the following:

- An elevation of privilege vulnerability. An attacker can exploit this to gain elevated privileges. (CVE-2022-24513)

- A buffer overflow vulnerability. An attacker can exploit this to trigger crash in the system. (CVE-2020-8927)

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

Solution

Microsoft has released the following security updates to address this issue: - Update 8.10.22.11 for Visual Studio 2019 - Update 17.0.0.8567 for Visual Studio 2022

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Security Update for Visual Studio 2019 (April 2022) (macOS) vulnerability:

  1. GitHub: https://github.com/jaydenaung/CloudGuard-ShiftLeft-CICD-AWS
    [CVE-2020-8927]

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-2020-8927
CVSS V2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P/E:U/RL:OF/RC:C
CVSS Base Score:6.4 (Medium)
Impact Subscore:4.9
Exploitability Subscore:10.0
CVSS Temporal Score:4.7 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:4.7 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:U/RL:O/RC:C
CVSS Base Score:6.5 (Medium)
Impact Subscore:2.5
Exploitability Subscore:3.9
CVSS Temporal Score:5.7 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.7 (Medium)

Go back to menu.

Plugin Source


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

#%NASL_MIN_LEVEL 70300
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from the Microsoft Security Updates API. The text
# itself is copyright (C) Microsoft Corporation.
##

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

if (description)
{
  script_id(159887);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/26");

  script_cve_id("CVE-2020-8927", "CVE-2022-24513");

  script_name(english:"Security Update for Visual Studio 2019 (April 2022) (macOS)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has an application installed that is missing a security update.");
  script_set_attribute(attribute:"description", value:
"The Microsoft Visual Studio Products installed on the remote macOS or Mac OS X host is missing a security update. 
It is, therefore, affected by multiple vulnerabilities including the following:

  - An elevation of privilege vulnerability. An attacker can exploit this to gain elevated privileges. 
    (CVE-2022-24513)

  - A buffer overflow vulnerability. An attacker can exploit this to trigger crash in the system. 
    (CVE-2020-8927)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported
version");
  # https://docs.microsoft.com/en-us/visualstudio/releases/2022/mac-release-notes-preview#17.0.0-pre.9
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?42c6b349");
  # https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2019-mac-relnotes#8122
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3cbcc207");
  script_set_attribute(attribute:"solution", value:
"Microsoft has released the following security updates to address this issue:
        - Update 8.10.22.11 for Visual Studio 2019
        - Update 17.0.0.8567 for Visual Studio 2022");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-8927");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");

  script_set_attribute(attribute:"vuln_publication_date", value:"2022/04/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2022/04/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2022/04/19");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:visual_studio");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

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

  script_dependencies("visual_studio_mac_installed.nbin");
  script_require_keys("installed_sw/Visual Studio", "Host/local_checks_enabled", "Host/MacOSX/Version");

  exit(0);
}

include('vcf.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item('Host/MacOSX/Version')) audit(AUDIT_OS_NOT, 'macOS / Mac OS X');

var app_info = vcf::get_app_info(app:'Visual Studio');
vcf::check_granularity(app_info:app_info, sig_segments:2);

var constraints = [
  {'product': '2019', 'min_version': '8.10', 'fixed_version': '8.10.22.11'},
  {'product': '2022', 'min_version': '17.0', 'fixed_version': '17.0.0.8567'}
];

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

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

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

Go back to menu.

How to Run


Here is how to run the Security Update for Visual Studio 2019 (April 2022) (macOS) 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 MacOS X Local Security Checks plugin family.
  6. On the right side table select Security Update for Visual Studio 2019 (April 2022) (macOS) plugin ID 159887.
  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 macos_ms22_apr_visual_studio.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 157647 - AlmaLinux 8 : brotli (ALSA-2021:1702)
  • 149770 - CentOS 8 : brotli (CESA-2021:1702)
  • 143435 - Debian DLA-2476-1 : brotli security update
  • 143439 - Debian DSA-4801-1 : brotli - security update
  • 141319 - EulerOS 2.0 SP9 : brotli (EulerOS-SA-2020-2163)
  • 141338 - EulerOS 2.0 SP9 : brotli (EulerOS-SA-2020-2173)
  • 144131 - EulerOS 2.0 SP8 : brotli (EulerOS-SA-2020-2508)
  • 147115 - EulerOS Virtualization for ARM 64 3.0.6.0 : brotli (EulerOS-SA-2021-1574)
  • 147684 - EulerOS Virtualization 2.9.0 : brotli (EulerOS-SA-2021-1665)
  • 141283 - Fedora 33 : golang-github-andybalholm-brotli (2020-22d278923a)
  • 141526 - Fedora 32 : brotli (2020-9336b65f82)
  • 141532 - Fedora 31 : brotli (2020-bc9a739f0c)
  • 141375 - Fedora 32 : golang-github-andybalholm-brotli (2020-c663fbc46c)
  • 141889 - Fedora 33 : brotli (2020-c76a35b209)
  • 141381 - Fedora 31 : golang-github-andybalholm-brotli (2020-e21bd401ad)
  • 141158 - openSUSE Security Update : brotli (openSUSE-2020-1578)
  • 149929 - Oracle Linux 8 : brotli (ELSA-2021-1702)
  • 158884 - Oracle Linux 8 : .NET / Core / 3.1 (ELSA-2022-0827)
  • 158881 - Oracle Linux 8 : .NET / 5.0 (ELSA-2022-0830)
  • 149655 - RHEL 8 : brotli (RHSA-2021:1702)
  • 158810 - RHEL 8 : .NET Core 3.1 (RHSA-2022:0827)
  • 158806 - RHEL 7 : .NET 5.0 on RHEL 7 (RHSA-2022:0828)
  • 158895 - RHEL 7 : .NET Core 3.1 on RHEL 7 (RHSA-2022:0829)
  • 158816 - RHEL 8 : .NET 5.0 (RHSA-2022:0830)
  • 158744 - Security Updates for Microsoft .NET core (March 2022)
  • 158715 - Security Updates for Microsoft Visual Studio Products (March 2022)
  • 155903 - SUSE SLED15 / SLES15 Security Update : brotli (SUSE-SU-2021:3942-1)
  • 141179 - Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS : Brotli vulnerability (USN-4568-1)
  • 111682 - Security Update for Microsoft Office (Auguest 2018) (macOS)
  • 106189 - Security Update for Microsoft Office (January 2018) (macOS)
  • 117409 - Security Update for Microsoft Office (September 2018) (macOS)
  • 148539 - Security Updates for Microsoft Office (April 2021) (macOS)
  • 155448 - Security Updates for Microsoft Office (November 2021) (macOS)
  • 157878 - Security Update for .NET Core (February 2022) (macOS)
  • 157434 - Security Update for Visual Studio 2019 (February 2022) (macOS)

Version


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

Go back to menu.