Vulnerabilities > CVE-2020-0603 - Out-of-bounds Write vulnerability in multiple products

047910
CVSS 8.8 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
microsoft
redhat
CWE-787
nessus

Summary

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, aka 'ASP.NET Core Remote Code Execution Vulnerability'.

Common Weakness Enumeration (CWE)

Nessus

  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-0134.NASL
    descriptionAn 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 seen2020-06-01
    modified2020-06-02
    plugin id133124
    published2020-01-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133124
    titleRHEL 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 familyWindows
    NASL idSMB_NT_MS20_JAN_ASPDOTNET_CORE.NASL
    descriptionThe 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 seen2020-06-01
    modified2020-06-02
    plugin id133049
    published2020-01-17
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133049
    titleSecurity 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 familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-0130.NASL
    descriptionAn 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 seen2020-06-01
    modified2020-06-02
    plugin id133028
    published2020-01-17
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133028
    titleRHEL 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 familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2020-0130.NASL
    descriptionFrom 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 seen2020-06-01
    modified2020-06-02
    plugin id133123
    published2020-01-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133123
    titleOracle 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 familyWindows
    NASL idSMB_NT_MS20_JAN_DOTNET_CORE_SDK.NASL
    descriptionThe 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 seen2020-05-16
    modified2020-01-16
    plugin id132994
    published2020-01-16
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132994
    titleSecurity 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
  • bugzilla
    id1789624
    titleCVE-2020-0603 dotnet: Memory Corruption in SignalR
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 8 is installed
        ovaloval:com.redhat.rhba:tst:20193384074
      • OR
        • AND
          • commentdotnet3.0-debugsource is earlier than 0:3.0.102-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130001
          • commentdotnet3.0-debugsource is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130002
        • AND
          • commentnetstandard-targeting-pack-2.1 is earlier than 0:3.0.102-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130003
          • commentnetstandard-targeting-pack-2.1 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130004
        • AND
          • commentdotnet-templates-3.0 is earlier than 0:3.0.102-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130005
          • commentdotnet-templates-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130006
        • AND
          • commentdotnet-targeting-pack-3.0 is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130007
          • commentdotnet-targeting-pack-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130008
        • AND
          • commentdotnet-sdk-3.0 is earlier than 0:3.0.102-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130009
          • commentdotnet-sdk-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130010
        • AND
          • commentdotnet-runtime-3.0 is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130011
          • commentdotnet-runtime-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130012
        • AND
          • commentdotnet-hostfxr-3.0 is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130013
          • commentdotnet-hostfxr-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130014
        • AND
          • commentdotnet-host is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130015
          • commentdotnet-host is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20191259010
        • AND
          • commentdotnet-apphost-pack-3.0 is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130017
          • commentdotnet-apphost-pack-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130018
        • AND
          • commentdotnet is earlier than 0:3.0.102-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130019
          • commentdotnet is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20191259004
        • AND
          • commentaspnetcore-targeting-pack-3.0 is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130021
          • commentaspnetcore-targeting-pack-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130022
        • AND
          • commentaspnetcore-runtime-3.0 is earlier than 0:3.0.2-2.el8_1
            ovaloval:com.redhat.rhsa:tst:20200130023
          • commentaspnetcore-runtime-3.0 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20200130024
    rhsa
    idRHSA-2020:0130
    released2020-01-16
    severityCritical
    titleRHSA-2020:0130: .NET Core on Red Hat Enterprise Linux security and bug fix update (Critical)
  • rhsa
    idRHSA-2020:0134
rpms
  • aspnetcore-runtime-3.0-0:3.0.2-2.el8_1
  • aspnetcore-targeting-pack-3.0-0:3.0.2-2.el8_1
  • dotnet-0:3.0.102-2.el8_1
  • dotnet-apphost-pack-3.0-0:3.0.2-2.el8_1
  • dotnet-apphost-pack-3.0-debuginfo-0:3.0.2-2.el8_1
  • dotnet-host-0:3.0.2-2.el8_1
  • dotnet-host-debuginfo-0:3.0.2-2.el8_1
  • dotnet-hostfxr-3.0-0:3.0.2-2.el8_1
  • dotnet-hostfxr-3.0-debuginfo-0:3.0.2-2.el8_1
  • dotnet-runtime-3.0-0:3.0.2-2.el8_1
  • dotnet-runtime-3.0-debuginfo-0:3.0.2-2.el8_1
  • dotnet-sdk-3.0-0:3.0.102-2.el8_1
  • dotnet-sdk-3.0-debuginfo-0:3.0.102-2.el8_1
  • dotnet-targeting-pack-3.0-0:3.0.2-2.el8_1
  • dotnet-templates-3.0-0:3.0.102-2.el8_1
  • dotnet3.0-debuginfo-0:3.0.102-2.el8_1
  • dotnet3.0-debugsource-0:3.0.102-2.el8_1
  • netstandard-targeting-pack-2.1-0:3.0.102-2.el8_1
  • rh-dotnet30-aspnetcore-runtime-3.0-0:3.0.2-3.el7
  • rh-dotnet30-aspnetcore-targeting-pack-3.0-0:3.0.2-3.el7
  • rh-dotnet30-dotnet-0:3.0.102-3.el7
  • rh-dotnet30-dotnet-apphost-pack-3.0-0:3.0.2-3.el7
  • rh-dotnet30-dotnet-debuginfo-0:3.0.102-3.el7
  • rh-dotnet30-dotnet-host-0:3.0.2-3.el7
  • rh-dotnet30-dotnet-hostfxr-3.0-0:3.0.2-3.el7
  • rh-dotnet30-dotnet-runtime-3.0-0:3.0.2-3.el7
  • rh-dotnet30-dotnet-sdk-3.0-0:3.0.102-3.el7
  • rh-dotnet30-dotnet-targeting-pack-3.0-0:3.0.2-3.el7
  • rh-dotnet30-dotnet-templates-3.0-0:3.0.102-3.el7
  • rh-dotnet30-netstandard-targeting-pack-2.1-0:3.0.102-3.el7
  • rh-dotnet31-aspnetcore-runtime-3.1-0:3.1.1-4.el7
  • rh-dotnet31-aspnetcore-targeting-pack-3.1-0:3.1.1-4.el7
  • rh-dotnet31-dotnet-0:3.1.101-4.el7
  • rh-dotnet31-dotnet-apphost-pack-3.1-0:3.1.1-4.el7
  • rh-dotnet31-dotnet-debuginfo-0:3.1.101-4.el7
  • rh-dotnet31-dotnet-host-0:3.1.1-4.el7
  • rh-dotnet31-dotnet-hostfxr-3.1-0:3.1.1-4.el7
  • rh-dotnet31-dotnet-runtime-3.1-0:3.1.1-4.el7
  • rh-dotnet31-dotnet-sdk-3.1-0:3.1.101-4.el7
  • rh-dotnet31-dotnet-targeting-pack-3.1-0:3.1.1-4.el7
  • rh-dotnet31-dotnet-templates-3.1-0:3.1.101-4.el7
  • rh-dotnet31-netstandard-targeting-pack-2.1-0:3.1.101-4.el7