Disk Pulse Enterprise Server Buffer Overflow Vulnerability - Aug17

2017-08-30T00:00:00
ID OPENVAS:1361412562310811717
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2018-10-16T00:00:00

Description

The host is running Disk Pulse Enterprise Server and is prone to buffer overflow vulnerability.

                                        
                                            ##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_disk_pulse_enterprise_server_bof_vuln_aug17.nasl 11923 2018-10-16 10:38:56Z mmartin $
#
# Disk Pulse Enterprise Server Buffer Overflow Vulnerability - Aug17
#
# Authors:
# Shakeel <bshakeel@secpod.com>
#
# Copyright:
# Copyright (C) 2017 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.
###############################################################################

CPE = "cpe:/a:diskpulse:diskpulse_enterprise_web_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.811717");
  script_version("$Revision: 11923 $");
  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:"$Date: 2018-10-16 12:38:56 +0200 (Tue, 16 Oct 2018) $");
  script_tag(name:"creation_date", value:"2017-08-30 17:59:00 +0530 (Wed, 30 Aug 2017)");
  script_name("Disk Pulse Enterprise Server Buffer Overflow Vulnerability - Aug17");

  script_tag(name:"summary", value:"The host is running Disk Pulse Enterprise
  Server and is prone to buffer overflow vulnerability.");

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

  script_tag(name:"insight", value:"The flaw is due to an error when processing
  web requests and can be exploited to cause a buffer overflow via an overly long
  string passed to server.");

  script_tag(name:"impact", value:"Successful exploitation may allow remote
  attackers to cause the application to crash, creating a denial-of-service
  condition.");

  script_tag(name:"affected", value:"Disk Pulse Enterprise version 10.0.12 and prior.");

  script_tag(name:"solution", value:"Update Disk Pulse Enterprise to version 10.2 or higher.");

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

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

  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/42560");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("gb_disk_pulse_enterprise_server_detect.nasl");
  script_mandatory_keys("DiskPulse/Enterprise/Server/installed");
  script_require_ports("Services/www", 80);
  exit(0);
}

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

if( ! diskPort = get_app_port(cpe:CPE)) exit(0);
if( ! diskVer = get_app_version(cpe:CPE, port:diskPort)) exit(0);

## Installed 10.0.12, 9.9.16, 9.1.16 ; all are vulnerable
if(version_is_less_equal(version:diskVer, test_version:"10.0.12"))
{
  report = report_fixed_ver( installed_version:diskVer, fixed_version:"10.2");
  security_message(port:diskPort, data:report);
  exit(0);
}
exit(0);