This host is missing an important security
update according to Microsoft KB4056899
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_kb4056899.nasl 8364 2018-01-10 16:59:46Z gveerendra $
#
# Microsoft Windows Multiple Vulnerabilities (KB4056899)
#
# Authors:
# Shakeel <[email protected]>
#
# Copyright:
# Copyright (C) 2018 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.812385");
script_version("$Revision: 8364 $");
script_cve_id("CVE-2018-0744", "CVE-2018-0753", "CVE-2018-0754", "CVE-2018-0788",
"CVE-2018-0752", "CVE-2018-0751", "CVE-2018-0749", "CVE-2018-0747",
"CVE-2018-0748", "CVE-2018-0746");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"last_modification", value:"$Date: 2018-01-10 17:59:46 +0100 (Wed, 10 Jan 2018) $");
script_tag(name:"creation_date", value:"2018-01-04 15:55:27 +0530 (Thu, 04 Jan 2018)");
script_name("Microsoft Windows Multiple Vulnerabilities (KB4056899)");
script_tag(name:"summary", value:"This host is missing an important security
update according to Microsoft KB4056899");
script_tag(name:"vuldetect", value:"Get the vulnerable file version and
check appropriate patch is applied or not.");
script_tag(name:"insight", value:"Multiple flaws exists due to,
- Multiple errors in Windows Adobe Type Manager Font Driver (ATMFD.dll) when
it fails to properly handle objects in memory.
- An error in the way that Windows handles objects in memory.
- Multiple errors in the way that the Windows Kernel API enforces permissions.
- An error in the Microsoft Server Message Block (SMB) Server when an attacker
with valid credentials attempts to open a specially crafted file over the SMB
protocol on the same machine.
- Multiple errors in the Windows kernel that could allow an attacker to retrieve
information that could lead to a Kernel Address Space Layout Randomization
(ASLR) bypass.");
script_tag(name:"impact", value:"Successful exploitation will allow an attacker
to execute arbitrary code and take control of an affected system, gain access to
sensitive data, cause a target system to stop responding, impersonate processes,
interject cross-process communication, interrupt system functionality and bypass
certain security checks.
Impact Level: System");
script_tag(name:"affected", value:"Microsoft Windows Server 2012");
script_tag(name:"solution", value:"Run Windows Update and update the
listed hotfixes or download and update mentioned hotfixes in the advisory
from the below link,
https://support.microsoft.com/en-us/help/4056899");
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/help/4056899");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone Networks GmbH");
script_family("Windows : Microsoft Bulletins");
script_dependencies("secpod_reg_enum.nasl");
script_mandatory_keys("SMB/WindowsVersion");
exit(0);
}
include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
sysPath = "";
fileVer = "";
if(hotfix_check_sp(win2012:1) <= 0){
exit(0);
}
sysPath = smb_get_system32root();
if(!sysPath ){
exit(0);
}
fileVer = fetch_file_version(sysPath, file_name:"Atmfd.dll");
if(!fileVer){
exit(0);
}
if(version_is_less(version:fileVer, test_version:"5.1.2.253"))
{
report = report_fixed_ver(file_checked:sysPath + "\Atmfd.dll",
file_version:fileVer, vulnerable_range:"Less than 5.1.2.253");
security_message(data:report);
exit(0);
}
exit(0);