BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows - Nessus

Critical   Plugin ID: 18257

This page contains detailed information about the BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 18257
Name: BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows
Filename: netvault_remote_hbof.nasl
Vulnerability Published: 2005-04-02
This Plugin Published: 2005-05-14
Last Modification Time: 2022-04-11
Plugin Version: 1.25
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies: netvault_detect.nasl

Vulnerability Information


Severity: Critical
Vulnerability Published: 2005-04-02
Patch Published: N/A
CVE [?]: CVE-2005-1009, CVE-2005-1547
CPE [?]: cpe:/a:bakbone:netvault

Synopsis

The remote backup server is affected by multiple overflow flaws.

Description

The installed version of BakBone NetVault on the remote host suffers from two remote heap-based buffer overflow vulnerabilities. An attacker may be able to exploit these flaws and execute arbitrary code with SYSTEM privileges on the affected machine.

Solution

Upgrade to BackBone NetVault 7.1.2 / 7.3.1 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): Services/nvpmgr
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows vulnerability:

  1. Metasploit: exploit/windows/misc/bakbone_netvault_heap
    [BakBone NetVault Remote Heap Overflow]
  2. Exploit-DB: exploits/windows/remote/16448.rb
    [EDB-16448: BakBone NetVault - Remote Heap Overflow (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the netvault_remote_hbof.nasl nessus plugin source code. This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(18257);
  script_version("1.25");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2005-1009", "CVE-2005-1547");
  script_bugtraq_id(12967, 13594, 13618);

  script_name(english:"BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows");

  script_set_attribute(attribute:"synopsis", value:
"The remote backup server is affected by multiple overflow flaws.");
  script_set_attribute(attribute:"description", value:
"The installed version of BakBone NetVault on the remote host suffers
from two remote heap-based buffer overflow vulnerabilities.  An
attacker may be able to exploit these flaws and execute arbitrary code
with SYSTEM privileges on the affected machine.");
  script_set_attribute(attribute:"see_also", value:"http://www.hat-squad.com/en/000164.html");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2005/May/132");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2005/May/166");
  script_set_attribute(attribute:"see_also", value:"http://www.bakbone.com/docs/NetVault_Release_Notes_(712).pdf");
  script_set_attribute(attribute:"see_also", value:"http://www.bakbone.com/docs/NetVault_Release_Notes_(731).pdf");
  script_set_attribute(attribute:"solution", value:
"Upgrade to BackBone NetVault 7.1.2 / 7.3.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'BakBone NetVault Remote Heap Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2005/04/02");
  script_set_attribute(attribute:"plugin_publication_date", value:"2005/05/14");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:bakbone:netvault");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Gain a shell remotely");

  script_copyright(english:"This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.");

  script_dependencies("netvault_detect.nasl");
  script_require_ports("Services/nvpmgr");

  exit(0);
}


port = get_kb_item("Services/nvpmgr");
if (!get_port_state(port)) exit(0);


# Get the version number of NetVault on the remote.
nvver = get_kb_item("NetVault/"+port+"/NVVersion");
nvbuild = get_kb_item("NetVault/"+port+"/NVBuild");
if (isnull(nvver) || isnull(nvbuild)) exit(0);

ver = string(nvver[0], ".", nvver[2], nvver[3], " Build ", nvbuild);
if (ver =~ "^(6\.|7\.(0\.|1\.[01]|3\.0))") security_hole(port);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/netvault_remote_hbof.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\netvault_remote_hbof.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/netvault_remote_hbof.nasl

Go back to menu.

How to Run


Here is how to run the BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Gain a shell remotely plugin family.
  6. On the right side table select BakBone NetVault < 7.1.2 / 7.3.1 Multiple Remote Overflows plugin ID 18257.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl netvault_remote_hbof.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a netvault_remote_hbof.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - netvault_remote_hbof.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state netvault_remote_hbof.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 84006 - Dell NetVault Backup 10.0.x < 10.0.5 RCE
  • 119681 - Quest NetVault Backup Server < 11.4.5 Process Manager Service SQL Injection Remote Code Execution Vulnerability (ZDI-17-982)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file netvault_remote_hbof.nasl version 1.25. For more plugins, visit the Nessus Plugin Library.

Go back to menu.