VERITAS Backup Exec Agent Browser Registration Request Remote Overflow - Nessus
Critical Plugin ID: 16232This page contains detailed information about the VERITAS Backup Exec Agent Browser Registration Request Remote Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 16232
Name: VERITAS Backup Exec Agent Browser Registration Request Remote Overflow
Filename: veritas_backup_exec_overflow2.nasl
Vulnerability Published: 2004-12-16
This Plugin Published: 2005-01-24
Last Modification Time: 2018-08-06
Plugin Version: 1.21
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies: None
Vulnerability Information
Severity: Critical
Vulnerability Published: 2004-12-16
Patch Published: 2005-02-08
CVE [?]: CVE-2004-1172
CPE [?]: cpe:/a:symantec:veritas_backup_exec
Synopsis
Arbitrary code can be executed on the remote host.
Description
The remote host is running a version of VERITAS Backup Exec Agent Browser which is vulnerable to a remote buffer overflow. An attacker may exploit this flaw to execute arbitrary code on the remote host or to disable this service remotely.
To exploit this flaw, an attacker would need to send a specially crafted packet to the remote service.
Solution
http://support.veritas.com/docs/273419
Public Exploits
Target Network Port(s): 6101
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Core Impact)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the VERITAS Backup Exec Agent Browser Registration Request Remote Overflow vulnerability:
- Metasploit: exploit/windows/backupexec/name_service
[Veritas Backup Exec Name Service Overflow] - Exploit-DB: exploits/windows/remote/16331.rb
[EDB-16331: Veritas Backup Exec Name Service - Remote 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 veritas_backup_exec_overflow2.nasl nessus plugin source code. This script is Copyright (C) 2005-2018 Tenable Network Security, Inc.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(16232);
script_version("1.21");
script_cvs_date("Date: 2018/08/06 14:03:14");
script_cve_id("CVE-2004-1172");
script_bugtraq_id(11974);
script_name(english:"VERITAS Backup Exec Agent Browser Registration Request Remote Overflow");
script_summary(english:"Test the VERITAS Backup Exec Agent Browser buffer overflow");
script_set_attribute(attribute:"synopsis", value:
"Arbitrary code can be executed on the remote host." );
script_set_attribute(attribute:"description", value:
"The remote host is running a version of VERITAS Backup Exec Agent Browser
which is vulnerable to a remote buffer overflow. An attacker may exploit this
flaw to execute arbitrary code on the remote host or to disable this service
remotely.
To exploit this flaw, an attacker would need to send a specially crafted packet
to the remote service." );
script_set_attribute(attribute:"solution", value:
"http://support.veritas.com/docs/273419" );
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:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'Veritas Backup Exec Name Service Overflow');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value: "2004/12/16");
script_set_attribute(attribute:"patch_publication_date", value: "2005/02/08");
script_set_attribute(attribute:"plugin_publication_date", value: "2005/01/24");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:veritas_backup_exec");
script_end_attributes();
script_category(ACT_DESTRUCTIVE_ATTACK);
script_copyright(english:"This script is Copyright (C) 2005-2018 Tenable Network Security, Inc.");
script_family(english:"Gain a shell remotely");
script_require_ports(6101);
exit(0);
}
port = 6101;
if (!get_port_state (port)) exit (0);
soc = open_sock_tcp (port);
if (!soc) exit (0);
request = raw_string (0x02, 0x00, 0x00, 0x00) + crap (data:'A', length:100) + raw_string (0x00) + "172.0.0.1" + raw_string (0x00);
send (socket:soc, data:request);
close (soc);
sleep(2);
soc = open_sock_tcp (port);
if ( ! soc )
{
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/veritas_backup_exec_overflow2.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\veritas_backup_exec_overflow2.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/veritas_backup_exec_overflow2.nasl
Go back to menu.
How to Run
Here is how to run the VERITAS Backup Exec Agent Browser Registration Request Remote Overflow 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 Gain a shell remotely plugin family.
- On the right side table select VERITAS Backup Exec Agent Browser Registration Request Remote Overflow plugin ID 16232.
- 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 veritas_backup_exec_overflow2.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a veritas_backup_exec_overflow2.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - veritas_backup_exec_overflow2.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 veritas_backup_exec_overflow2.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: See also:
- https://www.tenable.com/plugins/nessus/16232
- https://vulners.com/nessus/VERITAS_BACKUP_EXEC_OVERFLOW2.NASL
- 16230 - Veritas Backup Exec Agent Browser 8.x < 8.60.3878 HF 68 / 9.0.x < 9.0.4454 HF 30 / 9.1.x < 9.1.4691 HF 40 RCE
- 18551 - VERITAS Backup Exec Agent for Windows CONNECT_CLIENT_AUTH Remote Overflow
- 101294 - Veritas Backup Exec Remote Agent 14.1.x < 14.1.1786.1126 / 14.2.x < 14.2.1180.3160 / 16.0.x < 16.0.1142.1327 Use-after-free RCE (VTS17-006)
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file veritas_backup_exec_overflow2.nasl version 1.21. For more plugins, visit the Nessus Plugin Library.
Go back to menu.