9.3 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
7.5 High
AI Score
Confidence
High
0.875 High
EPSS
Percentile
98.7%
This host is missing a critical security
update according to Microsoft Bulletin MS15-044.
# SPDX-FileCopyrightText: 2015 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.805563");
script_version("2024-07-01T05:05:39+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-2015-1670", "CVE-2015-1671");
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:"2024-07-01 05:05:39 +0000 (Mon, 01 Jul 2024)");
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-06-28 17:26:19 +0000 (Fri, 28 Jun 2024)");
script_tag(name:"creation_date", value:"2015-05-14 19:19:40 +0530 (Thu, 14 May 2015)");
script_name("Microsoft .NET Framework Remote Code Execution Vulnerability (3057110)");
script_tag(name:"summary", value:"This host is missing a critical security
update according to Microsoft Bulletin MS15-044.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The flaw exists due to improper handling of
TrueType fonts and OpenType fonts.");
script_tag(name:"impact", value:"Successful exploitation will allow an
attacker to gain access to potentially sensitive information and to execute
arbitrary code on the affected system.");
script_tag(name:"affected", value:"- Microsoft .NET Framework 3.0 Service Pack 2
- Microsoft .NET Framework 3.5
- Microsoft .NET Framework 3.5.1
- Microsoft .NET Framework 4
- Microsoft .NET Framework 4.5, 4.5.1, and 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_tag(name:"qod_type", value:"executable_version");
script_xref(name:"URL", value:"https://support.microsoft.com/en-us/kb/3057110");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/74490");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/74485");
script_xref(name:"URL", value:"https://technet.microsoft.com/library/security/MS15-044");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2015 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(win2003:3, win2003x64:3, winVista:3, win7:2, win7x64:2, win2008:3,
win2008r2:2, win8:1, win8x64:1, win8_1:1, win8_1x64:1, win2012:1, win2012R2:1) <= 0){
exit(0);
}
key = "SOFTWARE\Microsoft\ASP.NET\";
if(!registry_key_exists(key:key)){
exit(0);
}
##.NET Framework 3.5
key = "SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\v3.0";
if(registry_key_exists(key:key))
{
path = registry_get_sz(key:key, item:"All Assemblies In");
if(path){
dllVer = fetch_file_version(sysPath:path, file_name:"System.printing.dll");
}
if(dllVer)
{
## .NET Framework 3.5 on Windows 8 and Windows Server 2012
if(hotfix_check_sp(win8:1, win2012:1) > 0)
{
if(version_in_range(version:dllVer, test_version:"3.0.6920.6400", test_version2:"3.0.6920.6417")||
version_in_range(version:dllVer, test_version:"3.0.6920.7000", test_version2:"3.0.6920.8670"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
## Framework 3.5.1 on Windows 7 Service Pack 1 and Windows Server 2008 R2 Service Pack 1
if((hotfix_check_sp(win7:2, win7x64:2, win2008r2:2) > 0) &&
(version_in_range(version:dllVer, test_version:"3.0.6920.5400", test_version2:"3.0.6920.5465")||
version_in_range(version:dllVer, test_version:"3.0.6920.7000", test_version2:"3.0.6920.8670")))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
sysPath = smb_get_systemroot();
if(sysPath)
{
## .NET Framework 3.0 Service Pack 2
key = "SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\v3.0";
if(registry_key_exists(key:key))
{
sysVer = fetch_file_version(sysPath:sysPath, file_name:"system32\XPSViewer\XPSViewer.exe");
if(sysVer)
{
## .NET Framework 3.0 Service Pack 2 on Windows Vista and Windows Server 2008
if((hotfix_check_sp(winVista:3, win2008:3) > 0) &&
(version_in_range(version:sysVer, test_version:"3.0.6920.4200", test_version2:"3.0.6920.4224")||
version_in_range(version:sysVer, test_version:"3.0.6920.7000", test_version2:"3.0.6920.8670")))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
## .NET Framework 3.0 Service Pack 2 on Windows Server 2003
if((hotfix_check_sp(win2003:3, win2003x64:3) > 0) &&
(version_in_range(version:sysVer, test_version:"3.0.6920.4000", test_version2:"3.0.6920.4081")||
version_in_range(version:sysVer, test_version:"3.0.6920.8000", test_version2:"3.0.6920.8672")))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
key = "SOFTWARE\Microsoft\ASP.NET\4.0.30319.0";
if(registry_key_exists(key:key))
{
path = registry_get_sz(key:key, item:"Path");
if(path)
{
dllv4 = fetch_file_version(sysPath:path, file_name:"WPF\Presentationcore.dll");
if(dllv4)
{
## .NET Framework 4 on Windows Server 2003, Windows Vista, Windows Server 2008,
if(hotfix_check_sp(win2003:3, win2003x64:3, winVista:3, win2008:3) > 0)
{
if(version_in_range(version:dllv4, test_version:"4.0.30319.1000", test_version2:"4.0.30319.1033") ||
version_in_range(version:dllv4, test_version:"4.0.30319.2000", test_version2:"4.0.30319.2058"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
}
key = "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\";
if(registry_key_exists(key:key))
{
path = registry_get_sz(key:key, item:"InstallPath");
if(path)
{
dllv45 = fetch_file_version(sysPath:path, file_name:"WPF\wpftxt_v0400.dll");
if(dllv45)
{
## .NET Framework 4.5/4.5.1/4.5.2 on Windows Vista Service Pack 2 and Windows Server 2008 Service Pack 2
if(hotfix_check_sp(winVista:3, win2008:3) > 0)
{
if(version_is_less(version:dllv45, test_version:"4.0.30319.34259") ||
version_in_range(version:dllv45, test_version:"4.0.30319.36000", test_version2:"4.0.30319.36296"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
}
key = "SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\v3.0";
if(registry_key_exists(key:key))
{
path = registry_get_sz(key:key, item:"All Assemblies In");
if(path)
{
predll = fetch_file_version(sysPath:path, file_name:"presentationcore.dll");
if(predll)
{
if(hotfix_check_sp(win8_1:1, win8_1x64:1, win2012R2:1) > 0)
{
if(version_is_less(version:predll, test_version:"3.0.6920.8005") ||
version_in_range(version:predll, test_version:"4.0.30319.36000", test_version2:"3.0.6920.8670"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
}
9.3 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
7.5 High
AI Score
Confidence
High
0.875 High
EPSS
Percentile
98.7%