Lucene search
K

Microsoft .NET Framework Service Pack Out of Date

🗓️ 20 Dec 2010 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 64 Views

The remote system has Microsoft .NET Framework installed with an outdated service pack version

Refs
Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if(description)
{
  script_id(51352);
  script_version("1.10");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/01");
 
  script_name(english:"Microsoft .NET Framework Service Pack Out of Date");
  script_summary(english:"Checks the collected version.");
 
  script_set_attribute(attribute:"synopsis", value:
"The remote system has a software framework installed that is out of
date."
  );
  script_set_attribute(attribute:"description", value:
"The remote system has Microsoft .NET Framework installed. The
installed version either has no service pack installed or the
installed service pack version is out of date."
  );
  script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/en-us/kb/318785/en-us");
 # https://support.microsoft.com/lifecycle/search/?sort=PN&alpha=.NET+Framework
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?37f99837");
  script_set_attribute(attribute:"solution", value:
"Install the latest Microsoft .NET Framework service pack.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H");

  script_set_attribute(attribute:"plugin_publication_date", value:"2010/12/20");
  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:microsoft:.net_framework");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"agent", value:"windows");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2010-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"Windows");
  script_dependencies("microsoft_net_framework_installed.nasl");
  script_require_keys("installed_sw/Microsoft .NET Framework");
  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");

app = 'Microsoft .NET Framework';
get_install_count(app_name:app, exit_if_zero:TRUE);

installs = get_installs(app_name:app);

# First checks Windows
net_fw_sp["4.5.2"]       = "0";
net_fw_sp["4.5.1"]       = "0";
net_fw_sp["4.5"]         = "0";
net_fw_sp["4"]           = "0";
net_fw_sp["3.5"]         = "1";
net_fw_sp["3.0"]         = "2";
net_fw_sp["2.0.50727"]   = "2";
net_fw_sp["1.1.4322"]    = "1";
net_fw_sp["1.0.3705"]    = "3";

info = '';

foreach install (installs[1])
{
  ver = install["version"];
  sp = install["SP"];
  if (isnull(sp)) sp = 0;
  if (!isnull(net_fw_sp[ver]) && sp < net_fw_sp[ver])
  {
    info += '  Installed version : Microsoft .NET Framework v' + ver + ' SP ' + sp +'\n' +
            '  Should be         : Microsoft .NET Framework v' + ver + ' SP ' + net_fw_sp[ver] +'\n\n' ;
  } 
}

if (info)
{
  port = get_kb_item("SMB/transport");
  if (!port) port = 445;

  report += '\n' +
    'The following Microsoft .NET Framework version(s) do not have the\n'+
    'latest service pack installed :\n\n'+
    info;
  security_report_v4(port:port, extra:report, severity:SECURITY_HOLE);
}
else exit(0,"The remote host has the latest Microsoft .NET Framework service packs installed.");

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Feb 2022 00:00Current
5.4Medium risk
Vulners AI Score5.4
64