Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007) - Nessus

High   Plugin ID: 31351

This page contains detailed information about the Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 31351
Name: Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007)
Filename: bews_pvcalendar_activex_mult_vulns.nasl
Vulnerability Published: N/A
This Plugin Published: 2008-03-05
Last Modification Time: 2018-11-15
Plugin Version: 1.20
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-2007-6016, CVE-2007-6017
CPE [?]: cpe:/a:symantec:veritas_backup_exec

Synopsis

The remote Windows host has an ActiveX control that is affected by multiple vulnerabilities.

Description

The remote host contains the PVATLCalendar.PVCalendar.1 ActiveX control distributed with Symantec Backup Exec for Windows Servers.

The installed version of that control reportedly contains two stack-based buffer overflows and allows for corrupting or saving malicious script code, and overwriting arbitrary files. These issues can be triggered by specially crafted arguments to the '_DOWText0'... '_DOWText6' and '_MonthText0' ... '_MonthText11' properties and then calling the 'Save()' method.

Solution

Apply the appropriate hotfix as discussed in the vendor advisory above.

Public Exploits


Target Network Port(s): 139, 445
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 Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007) vulnerability:

  1. Metasploit: exploit/windows/browser/symantec_backupexec_pvcalendar
    [Symantec BackupExec Calendar Control Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/5205.html
    [EDB-5205: Symantec BackupExec Calendar Control - 'PVCalendar.ocx' Remote Buffer Overflow]
  3. Exploit-DB: exploits/windows/remote/16582.rb
    [EDB-16582: Symantec BackupExec Calendar Control - Remote Buffer 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:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


This is the bews_pvcalendar_activex_mult_vulns.nasl nessus plugin source code. This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.

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

include("compat.inc");

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

  script_cve_id("CVE-2007-6016", "CVE-2007-6017");
  script_bugtraq_id(26904, 28008);
  script_xref(name:"EDB-ID", value:"5205");
  script_xref(name:"Secunia", value:"27885");

  script_name(english:"Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007)");
  script_summary(english:"Checks version of Calendar ActiveX control");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote host contains the PVATLCalendar.PVCalendar.1 ActiveX
control distributed with Symantec Backup Exec for Windows Servers.

The installed version of that control reportedly contains two
stack-based buffer overflows and allows for corrupting or saving
malicious script code, and overwriting arbitrary files. These issues
can be triggered by specially crafted arguments to the '_DOWText0'...
'_DOWText6' and '_MonthText0' ... '_MonthText11' properties and then
calling the 'Save()' method.");
  script_set_attribute(attribute:"see_also", value:"https://secuniaresearch.flexerasoftware.com/secunia_research/2007-101/advisory/");
  script_set_attribute(attribute:"see_also", value:"http://www.symantec.com/avcenter/security/Content/2008.02.29.html");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate hotfix as discussed in the vendor advisory
above.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/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:'Symantec BackupExec Calendar Control Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_cwe_id(20, 119);

  script_set_attribute(attribute:"plugin_publication_date", value:"2008/03/05");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:veritas_backup_exec");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

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

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}


include("global_settings.inc");
include("smb_func.inc");
include("smb_activex_func.inc");
include("audit.inc");


if (!get_kb_item("SMB/Registry/Enumerated")) exit(0);


# Check if the control looks like it's vulnerable.
if (activex_init() != ACX_OK) exit(0);

report = NULL;
clsid = "{22ACD16F-99EB-11D2-9BB3-00400561D975}";
file = activex_get_filename(clsid:clsid);
if (file)
{
  # Check its version.
  ver = activex_get_fileversion(clsid:clsid);
  if (ver && activex_check_fileversion(clsid:clsid, fix:"10.0.0.50") == TRUE)
  {
    if (report_paranoia > 1)
      report = string(
        "\n",
        "Version ", ver, " of the vulnerable control is installed as :\n",
        "\n",
        "  ", file, "\n",
        "\n",
        "Note, though, that Nessus did not check whether the kill bit was\n",
        "set for the control's CLSID because of the Report Paranoia setting\n",
        "in effect when this scan was run.\n"
      );
    else if (activex_get_killbit(clsid:clsid) == 0)
      report = string(
        "\n",
        "Version ", ver, " of the vulnerable control is installed as :\n",
        "\n",
        "  ", file, "\n",
        "\n",
        "Moreover, its kill bit is not set so it is accessible via Internet\n",
        "Explorer.\n"
      );
  }
}
activex_end();
if (isnull(report)) exit(0);



# NB: Symantec backported the patch with NetBackup so make sure we're looking at Backup Exec.
# Connect to the appropriate share.
port    =  kb_smb_transport();
login   =  kb_smb_login();
pass    =  kb_smb_password();
domain  =  kb_smb_domain();

if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');
rc = NetUseAdd(login:login, password:pass, domain:domain, share:"IPC$");
if (rc != 1) {
  NetUseDel();
  exit(0);
}


# Connect to remote registry.
hklm = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE);
if (isnull(hklm))
{
  NetUseDel();
  exit(0);
}


# Determine where Backup Exec is installed.
path = NULL;

key = "SOFTWARE\Symantec\Backup Exec for Windows\Backup Exec";
key_h = RegOpenKey(handle:hklm, key:key, mode:MAXIMUM_ALLOWED);
if (!isnull(key_h))
{
  info = RegQueryInfoKey(handle:key_h);
  for (i=0; i<info[1]; ++i)
  {
    subkey = RegEnumKey(handle:key_h, index:i);
    if (strlen(subkey) && subkey =~ "^[0-9.]+$")
    {
      key2 = key + "\" + subkey + "\Install";
      key2_h = RegOpenKey(handle:hklm, key:key2, mode:MAXIMUM_ALLOWED);
      if (!isnull(key2_h))
      {
        value = RegQueryValue(handle:key2_h, item:"Path");
        if (!isnull(value)) path = value[1];

        RegCloseKey(handle:key2_h);
      }
    }
  }
  RegCloseKey(handle:key_h);
}
RegCloseKey(handle:hklm);
NetUseDel();


# If it is installed, issue the report.
if (path)
{
  if (report_verbosity) security_hole(port:port, extra:report);
  else 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/bews_pvcalendar_activex_mult_vulns.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\bews_pvcalendar_activex_mult_vulns.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/bews_pvcalendar_activex_mult_vulns.nasl

Go back to menu.

How to Run


Here is how to run the Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007) 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 Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007) plugin ID 31351.
  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 bews_pvcalendar_activex_mult_vulns.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - bews_pvcalendar_activex_mult_vulns.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 bews_pvcalendar_activex_mult_vulns.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: CWE | Common Weakness Enumeration:
  • CWE-20 (Weakness) Improper Input Validation
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
See also: Similar and related Nessus plugins:
  • 35403 - Symantec AppStream Client LaunchObj ActiveX Control Multiple Unsafe Methods (SYM09-001)
  • 10798 - Symantec pcAnywhere Service Unrestricted Access
  • 24236 - Symantec AntiVirus Management Interface Remote Overflow (SYM06-010)
  • 44959 - Symantec Alert Management System 2 RCE (SYM09-007)
  • 51813 - Symantec Alert Management System 2 Multiple Vulnerabilities (SYM11-002, SYM11-003)
  • 55116 - Symantec Backup Exec Server Unauthorized Access (SYM11-006)
  • 80911 - Symantec Critical System Protection 5.2.9.x < 5.2.9 MP6 Multiple Vulnerabilities (SYM15-001 / SYM16-009)
  • 81600 - Symantec Deployment Solution AClient <= 6.9 Buffer Overflow
  • 77050 - Symantec Endpoint Protection Client < 12.1 RU4 MP1b (SYM14-013)
  • 104459 - Symantec Endpoint Protection Client 12.1.x < 12.1 RU6 MP9 / 14.0.x < 14.0 RU1 Multiple Vulnerabilities (SYM17-011)
  • 136619 - Symantec Endpoint Protection Client < 14.3 Multiple Vulnerabilities (SYMSA1762)
  • 133675 - Symantec Endpoint Protection Client 14.x < 14.2.5569.2100 Multiple Vulnerabilities (SYMSA1505)
  • 59366 - Symantec Endpoint Protection Manager < 11 RU7 MP2 (SYM12-007 / SYM12-008) (credentialed check)
  • 66927 - Symantec Endpoint Protection Manager < 12.1 RU3 (SYM13-005) (credentialed check)
  • 73964 - Symantec Endpoint Protection Manager < 12.1 RU4 MP1a OpenSSL Heartbeat Information Disclosure (Heartbleed)
  • 72542 - Symantec Endpoint Protection Manager < 11.0 RU7-MP4a / 12.1 RU4a Multiple Vulnerabilities (SYM14-004)
  • 79083 - Symantec Endpoint Protection Manager < 12.1 RU5 Multiple Vulnerabilities (SYM14-015)
  • 85256 - Symantec Endpoint Protection Manager 11.x / 12.x < 12.1 RU6 MP1 Multiple Vulnerabilities (SYM15-007)
  • 86873 - Symantec Endpoint Protection Manager < 12.1 RU6 MP3 Multiple Vulnerabilities (SYM15-011)
  • 91894 - Symantec Endpoint Protection Manager 12.1.x < 12.1 RU6 MP5 Multiple Vulnerabilities (SYM16-011)
  • 56413 - Symantec Enterprise Vault / Oracle Outside In Multiple Vulnerabilities (SYM11-011)
  • 62458 - Symantec Enterprise Vault < 10.0.2 Multiple Vulnerabilities in Oracle Outside-In Libraries (SYM12-015)
  • 57796 - Symantec pcAnywhere Multiple Vulnerabilities (SYM12-002)
  • 58204 - Symantec pcAnywhere awhost32 Denial of Service (SYM12-003)
  • 56666 - Symantec Mail Security Autonomy Verity Keyview Filter Vulnerabilities (SYM11-013)
  • 74153 - Symantec Workspace Streaming < 7.5 SP1 XMLRPC Request Remote Code Execution (SYM14-009)

Version


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

Go back to menu.