7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
7.6 High
AI Score
Confidence
High
5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
0.031 Low
EPSS
Percentile
91.0%
'OData Library
# SPDX-FileCopyrightText: 2018 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.814211");
script_version("2024-02-09T05:06:25+0000");
script_cve_id("CVE-2018-8269");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
script_tag(name:"last_modification", value:"2024-02-09 05:06:25 +0000 (Fri, 09 Feb 2024)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-10-03 00:03:00 +0000 (Thu, 03 Oct 2019)");
script_tag(name:"creation_date", value:"2018-09-17 14:45:59 +0530 (Mon, 17 Sep 2018)");
script_name("'Microsoft.Data.OData' Denial of Service Vulnerability (Sep 2018) - Windows");
script_tag(name:"summary", value:"'OData Library' is prone to a denial of service vulnerability.");
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 an error in how the OData
web application handles web requests.");
script_tag(name:"impact", value:"Successful exploitation will allow an attacker
to cause a denial of service against an OData web application.");
script_tag(name:"affected", value:"Microsoft.Data.OData library");
script_tag(name:"solution", value:"Upgrade to Microsoft.Data.OData library to
version 5.8.4 or later. Please see the references for more information.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod", value:"75");
script_xref(name:"URL", value:"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8269");
script_xref(name:"URL", value:"https://www.nuget.org/packages/Microsoft.Data.OData/5.8.4");
script_xref(name:"URL", value:"https://odata.github.io/odata.net/v6/#ODL-5.8.4");
script_copyright("Copyright (C) 2018 Greenbone AG");
script_category(ACT_GATHER_INFO);
script_family("Windows");
script_dependencies("smb_reg_service_pack.nasl", "secpod_ms_visual_prdts_detect.nasl", "gb_wmi_access.nasl", "lsc_options.nasl");
script_mandatory_keys("WMI/access_successful", "SMB/WindowsVersion", "Microsoft/VisualStudio/Ver");
script_exclude_keys("win/lsc/disable_wmi_search");
exit(0);
}
include("smb_nt.inc");
include("version_func.inc");
include("wmi_file.inc");
include("list_array_func.inc");
vsVer = get_kb_item("Microsoft/VisualStudio/Ver");
if(!vsVer || vsVer !~ "^1[56]\."){
exit(0);
}
infos = kb_smb_wmi_connectinfo();
if( ! infos ) exit( 0 );
handle = wmi_connect( host:infos["host"], username:infos["username_wmi_smb"], password:infos["password"] );
if( ! handle ) exit( 0 );
# TODO: Limit to a possible known common path
fileList = wmi_file_fileversion( handle:handle, fileName:"Microsoft.Data.OData", includeHeader:FALSE );
wmi_close( wmi_handle:handle );
if( ! fileList || ! is_array( fileList ) ) {
exit( 0 );
}
report = ""; # nb: To make openvas-nasl-lint happy...
foreach filePath( keys( fileList ) ) {
vers = fileList[filePath];
if( vers && version = eregmatch( string:vers, pattern:"^([0-9.]+)" ) ) {
if( version_is_less( version:version[1], test_version:"5.8.4.63386" ) ) {
VULN = TRUE;
report += report_fixed_ver( file_version:version[1], file_checked:filePath, fixed_version:"5.8.4.63386" ) + '\n';
}
}
}
if( VULN ) {
security_message( port:0, data:report );
exit( 0 );
}
exit( 99 );
7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
7.6 High
AI Score
Confidence
High
5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
0.031 Low
EPSS
Percentile
91.0%