Microsoft Windows Multiple Vulnerabilities (KB4550964)

2020-04-15T00:00:00
ID OPENVAS:1361412562310816823
Type openvas
Reporter Copyright (C) 2020 Greenbone Networks GmbH
Modified 2020-07-17T00:00:00

Description

This host is missing a critical security update according to Microsoft KB4550964

                                        
                                            # Copyright (C) 2020 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.816823");
  script_version("2020-07-17T05:57:41+0000");
  script_cve_id("CVE-2020-0687", "CVE-2020-0821", "CVE-2020-0889", "CVE-2020-0895",
                "CVE-2020-0938", "CVE-2020-0946", "CVE-2020-0952", "CVE-2020-0953",
                "CVE-2020-0955", "CVE-2020-0956", "CVE-2020-0957", "CVE-2020-0958",
                "CVE-2020-0959", "CVE-2020-0960", "CVE-2020-0962", "CVE-2020-0964",
                "CVE-2020-0965", "CVE-2020-0966", "CVE-2020-0967", "CVE-2020-0968",
                "CVE-2020-0982", "CVE-2020-0987", "CVE-2020-0988", "CVE-2020-0992",
                "CVE-2020-0993", "CVE-2020-0994", "CVE-2020-0995", "CVE-2020-0999",
                "CVE-2020-1000", "CVE-2020-1004", "CVE-2020-1005", "CVE-2020-1007",
                "CVE-2020-1008", "CVE-2020-1009", "CVE-2020-1011", "CVE-2020-1014",
                "CVE-2020-1015", "CVE-2020-1020", "CVE-2020-1027", "CVE-2020-1094",
                "CVE-2020-0907");
  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:"2020-07-17 05:57:41 +0000 (Fri, 17 Jul 2020)");
  script_tag(name:"creation_date", value:"2020-04-15 08:39:55 +0530 (Wed, 15 Apr 2020)");
  script_name("Microsoft Windows Multiple Vulnerabilities (KB4550964)");

  script_tag(name:"summary", value:"This host is missing a critical security
  update according to Microsoft KB4550964");

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

  script_tag(name:"insight", value:"Multiple flaws exists due to

  - An error when the Windows kernel improperly handles objects in memory.

  - Multiple errors in the way Microsoft Graphics Components handle objects in
    memory.

  - Multiple errors when the Windows Jet Database Engine improperly handles
    objects in memory.

  - An error in Windows DNS when it fails to properly handle queries.

  Please see the references for more information about the vulnerabilities.");

  script_tag(name:"impact", value:"Successful exploitation allows an attacker
  to execute arbitrary code on a victim system, disclose sensitive information,
  conduct denial-of-service condition and gain elevated privileges.");

  script_tag(name:"affected", value:"- Microsoft Windows 7 for 32-bit/x64 Systems Service Pack 1

  - Microsoft Windows Server 2008 R2 for x64-based Systems Service Pack 1");

  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/help/4550964");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2020 Greenbone Networks GmbH");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("smb_reg_service_pack.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");
  exit(0);
}

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

if(hotfix_check_sp(win7:2, win7x64:2, win2008r2:2) <= 0){
  exit(0);
}

dllPath = smb_get_system32root();
if(!dllPath)
  exit(0);

fileVer = fetch_file_version(sysPath:dllPath, file_name:"Win32k.sys");
if(!fileVer)
  exit(0);

if(version_is_less(version:fileVer, test_version:"6.1.7601.24551")) {
  report = report_fixed_ver(file_checked:dllPath + "\Win32k.sys",
                            file_version:fileVer, vulnerable_range:"Less than 6.1.7601.24551");
  security_message(data:report);
  exit(0);
}

exit(99);