Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation - Nessus

High   Plugin ID: 25799

This page contains detailed information about the Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 25799
Name: Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation
Filename: nessus_scanctrl_activex_file_deletion.nasl
Vulnerability Published: 2007-07-28
This Plugin Published: 2007-07-28
Last Modification Time: 2018-08-22
Plugin Version: 1.21
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2007-07-28
Patch Published: N/A
CVE [?]: CVE-2007-4031, CVE-2007-4061, CVE-2007-4062
CPE [?]: N/A

Synopsis

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

Description

The remote host contains the ScanCtrl ActiveX control, a part of Nessus for Windows.

The version of the ScanCtrl ActiveX control, installed as part of Nessus for Windows on the remote host, fails to validate input to several methods. If an attacker can trick a user on the affected host into visiting a specially crafted web page, this issue could be leveraged to delete or write to arbitrary files or even execute arbitrary code on the host subject to the user's privileges.

Solution

Upgrade to Nessus for Windows version 3.0.6.1 or later.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation vulnerability:

  1. Exploit-DB: exploits/windows/remote/4230.html
    [EDB-4230: Nessus Vulnerability Scanner 3.0.6 - ActiveX Remote Delete File]
  2. Exploit-DB: exploits/windows/remote/4237.html
    [EDB-4237: Nessus Vulnerability Scanner 3.0.6 - ActiveX Command Execution]

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:POC/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.3 (High)

Go back to menu.

Plugin Source


This is the nessus_scanctrl_activex_file_deletion.nasl nessus plugin source code. This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof.

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

include("compat.inc");

if (description)
{
  script_id(25799);
  script_version("1.21");

  script_cve_id("CVE-2007-4031", "CVE-2007-4061", "CVE-2007-4062");
  script_bugtraq_id(25088);
  script_xref(name:"EDB-ID", value:"4230");
  script_xref(name:"EDB-ID", value:"4237");

  script_name(english:"Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation");
  script_summary(english:"Checks versions of ScanCtrl ActiveX control");

 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that is affected by
multiple issues." );
 script_set_attribute(attribute:"description", value:
"The remote host contains the ScanCtrl ActiveX control, a part of
Nessus for Windows.

The version of the ScanCtrl ActiveX control, installed as part of
Nessus for Windows on the remote host, fails to validate input to
several methods. If an attacker can trick a user on the affected host
into visiting a specially crafted web page, this issue could be
leveraged to delete or write to arbitrary files or even execute
arbitrary code on the host subject to the user's privileges." );

 script_set_attribute(attribute:"solution", value:
"Upgrade to Nessus for Windows version 3.0.6.1 or later." );
 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:POC/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_cwe_id(22);

 script_set_attribute(attribute:"plugin_publication_date", value: "2007/07/28");
 script_set_attribute(attribute:"vuln_publication_date", value: "2007/07/28");
 script_cvs_date("Date: 2018/08/22 16:49:14");
 script_set_attribute(attribute:"plugin_type", value:"local");
 script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");
  script_copyright(english:"This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof.");
  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");


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


# Locate files used by the controls.
if (activex_init() != ACX_OK) exit(0);

clsid = "{A47D5315-321D-4DEE-9DB3-18438023193B}";
file = activex_get_filename(clsid:clsid);
if (file)
{
  ver = activex_get_fileversion(clsid:clsid);
  if (ver && activex_check_fileversion(clsid:clsid, fix:"3.0.6.321") == TRUE)
  {
    report = string(
      "Version '", ver, "' of the vulnerable control is installed as :\n",
      "\n",
      "  ", file
      );
    security_hole(port:kb_smb_transport(), extra:report);
  }
}
activex_end();

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

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

Go back to menu.

How to Run


Here is how to run the Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation 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 Nessus Windows < 3.0.6.1 ScanCtrl ActiveX Multiple Method File Manipulation plugin ID 25799.
  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 nessus_scanctrl_activex_file_deletion.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CWE | Common Weakness Enumeration:
  • CWE-22 (Weakness) Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
See also: Similar and related Nessus plugins:
  • 86949 - Nessus 5.x < 5.2.12 / 6.x < 6.4 Multiple OpenSSL Vulnerabilities
  • 97192 - Tenable Nessus 6.x < 6.9 Multiple Vulnerabilities (TNS-2016-16) (SWEET32)
  • 97193 - Tenable Nessus 6.8.x and 6.9.x < 6.9.1 Stored XSS (TNS-2016-17)
  • 118398 - Tenable Nessus < 8.0.0 Multiple Vulnerabilities (TNS-2018-14)
  • 120197 - Tenable Nessus < 8.1.1 Multiple Vulnerabilities (TNS-2018-16)
  • 120198 - Tenable Nessus < 7.1.4 Multiple Vulnerabilities (TNS-2018-17)
  • 121620 - Tenable Nessus < 8.2.2 Stored XSS Vulnerability (TNS-2019-01)
  • 123462 - Tenable Nessus < 8.3.0 Multiple Vulnerabilities (TNS-2019-02)
  • 148297 - Tenable Nessus 8.9.0 < 8.13.2 Multiple Vulnerabilities (TNS-2021-05)
  • 150798 - Tenable Nessus 8.x.x < 8.15.0 Multiple Vulnerabilities (TNS-2021-11)
  • 157339 - Tenable Nessus 10.x < 10.1.0 / 8.x < 8.15.3 Third-Party Vulnerability (TNS-2022-04)
  • 157425 - Tenable Nessus 10.x < 10.1.1 / 8.x < 8.15.3 Third-Party Vulnerabilities (TNS-2022-05)
  • 159376 - Tenable Nessus 10.x < 10.1.2 / 8.x < 8.15.4 Third-Party Vulnerability (TNS-2022-06)
  • 88965 - Nessus Web UI Scanned Content Stored XSS
  • 147729 - Nessus Network Monitor < 5.13.0 Multiple Vulnerabilities (TNS-2021-02)
  • 149403 - Nessus Network Monitor < 5.13.1 Multiple Vulnerabilities (TNS-2021-09)
  • 125882 - Tenable Nessus Agent < 7.4.0 Third Party Vulnerability (OpenSSL) (TNS-2019-03)
  • 137757 - Tenable Nessus Agent < 7.6.3 Third Party Vulnerability (OpenSSL) (TNS-2020-03)
  • 147895 - Tenable Nessus Agent < 8.2.3 Multiple Vulnerabilities (TNS-2021-04)
  • 148392 - Tenable Nessus Agent < 8.2.4 Multiple Vulnerabilities (TNS-2021-08)
  • 153159 - Tenable Nessus Agent < 8.3.1 Multiple Vulnerabilities (TNS-2021-15)
  • 159378 - Tenable Nessus Agent < 8.3.3 / 10.x < 10.1.3 Third-Party Vulnerability (TNS-2022-07)

Version


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

Go back to menu.