Symantec Messaging Gateway Multiple Vulnerabilities Aug17

2017-08-14T00:00:00
ID OPENVAS:1361412562310140294
Type openvas
Reporter This script is Copyright (C) 2017 Greenbone Networks GmbH
Modified 2018-10-26T00:00:00

Description

Symantec Messaging Gateway is prone to multiple vulnerabilities.

                                        
                                            ##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_symantec_messaging_gateway_mult_vuln_aug17.nasl 12106 2018-10-26 06:33:36Z cfischer $
#
# Symantec Messaging Gateway Multiple Vulnerabilities Aug17
#
# Authors:
# Christian Kuersteiner <christian.kuersteiner@greenbone.net>
#
# Copyright:
# Copyright (c) 2017 Greenbone Networks GmbH
#
# 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:symantec:messaging_gateway";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140294");
  script_version("$Revision: 12106 $");
  script_tag(name:"last_modification", value:"$Date: 2018-10-26 08:33:36 +0200 (Fri, 26 Oct 2018) $");
  script_tag(name:"creation_date", value:"2017-08-14 10:44:09 +0700 (Mon, 14 Aug 2017)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");

  script_cve_id("CVE-2017-6327", "CVE-2017-6328");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("Symantec Messaging Gateway Multiple Vulnerabilities Aug17");

  script_category(ACT_GATHER_INFO);

  script_copyright("This script is Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_symantec_messaging_gateway_detect.nasl");
  script_mandatory_keys("symantec_smg/detected");

  script_tag(name:"summary", value:"Symantec Messaging Gateway is prone to multiple vulnerabilities.");

  script_tag(name:"insight", value:"Symantec Messaging Gateway is prone to multiple vulnerabilities:

  - The Symantec Messaging Gateway can encounter an issue of remote code execution, which describes a situation
whereby an individual may obtain the ability to execute commands remotely on a target machine or in a target
process. In this type of occurrence, after gaining access to the system, the attacker may attempt to elevate their
privileges. (CVE-2017-6327)

  - The Symantec Messaging Gateway can encounter an issue of cross site request forgery (also known as one-click
attack and is abbreviated as CSRF or XSRF), which is a type of malicious exploit of a website where unauthorized
commands are transmitted from a user that the web application trusts. A CSRF attack attempts to exploit the trust
that a specific website has in a user's browser. (CVE-2017-6328)");

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

  script_tag(name:"affected", value:"Symantec Messaging Gateway version 10.6.3 and prior.");

  script_tag(name:"solution", value:"Update to version 10.6.3-267.");

  script_xref(name:"URL", value:"https://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&year=&suid=20170810_00");

  exit(0);
}

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

if (!version = get_app_version(cpe: CPE, nofork: TRUE))
  exit(0);

if (version_is_less(version: version, test_version: "10.6.3"))
  vuln = TRUE;

if (version == "10.6.3") {
  if (patch = get_kb_item("symantec_smg/ssh/patch"))
    if (int(patch) < 267)
      vuln = TRUE;
}

if (vuln) {
  if (patch)
    version += " Patch " + patch;

  report = report_fixed_ver(installed_version: version, fixed_version: "10.6.3 Patch 267");
  security_message(port: 0, data: report);
  exit(0);
}

exit(99);