CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows - Nessus
High Plugin ID: 22511This page contains detailed information about the CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 22511
Name: CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows
Filename: arcserve_windows_dbasvr_multiple.nasl
Vulnerability Published: 2006-10-05
This Plugin Published: 2006-10-06
Last Modification Time: 2018-06-27
Plugin Version: 1.20
Plugin Type: remote
Plugin Family: Windows
Dependencies:
arcserve_discovery_service_detect.nasl, os_fingerprint.nasl
Required KB Items [?]: ARCSERVE/Discovery/Version
Vulnerability Information
Severity: High
Vulnerability Published: 2006-10-05
Patch Published: 2006-10-05
CVE [?]: CVE-2006-5142, CVE-2006-5143
CPE [?]: N/A
Synopsis
Arbitrary code can be executed on the remote host.
Description
This host is running BrightStor ARCServe DBA server for Windows.
The remote version of this software is affected by multiple buffer overflow vulnerabilities.
An attacker, by sending a specially crafted packet, may be able to execute code on the remote host.
Solution
Apply service pack 2 for Arcserve 11.5 or install the security patch.
Public Exploits
Target Network Port(s): 6071
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows vulnerability:
- Metasploit: exploit/windows/brightstor/message_engine_heap
[CA BrightStor ARCserve Message Engine Heap Overflow] - Exploit-DB: exploits/windows/remote/16401.rb
[EDB-16401: CA BrightStor ARCserve - Message Engine Heap Overflow (Metasploit)] - Immunity Canvas: CANVAS
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:P/I:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score: | 7.5 (High) |
Impact Subscore: | 6.4 |
Exploitability Subscore: | 10.0 |
CVSS Temporal Score: | 6.2 (Medium) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 6.2 (Medium) |
Go back to menu.
Plugin Source
This is the arcserve_windows_dbasvr_multiple.nasl nessus plugin source code. This script is Copyright (C) 2006-2018 Tenable Network Security, Inc.
#
# (C) Tenable Network Security, Inc.
#
# BAB r11.5 sp1 and below - QO81201
# BAB r11.1 - QO82863
# BAB r11.0 - QI82917
# BEB r10.5 - QO82858
# BAB v9.01 - QO82856
include("compat.inc");
if (description)
{
script_id(22511);
script_version ("1.20");
script_cve_id("CVE-2006-5142", "CVE-2006-5143");
script_bugtraq_id(20364, 20365);
script_name(english:"CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows");
script_set_attribute(attribute:"synopsis", value:
"Arbitrary code can be executed on the remote host." );
script_set_attribute(attribute:"description", value:
"This host is running BrightStor ARCServe DBA server for Windows.
The remote version of this software is affected by multiple buffer
overflow vulnerabilities.
An attacker, by sending a specially crafted packet, may be able to
execute code on the remote host." );
script_set_attribute(attribute:"see_also", value:"http://www.tippingpoint.com/security/advisories/TSRT-06-11.html" );
# https://web.archive.org/web/20061017184949/http://supportconnectw.ca.com/public/storage/infodocs/basbr-secnotice.asp
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eed70140" );
script_set_attribute(attribute:"solution", value:
"Apply service pack 2 for Arcserve 11.5 or install the security patch." );
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
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:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'CA BrightStor ARCserve Message Engine Heap Overflow');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
script_set_attribute(attribute:"canvas_package", value:'CANVAS');
script_set_attribute(attribute:"plugin_publication_date", value: "2006/10/06");
script_set_attribute(attribute:"patch_publication_date", value: "2006/10/05");
script_set_attribute(attribute:"vuln_publication_date", value: "2006/10/05");
script_cvs_date("Date: 2018/06/27 18:42:27");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_summary(english:"Check buffer overflow in BrightStor ARCServe for Windows DBASVR");
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2006-2018 Tenable Network Security, Inc.");
script_require_ports (6071);
script_dependencies("arcserve_discovery_service_detect.nasl", "os_fingerprint.nasl");
script_require_keys("ARCSERVE/Discovery/Version");
exit(0);
}
include ('smb_func.inc');
function RPC_Bind ()
{
local_var ret, resp, soc;
soc = session_get_socket ();
ret = dce_rpc_bind(cid:session_get_cid(), uuid:"88435ee0-861a-11ce-b86b-00001b27f656", vers:1);
send (socket:soc, data:ret);
resp = recv (socket:soc, length:4096);
if (!resp)
return -1;
ret = dce_rpc_parse_bind_ack (data:resp);
if (isnull (ret) || (ret != 0))
return -1;
return 0;
}
function SERGetAgentDisplayName ()
{
local_var data, ret, resp, val, soc;
soc = session_get_socket ();
session_set_unicode (unicode:0);
data =
class_name (name:crap(data:"A", length:0x10)) +
raw_dword(d:100);
session_set_unicode (unicode:1);
ret = dce_rpc_request (code:0x00, data:data);
send (socket:soc, data:ret);
resp = recv (socket:soc, length:4096);
resp = dce_rpc_parse_response (data:resp);
if (strlen(resp) != 20)
return 0;
val = get_dword (blob:resp, pos:16);
if (val == 5)
return 1;
return 0;
}
ver = get_kb_item("ARCSERVE/Discovery/Version");
if (!ver) exit(0);
matches = eregmatch(string:ver, pattern:"^[a-z]([0-9]+)\.([0-9]+) \(build ([0-9]+)\)$");
if (isnull(matches)) exit(0);
ver = matches[1];
# Exit on version > 12 (safeapi)
if (int(ver) > 11) exit(0);
port = 6071;
if ( ! get_port_state(port) ) exit(0);
soc = open_sock_tcp (port);
if (!soc) exit (0);
session_init (socket:soc);
ret = RPC_Bind ();
if (ret != 0)
exit (0);
ret = SERGetAgentDisplayName ();
if (ret == 1)
security_hole(port);
close (soc);
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/arcserve_windows_dbasvr_multiple.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\arcserve_windows_dbasvr_multiple.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/arcserve_windows_dbasvr_multiple.nasl
Go back to menu.
How to Run
Here is how to run the CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Windows plugin family.
- On the right side table select CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows plugin ID 22511.
- Specify the target on the Settings tab and click to Save the scan.
- 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 arcserve_windows_dbasvr_multiple.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a arcserve_windows_dbasvr_multiple.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - arcserve_windows_dbasvr_multiple.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 arcserve_windows_dbasvr_multiple.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: See also:
- https://www.tenable.com/plugins/nessus/22511
- http://www.nessus.org/u?eed70140
- http://www.tippingpoint.com/security/advisories/TSRT-06-11.html
- https://vulners.com/nessus/ARCSERVE_WINDOWS_DBASVR_MULTIPLE.NASL
- 22510 - CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201)
- 34393 - CA BrightStor ARCserve Backup RPC Interface (asdbapi.dll) Traversal Arbitrary Command Execution
- 19387 - CA BrightStor ARCserve Backup Agent for Windows Long String Overflow
- 24240 - CA BrightStor ARCserve Backup for Laptops & Desktops Server Multiple Vulnerabilities (QO83833)
- 24015 - CA BrightStor ARCserve Backup Multiple Vulnerabilities (QO84983)
- 24816 - CA BrightStor ARCserve Backup Tape Engine and Portmapper Multiple Vulnerabilities (QO86255)
- 25086 - CA BrightStor ARCserve Backup Multiple Vulnerabilities (QO87569)
- 24013 - CA BrightStor ARCserve Backup Tape Engine Multiple Remote Overflows (QO84983)
- 18041 - CA BrightStor ARCserve Backup Universal Agent Remote Overflow (QO66526)
- 55720 - Computer Associates ARCserve D2D homepageServlet Servlet Information Disclosure
- 69317 - CA ARCserve Backup for Laptops and Desktops Server and CA Desktop Management Suite Multiple Remote Vulnerabilities
- 17307 - CA License Service Multiple Vulnerabilities
- 31731 - CA BrightStor ARCserve Backup ListCtrl ActiveX (ListCtrl.ocx) AddColumn() Method Overflow
- 20173 - CA Multiple Products Message Queuing Multiple Remote Vulnerabilities
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file arcserve_windows_dbasvr_multiple.nasl version 1.20. For more plugins, visit the Nessus Plugin Library.
Go back to menu.