##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(162314);
script_version("1.9");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/05/19");
script_cve_id("CVE-2022-30184");
script_xref(name:"MSKB", value:"5015424");
script_xref(name:"MSKB", value:"5015429");
script_xref(name:"MSFT", value:"MS22-5015424");
script_xref(name:"MSFT", value:"MS22-5015429");
script_xref(name:"IAVA", value:"2022-A-0235-S");
script_name(english:"Security Updates for Microsoft .NET core (June 2022)");
script_set_attribute(attribute:"synopsis", value:
"The Microsoft .NET core installations on the remote host are affected by an information disclosure vulnerability.");
script_set_attribute(attribute:"description", value:
"An information disclosure vulnerability exists in .NET core 6.0 < 6.0.6 and .NET Core 3.1 < 3.1.26. An unauthenticated,
local attacker can exploit this, to disclose potentially sensitive information.
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://dotnet.microsoft.com/download/dotnet/3.1");
script_set_attribute(attribute:"see_also", value:"https://dotnet.microsoft.com/download/dotnet/6.0");
script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/announcements/issues/225");
# https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-30184
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bfb8ea98");
script_set_attribute(attribute:"solution", value:
"Update .NET Core Runtime to version 3.1.26 or 6.0.6.");
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:F/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:F/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-30184");
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:"2022/06/14");
script_set_attribute(attribute:"patch_publication_date", value:"2022/06/14");
script_set_attribute(attribute:"plugin_publication_date", value:"2022/06/16");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:.net_core");
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) 2022-2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("microsoft_dotnet_core_win.nbin", "macosx_dotnet_core_installed.nbin");
script_require_ports("installed_sw/.NET Core Windows", "installed_sw/.NET Core MacOS");
exit(0);
}
include('vdf.inc');
# @tvdl-content
var vuln_data = {
'metadata': {'spec_version': '1.0'},
'checks': [
{
'product': {'name': '.NET Core Windows', 'type': 'app'},
'check_algorithm': 'default',
'requires': [{'scope': 'target', 'match': {'os': 'windows'}}],
'constraints': [
{'min_version': '3.1', 'fixed_version': '3.1.26'},
{'min_version': '6.0', 'fixed_version': '6.0.6'}
]
},
{
'product': {'name': '.NET Core MacOS', 'type': 'app'},
'check_algorithm': 'default',
'requires': [{'scope': 'target', 'match': {'os': 'macos'}}],
'constraints': [
{'min_version': '3.1', 'fixed_version': '3.1.26'},
{'min_version': '6.0', 'fixed_version': '6.0.6'}
]
}
]
};
var result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_WARNING);
vdf::handle_check_and_report_errors(vdf_result:result);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation