Vulnerabilities > CVE-2020-0602 - Resource Exhaustion vulnerability in multiple products
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
PARTIAL Summary
A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka 'ASP.NET Core Denial of Service Vulnerability'.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 3 | |
OS | 2 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- XML Ping of the Death An attacker initiates a resource depletion attack where a large number of small XML messages are delivered at a sufficiently rapid rate to cause a denial of service or crash of the target. Transactions such as repetitive SOAP transactions can deplete resources faster than a simple flooding attack because of the additional resources used by the SOAP protocol and the resources necessary to process SOAP messages. The transactions used are immaterial as long as they cause resource utilization on the target. In other words, this is a normal flooding attack augmented by using messages that will require extra processing on the target.
- XML Entity Expansion An attacker submits an XML document to a target application where the XML document uses nested entity expansion to produce an excessively large output XML. XML allows the definition of macro-like structures that can be used to simplify the creation of complex structures. However, this capability can be abused to create excessive demands on a processor's CPU and memory. A small number of nested expansions can result in an exponential growth in demands on memory.
- Inducing Account Lockout An attacker leverages the security functionality of the system aimed at thwarting potential attacks to launch a denial of service attack against a legitimate system user. Many systems, for instance, implement a password throttling mechanism that locks an account after a certain number of incorrect log in attempts. An attacker can leverage this throttling mechanism to lock a legitimate user out of their own account. The weakness that is being leveraged by an attacker is the very security feature that has been put in place to counteract attacks.
- Violating Implicit Assumptions Regarding XML Content (aka XML Denial of Service (XDoS)) XML Denial of Service (XDoS) can be applied to any technology that utilizes XML data. This is, of course, most distributed systems technology including Java, .Net, databases, and so on. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. There are three primary attack vectors that XDoS can navigate Target CPU through recursion: attacker creates a recursive payload and sends to service provider Target memory through jumbo payloads: service provider uses DOM to parse XML. DOM creates in memory representation of XML document, but when document is very large (for example, north of 1 Gb) service provider host may exhaust memory trying to build memory objects. XML Ping of death: attack service provider with numerous small files that clog the system. All of the above attacks exploit the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.
Nessus
NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2020-0134.NASL description An update for rh-dotnet30-dotnet and rh-dotnet31-dotnet is now available for .NET Core on Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Critical. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. .NET Core is a managed-software framework. It implements a subset of the .NET framework APIs and several new APIs, and it includes a CLR implementation. New versions of .NET Core that address security vulnerabilities are now available. The updated versions are .NET Core SDK 3.0.102, .NET Core Runtime 3.0.2, .NET Core SDK 3.1.101 and .NET Core Runtime 3.1.1. Security Fixes : * dotnet: Memory Corruption in SignalR (CVE-2020-0603) * dotnet: SignalR Denial of Service via backpressure issue (CVE-2020-0602) Users must rebuild their applications to pick up the fixes. Default inclusions for applications built with .NET Core have been updated to reference the newest versions and their security fixes. For more details about the security issues, including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE pages listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 133124 published 2020-01-21 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/133124 title RHEL 7 : dotNET (RHSA-2020:0134) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2020:0134. The text # itself is copyright (C) Red Hat, Inc. # include("compat.inc"); if (description) { script_id(133124); script_version("1.2"); script_cvs_date("Date: 2020/01/23"); script_cve_id("CVE-2020-0602", "CVE-2020-0603"); script_xref(name:"RHSA", value:"2020:0134"); script_name(english:"RHEL 7 : dotNET (RHSA-2020:0134)"); script_summary(english:"Checks the rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value:"The remote Red Hat host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "An update for rh-dotnet30-dotnet and rh-dotnet31-dotnet is now available for .NET Core on Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Critical. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. .NET Core is a managed-software framework. It implements a subset of the .NET framework APIs and several new APIs, and it includes a CLR implementation. New versions of .NET Core that address security vulnerabilities are now available. The updated versions are .NET Core SDK 3.0.102, .NET Core Runtime 3.0.2, .NET Core SDK 3.1.101 and .NET Core Runtime 3.1.1. Security Fixes : * dotnet: Memory Corruption in SignalR (CVE-2020-0603) * dotnet: SignalR Denial of Service via backpressure issue (CVE-2020-0602) Users must rebuild their applications to pick up the fixes. Default inclusions for applications built with .NET Core have been updated to reference the newest versions and their security fixes. For more details about the security issues, including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE pages listed in the References section." ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2020:0134" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2020-0602" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2020-0603" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); 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:R/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-aspnetcore-runtime-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-aspnetcore-targeting-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-apphost-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-host"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-hostfxr-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-runtime-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-sdk-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-targeting-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-dotnet-templates-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet30-netstandard-targeting-pack-2.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-aspnetcore-runtime-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-aspnetcore-targeting-pack-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-apphost-pack-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-host"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-hostfxr-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-runtime-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-sdk-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-targeting-pack-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-dotnet-templates-3.1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-dotnet31-netstandard-targeting-pack-2.1"); script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7"); script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"patch_publication_date", value:"2020/01/16"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/21"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Red Hat Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat"); os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat"); os_ver = os_ver[1]; if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 7.x", "Red Hat " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu); if ("x86_64" >!< cpu) audit(AUDIT_ARCH_NOT, "x86_64", cpu); yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo"); if (!empty_or_null(yum_updateinfo)) { rhsa = "RHSA-2020:0134"; yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa); if (!empty_or_null(yum_report)) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : yum_report ); exit(0); } else { audit_message = "affected by Red Hat security advisory " + rhsa; audit(AUDIT_OS_NOT, audit_message); } } else { flag = 0; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-aspnetcore-runtime-3.0-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-aspnetcore-targeting-pack-3.0-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-3.0.102-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-apphost-pack-3.0-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-debuginfo-3.0.102-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-host-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-hostfxr-3.0-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-runtime-3.0-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-sdk-3.0-3.0.102-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-targeting-pack-3.0-3.0.2-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-dotnet-templates-3.0-3.0.102-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet30-netstandard-targeting-pack-2.1-3.0.102-3.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-aspnetcore-runtime-3.1-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-aspnetcore-targeting-pack-3.1-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-3.1.101-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-apphost-pack-3.1-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-debuginfo-3.1.101-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-host-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-hostfxr-3.1-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-runtime-3.1-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-sdk-3.1-3.1.101-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-targeting-pack-3.1-3.1.1-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-dotnet-templates-3.1-3.1.101-4.el7")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"rh-dotnet31-netstandard-targeting-pack-2.1-3.1.101-4.el7")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : rpm_report_get() + redhat_report_package_caveat() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "rh-dotnet30-aspnetcore-runtime-3.0 / etc"); } }
NASL family Windows NASL id SMB_NT_MS20_JAN_ASPDOTNET_CORE.NASL description The Microsoft ASP.NET Core installation on the remote host is version 2.1.x < 2.1.15, 3.0.x < 3.0.2, or 3.1.x < 3.1.1. It is, therefore, affected by multiple vulnerabilities: - A denial of service vulnerability exists when ASP.NET Core improperly handles web requests. An attacker who successfully exploited this vulnerability could cause a denial of service against an ASP.NET Core web application. The vulnerability can be exploited remotely, without authentication. A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to the ASP.NET Core application. (CVE-2020-0602) - A remote code execution vulnerability exists in ASP.NET Core software when the software fails to handle objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. (CVE-2020-0603) last seen 2020-06-01 modified 2020-06-02 plugin id 133049 published 2020-01-17 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/133049 title Security Update for Microsoft ASP.NET Core (January 2020) code # # (C) Tenable Network Security, Inc. # include('compat.inc'); if (description) { script_id(133049); script_version("1.2"); script_cvs_date("Date: 2020/01/20"); script_cve_id("CVE-2020-0602", "CVE-2020-0603"); script_xref(name:"IAVA", value:"2020-A-0027"); script_name(english:"Security Update for Microsoft ASP.NET Core (January 2020)"); script_summary(english:"Checks the version of Microsoft ASP.NET Core packages."); script_set_attribute(attribute:"synopsis", value: "The Microsoft ASP.NET Core installations on the remote host contain vulnerable packages."); script_set_attribute(attribute:"description", value: "The Microsoft ASP.NET Core installation on the remote host is version 2.1.x < 2.1.15, 3.0.x < 3.0.2, or 3.1.x < 3.1.1. It is, therefore, affected by multiple vulnerabilities: - A denial of service vulnerability exists when ASP.NET Core improperly handles web requests. An attacker who successfully exploited this vulnerability could cause a denial of service against an ASP.NET Core web application. The vulnerability can be exploited remotely, without authentication. A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to the ASP.NET Core application. (CVE-2020-0602) - A remote code execution vulnerability exists in ASP.NET Core software when the software fails to handle objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. (CVE-2020-0603)"); # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0602 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?530ba67f"); # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0603 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?374d2043"); script_set_attribute(attribute:"see_also", value:"https://github.com/aspnet/Announcements/issues/402"); script_set_attribute(attribute:"see_also", value:"https://github.com/aspnet/Announcements/issues/403"); script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/aspnetcore/issues/18336"); script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/aspnetcore/issues/18337"); script_set_attribute(attribute:"solution", value: "Update ASP.NET Core, remove vulnerable packages and refer to vendor advisory."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); 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:R/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-0603"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"patch_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/17"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:aspnet_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) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("microsoft_asp_dotnet_core_win.nbin"); script_require_keys("installed_sw/ASP .NET Core Windows"); script_require_ports(139, 445); exit(0); } include('global_settings.inc'); include('audit.inc'); include('install_func.inc'); include('misc_func.inc'); include('smb_func.inc'); include('vcf.inc'); appname = 'ASP .NET Core Windows'; port = kb_smb_transport(); vuln = FALSE; install = get_single_install(app_name:appname); report = '\n Path : ' + install['path'] + '\n Installed version : ' + install['version'] + '\n'; package_dat = { 'Microsoft.AspNetCore.All':{ 'constraints':[ { 'min_version' : '2.1.0', 'fixed_version' : '2.1.15' } ] }, 'Microsoft.AspNetCore.App':{ 'constraints':[ { 'min_version' : '2.1.0', 'fixed_version' : '2.1.15' }, { 'min_version' : '3.0.0', 'fixed_version' : '3.0.1' }, { 'min_version' : '3.1.0', 'fixed_version' : '3.1.1' } ] }, 'Microsoft.AspNetCore.Http.Connections':{ 'constraints':[ { 'min_version' : '1.0.0', 'max_version' : '1.0.4', 'fixed_version' : '1.0.15' } ] } }; foreach package (keys(package_dat)) { foreach instance (split(install[package], sep:';', keep:false)) { inst = split(instance, sep:'?', keep:false); out = vcf::check_version(version:vcf::parse_version(inst[0]), constraints:package_dat[package]['constraints']); if(!vcf::is_error(out) && !isnull(out)) { vuln = TRUE; report += '\n Package : ' + package + '\n Path : ' + inst[1] + '\n Installed version : ' + inst[0] + '\n Fixed version : ' + out['fixed_version'] + '\n'; } } } if(!vuln) audit(AUDIT_INST_VER_NOT_VULN, appname + ' ' + install['version']); security_report_v4(port:port, severity:SECURITY_HOLE, extra:report);
NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2020-0130.NASL description An update for dotnet3.0 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Critical. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. .NET Core is a managed-software framework. It implements a subset of the .NET framework APIs and several new APIs, and it includes a CLR implementation. New versions of .NET Core that address security vulnerabilities are now available. The updated versions are .NET Core SDK 3.0.102 and .NET Core Runtime 3.0.2. Security Fixes : * dotnet: Memory Corruption in SignalR (CVE-2020-0603) * dotnet: SignalR Denial of Service via backpressure issue (CVE-2020-0602) Default inclusions for applications built with .NET Core have been updated to reference the newest versions and their security fixes. For more details about the security issues, including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE pages listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 133028 published 2020-01-17 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/133028 title RHEL 8 : .NET Core on Red Hat Enterprise Linux (RHSA-2020:0130) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2020:0130. The text # itself is copyright (C) Red Hat, Inc. # include("compat.inc"); if (description) { script_id(133028); script_version("1.2"); script_cvs_date("Date: 2020/01/21"); script_cve_id("CVE-2020-0602", "CVE-2020-0603"); script_xref(name:"RHSA", value:"2020:0130"); script_name(english:"RHEL 8 : .NET Core on Red Hat Enterprise Linux (RHSA-2020:0130)"); script_summary(english:"Checks the rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value:"The remote Red Hat host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "An update for dotnet3.0 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Critical. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. .NET Core is a managed-software framework. It implements a subset of the .NET framework APIs and several new APIs, and it includes a CLR implementation. New versions of .NET Core that address security vulnerabilities are now available. The updated versions are .NET Core SDK 3.0.102 and .NET Core Runtime 3.0.2. Security Fixes : * dotnet: Memory Corruption in SignalR (CVE-2020-0603) * dotnet: SignalR Denial of Service via backpressure issue (CVE-2020-0602) Default inclusions for applications built with .NET Core have been updated to reference the newest versions and their security fixes. For more details about the security issues, including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE pages listed in the References section." ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2020:0130" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2020-0602" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2020-0603" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); 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:R/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-0603"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:aspnetcore-runtime-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:aspnetcore-targeting-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-apphost-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-apphost-pack-3.0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-host"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-host-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-hostfxr-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-hostfxr-3.0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-runtime-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-runtime-3.0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-sdk-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-sdk-3.0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-targeting-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet-templates-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet3.0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dotnet3.0-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:netstandard-targeting-pack-2.1"); script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:8"); script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:8.1"); script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"patch_publication_date", value:"2020/01/16"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/17"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Red Hat Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat"); os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat"); os_ver = os_ver[1]; if (! preg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 8.x", "Red Hat " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu); if ("x86_64" >!< cpu) audit(AUDIT_ARCH_NOT, "x86_64", cpu); yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo"); if (!empty_or_null(yum_updateinfo)) { rhsa = "RHSA-2020:0130"; yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa); if (!empty_or_null(yum_report)) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : yum_report ); exit(0); } else { audit_message = "affected by Red Hat security advisory " + rhsa; audit(AUDIT_OS_NOT, audit_message); } } else { flag = 0; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"aspnetcore-runtime-3.0-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"aspnetcore-targeting-pack-3.0-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-3.0.102-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-apphost-pack-3.0-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-apphost-pack-3.0-debuginfo-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-host-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-host-debuginfo-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-hostfxr-3.0-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-hostfxr-3.0-debuginfo-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-runtime-3.0-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-runtime-3.0-debuginfo-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-sdk-3.0-3.0.102-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-sdk-3.0-debuginfo-3.0.102-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-targeting-pack-3.0-3.0.2-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet-templates-3.0-3.0.102-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet3.0-debuginfo-3.0.102-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"dotnet3.0-debugsource-3.0.102-2.el8_1")) flag++; if (rpm_check(release:"RHEL8", cpu:"x86_64", reference:"netstandard-targeting-pack-2.1-3.0.102-2.el8_1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_HOLE, extra : rpm_report_get() + redhat_report_package_caveat() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "aspnetcore-runtime-3.0 / aspnetcore-targeting-pack-3.0 / dotnet / etc"); } }
NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2020-0130.NASL description From Red Hat Security Advisory 2020:0130 : An update for dotnet3.0 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Critical. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. .NET Core is a managed-software framework. It implements a subset of the .NET framework APIs and several new APIs, and it includes a CLR implementation. New versions of .NET Core that address security vulnerabilities are now available. The updated versions are .NET Core SDK 3.0.102 and .NET Core Runtime 3.0.2. Security Fixes : * dotnet: Memory Corruption in SignalR (CVE-2020-0603) * dotnet: SignalR Denial of Service via backpressure issue (CVE-2020-0602) Default inclusions for applications built with .NET Core have been updated to reference the newest versions and their security fixes. For more details about the security issues, including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE pages listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 133123 published 2020-01-21 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/133123 title Oracle Linux 8 : .NET / Core / Enterprise / Hat / Linux / Red / on (ELSA-2020-0130) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2020:0130 and # Oracle Linux Security Advisory ELSA-2020-0130 respectively. # include("compat.inc"); if (description) { script_id(133123); script_version("1.2"); script_cvs_date("Date: 2020/01/23"); script_cve_id("CVE-2020-0602", "CVE-2020-0603"); script_xref(name:"RHSA", value:"2020:0130"); script_name(english:"Oracle Linux 8 : .NET / Core / Enterprise / Hat / Linux / Red / on (ELSA-2020-0130)"); script_summary(english:"Checks rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value:"The remote Oracle Linux host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "From Red Hat Security Advisory 2020:0130 : An update for dotnet3.0 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Critical. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. .NET Core is a managed-software framework. It implements a subset of the .NET framework APIs and several new APIs, and it includes a CLR implementation. New versions of .NET Core that address security vulnerabilities are now available. The updated versions are .NET Core SDK 3.0.102 and .NET Core Runtime 3.0.2. Security Fixes : * dotnet: Memory Corruption in SignalR (CVE-2020-0603) * dotnet: SignalR Denial of Service via backpressure issue (CVE-2020-0602) Default inclusions for applications built with .NET Core have been updated to reference the newest versions and their security fixes. For more details about the security issues, including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE pages listed in the References section." ); script_set_attribute( attribute:"see_also", value:"https://oss.oracle.com/pipermail/el-errata/2020-January/009530.html" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); 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:R/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:aspnetcore-runtime-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:aspnetcore-targeting-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-apphost-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-host"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-hostfxr-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-runtime-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-sdk-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-targeting-pack-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:dotnet-templates-3.0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:netstandard-targeting-pack-2.1"); script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:8"); script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"patch_publication_date", value:"2020/01/20"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/21"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Oracle Linux Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux"); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || !pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux"); os_ver = pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux"); os_ver = os_ver[1]; if (! preg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 8", "Oracle Linux " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Oracle Linux", cpu); if ("x86_64" >!< cpu) audit(AUDIT_ARCH_NOT, "x86_64", cpu); flag = 0; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"aspnetcore-runtime-3.0-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"aspnetcore-targeting-pack-3.0-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-3.0.102-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-apphost-pack-3.0-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-host-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-hostfxr-3.0-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-runtime-3.0-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-sdk-3.0-3.0.102-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-targeting-pack-3.0-3.0.2-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"dotnet-templates-3.0-3.0.102-2.0.1.el8_1")) flag++; if (rpm_check(release:"EL8", cpu:"x86_64", reference:"netstandard-targeting-pack-2.1-3.0.102-2.0.1.el8_1")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "aspnetcore-runtime-3.0 / aspnetcore-targeting-pack-3.0 / dotnet / etc"); }
NASL family Windows NASL id SMB_NT_MS20_JAN_DOTNET_CORE_SDK.NASL description The Microsoft .NET Core SDK installation on the remote host is version 2.1.x < 2.1.511 or 2.1.608, 3.0.x < 3.0.102, or 3.1.x < 3.1.101. It is, therefore, affected by multiple vulnerabilities: - A denial of service vulnerability exists when ASP.NET Core improperly handles web requests. An attacker who successfully exploited this vulnerability could cause a denial of service against an ASP.NET Core web application. The vulnerability can be exploited remotely, without authentication. A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to the ASP.NET Core application. (CVE-2020-0602) - A remote code execution vulnerability exists in ASP.NET Core software when the software fails to handle objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. (CVE-2020-0603) - A remote code execution vulnerability exists in .NET software when the software fails to check the source markup of a file. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. (CVE-2020-0605, CVE-2020-0606) last seen 2020-05-16 modified 2020-01-16 plugin id 132994 published 2020-01-16 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/132994 title Security Update for .NET Core SDK (January 2020) code # # (C) Tenable Network Security, Inc. # include('compat.inc'); if (description) { script_id(132994); script_version("1.5"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/15"); script_cve_id( "CVE-2020-0602", "CVE-2020-0603", "CVE-2020-0605", "CVE-2020-0606" ); script_xref(name:"IAVA", value:"2020-A-0031-S"); script_name(english:"Security Update for .NET Core SDK (January 2020)"); script_summary(english:"Checks for Windows Install of .NET Core SDK."); script_set_attribute(attribute:"synopsis", value: "The remote Windows host is affected by multiple .NET Core SDK vulnerabilities."); script_set_attribute(attribute:"description", value: "The Microsoft .NET Core SDK installation on the remote host is version 2.1.x < 2.1.511 or 2.1.608, 3.0.x < 3.0.102, or 3.1.x < 3.1.101. It is, therefore, affected by multiple vulnerabilities: - A denial of service vulnerability exists when ASP.NET Core improperly handles web requests. An attacker who successfully exploited this vulnerability could cause a denial of service against an ASP.NET Core web application. The vulnerability can be exploited remotely, without authentication. A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to the ASP.NET Core application. (CVE-2020-0602) - A remote code execution vulnerability exists in ASP.NET Core software when the software fails to handle objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. (CVE-2020-0603) - A remote code execution vulnerability exists in .NET software when the software fails to check the source markup of a file. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. (CVE-2020-0605, CVE-2020-0606)"); # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0605 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4e287012"); # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0606 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fa0a6c3c"); script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/announcements/issues/148"); script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/announcements/issues/149"); # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0602 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?530ba67f"); # https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0603 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?374d2043"); script_set_attribute(attribute:"see_also", value:"https://github.com/aspnet/Announcements/issues/402"); script_set_attribute(attribute:"see_also", value:"https://github.com/aspnet/Announcements/issues/403"); script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/aspnetcore/issues/18336"); script_set_attribute(attribute:"see_also", value:"https://github.com/dotnet/aspnetcore/issues/18337"); script_set_attribute(attribute:"solution", value: "Refer to vendor documentation."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); 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:R/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-0606"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"patch_publication_date", value:"2020/01/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/01/16"); script_set_attribute(attribute:"potential_vulnerability", value:"true"); 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) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("microsoft_dotnet_core_sdk_win.nbin"); script_require_keys("installed_sw/.NET Core SDK Windows", "Settings/ParanoidReport"); script_require_ports(139, 445); exit(0); } include('vcf.inc'); if (report_paranoia < 2) audit(AUDIT_PARANOID); app = '.NET Core SDK Windows'; app_info = vcf::get_app_info(app:app, win_local:TRUE); constraints = [ { 'min_version' : '2.1', 'fixed_version' : '2.1.511' }, { 'min_version' : '2.1.600', 'fixed_version' : '2.1.608'}, { 'min_version' : '3.0.0', 'fixed_version' : '3.0.102' }, { 'min_version' : '3.1.0', 'fixed_version' : '3.1.101' } ]; vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
Redhat
advisories |
| ||||||||
rpms |
|