Lucene search
+L

Microsoft .NET Framework Remote Code Execution Vulnerability (KB4040975)

🗓️ 13 Sep 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 152 Views

This host is missing an important security update for Microsoft .NET Framework Remote Code Execution Vulnerability (KB4040975)

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
13 Sep 201717:10
githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
14 Sep 201710:04
githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
17 Sep 201722:05
githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
25 Feb 202023:10
githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
13 Sep 201709:50
githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Microsoft
13 Sep 201715:24
githubexploit
zdt
zdt
Microsoft Windows .NET Framework - Remote Code Execution 0day Exploit
13 Sep 201700:00
zdt
gitee
Gitee
Exploit for Code Injection in Microsoft
23 Jul 202011:31
gitee
ics
ICS
Top 10 Routinely Exploited Vulnerabilities
12 May 202012:00
ics
attackerkb
ATTACKERKB
CVE-2017-8759
13 Sep 201700:00
attackerkb
Rows per page
# SPDX-FileCopyrightText: 2017 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.811325");
  script_version("2026-04-28T06:28:06+0000");
  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
  script_cve_id("CVE-2017-8759");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-07-24 17:11:20 +0000 (Wed, 24 Jul 2024)");
  script_tag(name:"creation_date", value:"2017-09-13 15:16:30 +0530 (Wed, 13 Sep 2017)");
  script_tag(name:"qod_type", value:"executable_version");
  script_name("Microsoft .NET Framework Remote Code Execution Vulnerability (KB4040975)");

  script_tag(name:"summary", value:"This host is missing an important security
  update according to Microsoft KB4040975");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"A remote code execution vulnerability exists
  when Microsoft .NET Framework processes untrusted input. An attacker who
  successfully exploited this vulnerability in software using the .NET framework
  could take control of an affected system.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to execute code.");

  script_tag(name:"affected", value:"Microsoft .NET Framework 4.5.2.");

  script_tag(name:"solution", value:"The vendor has released updates. Please see the references for more information.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"https://support.microsoft.com/en-us/help/4040975");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/100742");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("smb_reg_service_pack.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  exit(0);
}

include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(hotfix_check_sp(win2012:1) <= 0){
  exit(0);
}

key = "SOFTWARE\Microsoft\ASP.NET\";
if(!registry_key_exists(key:key)){
  exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  dotpath = registry_get_sz(key:key + item, item:"Path");
  if(dotpath && "\Microsoft.NET\Framework" >< dotpath)
  {
    dllVer = fetch_file_version(sysPath:dotpath, file_name:"System.dll");
    if(dllVer)
    {
      ## .NET Framework 4.5.2 for Windows Server 2012: September 12, 2017
      if(version_in_range(version:dllVer, test_version:"4.0.30319.36000", test_version2:"4.0.30319.36410"))
      {
        report = 'File checked:     ' + dotpath + "\system.dll" + '\n' +
                 'File version:     ' + dllVer  + '\n' +
                 'Vulnerable range: 4.0.30319.36000 - 4.0.30319.36410' + '\n' ;
        security_message(data:report);
        exit(0);
      }
    }
  }
}

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

28 Apr 2026 00:00Current
8High risk
Vulners AI Score8
CVSS 3.17.8
CVSS 29.3
EPSS0.88698
SSVC
152