FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities - Nessus

Critical   Plugin ID: 27599

This page contains detailed information about the FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 27599
Name: FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities
Filename: flexnet_connect_isusweb_activex.nasl
Vulnerability Published: 2007-10-30
This Plugin Published: 2007-11-01
Last Modification Time: 2020-09-30
Plugin Version: 1.29
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: Critical
Vulnerability Published: 2007-10-30
Patch Published: N/A
CVE [?]: CVE-2007-5660, CVE-2007-6654
CPE [?]: cpe:/a:macrovision:flexnet_connect, cpe:/a:macrovision:installshield_2008, cpe:/a:macrovision:update_service

Synopsis

The remote Windows host has an ActiveX control that allows execution of arbitrary code.

Description

Macrovision FLEXnet Connect, formerly known as InstallShield Update Service, is installed on the remote host. It is a software management solution for internally-developed and third-party applications, and may have been installed as part of the FLEXnet Connect SDK, other InstallShield software, or by running FLEXnet Connect-enabled Windows software.

The version of the FLEXnet Connect client on the remote host includes an ActiveX control -- the InstallShield Update Service Agent -- that is marked as 'safe for scripting' and contains several methods that allow for downloading and launching arbitrary programs. If a remote attacker can trick a user on the affected host into visiting a specially crafted web page, this issue could be leveraged to execute arbitrary code on the host subject to the user's privileges.

Additionally, it is reportedly affected by a buffer overflow that can be triggered by passing a long argument for 'ProductCode' to the 'DownloadAndExecute()' method.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to version 6.0.100.65101 or later of the FLEXnet Connect client.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/browser/macrovision_unsafe
    [Macrovision InstallShield Update Service ActiveX Unsafe Method]
  2. Metasploit: exploit/windows/browser/macrovision_downloadandexecute
    [Macrovision InstallShield Update Service Buffer Overflow]
  3. Exploit-DB: exploits/windows/remote/16573.rb
    [EDB-16573: Macrovision Installshield Update Service - Remote Buffer Overflow (Metasploit)]
  4. Exploit-DB: exploits/windows/remote/16602.rb
    [EDB-16602: Macrovision Installshield Update Service - ActiveX Unsafe Method (Metasploit)]
  5. 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 Score Source [?]: CVE-2007-5660
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)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C
CVSS Base Score:9.6 (Critical)
Impact Subscore:6.0
Exploitability Subscore:2.8
CVSS Temporal Score:8.9 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.9 (High)

Go back to menu.

Plugin Source


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

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


include("compat.inc");

if (description)
{
  script_id(27599);
  script_version("1.29");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/09/30");

  script_cve_id("CVE-2007-5660", "CVE-2007-6654");
  script_bugtraq_id(26280, 27013);

  script_name(english:"FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities");
  script_summary(english:"Checks version of Update Service ActiveX control");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that allows execution
of arbitrary code." );
  script_set_attribute(attribute:"description", value:
"Macrovision FLEXnet Connect, formerly known as InstallShield Update Service, is installed on the remote host.  It is a
software management solution for internally-developed and third-party applications, and may have been installed as part
of the FLEXnet Connect SDK, other InstallShield software, or by running FLEXnet Connect-enabled Windows software.

The version of the FLEXnet Connect client on the remote host includes an ActiveX control -- the InstallShield Update
Service Agent -- that is marked as 'safe for scripting' and contains several methods that allow for downloading and
launching arbitrary programs.  If a remote attacker can trick a user on the affected host into visiting a specially
crafted web page, this issue could be leveraged to execute arbitrary code on the host subject to the user's privileges.

Additionally, it is reportedly affected by a buffer overflow that can be triggered by passing a long argument for
'ProductCode' to the 'DownloadAndExecute()' method.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number." );
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/483062/30/0/threaded" );
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2007/Dec/552" );
  script_set_attribute(attribute:"solution", value:
"Upgrade to version 6.0.100.65101 or later of the FLEXnet Connect client." );
  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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2007-5660");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Macrovision InstallShield Update Service ActiveX Unsafe Method');
  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_cwe_id(119);


  script_set_attribute(attribute:"plugin_publication_date", value: "2007/11/01");
  script_set_attribute(attribute:"vuln_publication_date", value: "2007/10/30");
  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:macrovision:flexnet_connect");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:macrovision:installshield_2008");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:macrovision:update_service");
  script_end_attributes();


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

  script_copyright(english:"This script is Copyright (C) 2007-2020 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('smb_func.inc');
include('smb_activex_func.inc');
include('debug.inc');

get_kb_item_or_exit('SMB/Registry/Enumerated');

# Locate the file used by the controls.
if (activex_init() != ACX_OK) {
  dbg::log(msg:'Activex_init() != ACX_OK');
  exit(0);
}
clsid = '{E9880553-B8A7-4960-A668-95C68BED571E}';
file = activex_get_filename(clsid:clsid);
dbg::log(msg:'file: ' + obj_rep(file));

if (file)
{
  # Check its version.
  ver = activex_get_fileversion(clsid:clsid);
  dbg::log(msg:'ver: ' + obj_rep(ver));

  if (ver && activex_check_fileversion(clsid:clsid, fix:'6.0.100.65101') == TRUE)
  {
    report = NULL;
    if (report_paranoia > 1) {
      dbg::log(msg:'report_paranoia > 1');
      report =
        '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) {
      dbg::log(msg:'activex_get_killbit = 0');
      report =
        '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';
    }
    if (report) security_hole(port:kb_smb_transport(), extra:report);
  }

  else {
    dbg::log(msg:'ver or activex_check_fileversion is false');
  }
}
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/flexnet_connect_isusweb_activex.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\flexnet_connect_isusweb_activex.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/flexnet_connect_isusweb_activex.nasl

Go back to menu.

How to Run


Here is how to run the FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities 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 FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities plugin ID 27599.
  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 flexnet_connect_isusweb_activex.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CWE | Common Weakness Enumeration:
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
See also: Similar and related Nessus plugins:
  • 58273 - FlexNet License Multiple Vulnerabilities
  • 23648 - WinZip FileView ActiveX Control Vulnerabilities
  • 24909 - TestDirector (TD) for Mercury Quality Center SPIDERLib.Loader ActiveX Control (Spider90.ocx) ProgColor Property Overflow
  • 25344 - ProgramChecker sasatl.dll ActiveX Control Multiple Overflows
  • 25442 - FlipViewer ActiveX Control < 4.1 Buffer Overflow Vulnerabilities
  • 26185 - EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows
  • 27618 - SonicWALL SSL-VPN NetExtender NELaunchCtrl ActiveX Control Multiple Overflows
  • 29725 - HP Info Center ActiveX Control Multiple Remote Vulnerabilities
  • 29801 - IBM Lotus Domino Web Access ActiveX Control Buffer Overflow Vulnerabilities
  • 29825 - XUpload ActiveX Control AddFolder Method Buffer Overflow
  • 30152 - Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows
  • 30205 - Yahoo! Music Jukebox ActiveX Controls Buffer Overflows
  • 30219 - MySpace Uploader ActiveX Control < 1.0.0.6 Action Property Buffer Overflow
  • 31351 - Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007)
  • 32082 - Akamai Download Manager ActiveX Control < 2.2.3.5 Remote Code Execution
  • 33102 - Akamai Download Manager ActiveX Control < 2.2.3.6 Arbitrary File Download
  • 33859 - WebEx Meeting Manager WebexUCFObject ActiveX Control Buffer Overflow
  • 34049 - Novell iPrint Client ActiveX Control Multiple Vulnerabilities
  • 34348 - GdPicture Multiple ActiveX Control SaveAsPDF Method Arbitrary File Overwrite
  • 34472 - LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 35403 - Symantec AppStream Client LaunchObj ActiveX Control Multiple Unsafe Methods (SYM09-001)
  • 35627 - AutoDesk LiveUpdate ActiveX Control ApplyPatch Method Execution
  • 35953 - Morovia Barcode ActiveX Control < 3.6.0 Arbitrary File Overwrite

Version


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

Go back to menu.