Lucene search

K
openvasCopyright (C) 2019 Greenbone Networks GmbHOPENVAS:1361412562310815515
HistoryJul 10, 2019 - 12:00 a.m.

Microsoft Exchange Server Multiple Vulnerabilities (KB4509409)

2019-07-1000:00:00
Copyright (C) 2019 Greenbone Networks GmbH
plugins.openvas.org
640

0.005 Low

EPSS

Percentile

74.6%

This host is missing an important security
update according to Microsoft KB4509409.

# Copyright (C) 2019 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

CPE = "cpe:/a:microsoft:exchange_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.815515");
  script_version("2020-06-04T09:02:37+0000");
  script_cve_id("CVE-2019-1136", "CVE-2019-1084", "CVE-2019-1137");
  script_bugtraq_id(109030, 108929, 109034);
  script_tag(name:"cvss_base", value:"5.1");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2020-06-04 09:02:37 +0000 (Thu, 04 Jun 2020)");
  script_tag(name:"creation_date", value:"2019-07-10 09:35:44 +0530 (Wed, 10 Jul 2019)");
  script_name("Microsoft Exchange Server Multiple Vulnerabilities (KB4509409)");

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

  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 Exchange allows creation of entities with Display Names having
    non-printable characters.

  - An elevation of privilege error in Microsoft Exchange Server.

  - An error when Microsoft Exchange Server does not properly sanitize a specially
    crafted web request to an affected Exchange server.");

  script_tag(name:"impact", value:"Successful exploitation will allow attackers
  to gain the same rights as any other user of the Exchange server, gain access
  to potentially sensitive information and perform cross-site scripting attacks
  on affected systems");

  script_tag(name:"affected", value:"- Microsoft Exchange Server 2016 Cumulative Update 12

  - Microsoft Exchange Server 2016 Cumulative Update 13

  - Microsoft Exchange Server 2013 Cumulative Update 23");

  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/4509409");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("gb_ms_exchange_server_detect.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("MS/Exchange/Server/Ver");
  exit(0);
}


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

exchangePath = get_app_location(cpe:CPE, skip_port:TRUE);
if(!exchangePath|| "Could not find the install location" >< exchangePath){
  exit(0);
}

if(!cum_update = get_kb_item("MS/Exchange/Cumulative/Update/no")){
  exit(0);
}

exeVer = fetch_file_version(sysPath:exchangePath, file_name:"Bin\ExSetup.exe");
if(!exeVer){
  exit(0);
}

if(exeVer =~ "^15\.0" && "Cumulative Update 23" >< cum_update)
{
  if(version_is_less(version:exeVer, test_version:"15.0.1497.3")){
    vulnerable_range = "15.0 - 15.0.1497.2";
  }
}

else if(exeVer =~ "^15\.1" && "Cumulative Update 12" >< cum_update)
{
  if(version_is_less(version:exeVer, test_version:"15.1.1713.8")){
    vulnerable_range = "15.1 - 15.1.1713.7";
  }
}

else if(exeVer =~ "^15\.1" && "Cumulative Update 13" >< cum_update)
{
  if(version_is_less(version:exeVer, test_version:"15.1.1779.4")){
    vulnerable_range = "15.1 - 15.1.1779.3";
  }
}

if(vulnerable_range)
{
  report = report_fixed_ver(file_checked:exchangePath + "\Bin\ExSetup.exe",
                            file_version:exeVer, vulnerable_range:vulnerable_range);
  security_message(data:report);
  exit(0);
}
exit(99);

0.005 Low

EPSS

Percentile

74.6%