CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201) - Nessus

High   Plugin ID: 22510

This page contains detailed information about the CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 22510
Name: CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201)
Filename: arcserve_windows_multiple.nasl
Vulnerability Published: 2006-10-05
This Plugin Published: 2006-10-06
Last Modification Time: 2018-11-15
Plugin Version: 1.19
Plugin Type: remote
Plugin Family: Windows
Dependencies: None

Vulnerability Information


Severity: High
Vulnerability Published: 2006-10-05
Patch Published: 2006-10-05
CVE [?]: CVE-2006-5142, CVE-2006-5143
CPE [?]: cpe:/a:ca:arcserve_backup

Synopsis

Arbitrary code can be executed on the remote host.

Description

This host is running BrightStor ARCServe for Windows.

The remote version of this software has 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): 6503
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 for Windows Multiple Remote Buffer Overflows (QO81201) vulnerability:

  1. Metasploit: exploit/windows/brightstor/message_engine_heap
    [CA BrightStor ARCserve Message Engine Heap Overflow]
  2. Exploit-DB: exploits/windows/remote/16401.rb
    [EDB-16401: CA BrightStor ARCserve - Message Engine Heap Overflow (Metasploit)]
  3. 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_multiple.nasl nessus plugin source code. This script is Copyright (C) 2006-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(22510);
 script_version("1.19");
 script_cvs_date("Date: 2018/11/15 20:50:26");

 script_cve_id("CVE-2006-5142", "CVE-2006-5143");
 script_bugtraq_id(20364, 20365);

 script_name(english:"CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201)");
 script_summary(english:"Check buffer overflow in BrightStor ARCServe for Windows");

 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 for Windows.

The remote version of this software has 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:"https://www.zerodayinitiative.com/advisories/ZDI-06-031/");
 # 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_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:ca:arcserve_backup");
 script_end_attributes();

 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 (6503);
 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:"dc246bf0-7a7a-11ce-9f88-00805fe43838", 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 RPC_QSICreateQueue ()
{
 local_var data, ret, resp, val, soc;

 soc = session_get_socket ();

 session_set_unicode (unicode:0);

 data = 
	class_name (name:crap(data:"A", length:0x31)) + 
	raw_dword (d:1) +
	class_name (name:"nessus");

 session_set_unicode (unicode:1);

 ret = dce_rpc_request (code:0x01, data:data);
 send (socket:soc, data:ret);
 resp = recv (socket:soc, length:4096);

 resp = dce_rpc_parse_response (data:resp);
 if (strlen(resp) != 8)
   return 0;

 val = get_dword (blob:resp, pos:4);
 if (val != 3)
   return 1;

 return 0;
}



port = 6503;
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 = RPC_QSICreateQueue ();
if (ret != 0)
  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_multiple.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\arcserve_windows_multiple.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/arcserve_windows_multiple.nasl

Go back to menu.

How to Run


Here is how to run the CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201) 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 Windows plugin family.
  6. On the right side table select CA BrightStor ARCserve Backup for Windows Multiple Remote Buffer Overflows (QO81201) plugin ID 22510.
  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 arcserve_windows_multiple.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a arcserve_windows_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_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_multiple.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 22511 - CA BrightStor ARCserve Backup DBASVR for Windows Multiple Remote Buffer Overflows
  • 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_multiple.nasl version 1.19. For more plugins, visit the Nessus Plugin Library.

Go back to menu.