Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows - Nessus

High   Plugin ID: 60107

This page contains detailed information about the Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 60107
Name: Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows
Filename: cisco_linksys_playerpt_activex_bof.nasl
Vulnerability Published: 2012-03-22
This Plugin Published: 2012-07-24
Last Modification Time: 2018-11-15
Plugin Version: 1.14
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2012-03-22
Patch Published: N/A
CVE [?]: CVE-2012-0284
CPE [?]: cpe:/a:cisco:linksys_playerpt_activex_control

Synopsis

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

Description

The Cisco Linksys PlayerPT ActiveX Control is installed on the remote Windows host. The installed version of the control is affected by the following buffer overflow vulnerabilities in the SetSource() method :

- The 'base64string' argument is not properly sanitized. (EBD-ID #18641)

- The 'sURL' argument is not properly sanitized if the 'sFrameType' argument is set to 'mpeg'. (CVE-2012-0284)

By tricking a victim into visiting a specially crafted page, an attacker may be able to execute arbitrary code on the host.

Solution

Set the kill bit for the control as there is no fix at the time of this writing.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows vulnerability:

  1. Metasploit: exploit/windows/browser/cisco_playerpt_setsource_surl
    [Cisco Linksys PlayerPT ActiveX Control SetSource sURL Argument Buffer Overflow]
  2. Metasploit: exploit/windows/browser/cisco_playerpt_setsource
    [Cisco Linksys PlayerPT ActiveX Control Buffer Overflow]
  3. Exploit-DB: exploits/windows/dos/18641.txt
    [EDB-18641: Cisco Linksys WVC200 Wireless-G PTZ Internet Video Camera PlayerPT - ActiveX Control PlayerPT.ocx sprintf Buffer Overflow (PoC)]
  4. Exploit-DB: exploits/windows/remote/20202.rb
    [EDB-20202: Cisco Linksys PlayerPT - ActiveX Control SetSource sURL argument Buffer Overflow (Metasploit)]
  5. ExploitHub: EH-12-998

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 cisco_linksys_playerpt_activex_bof.nasl nessus plugin source code. This script is Copyright (C) 2012-2018 Tenable Network Security, Inc.

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


include("compat.inc");


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

  script_cve_id("CVE-2012-0284");
  script_bugtraq_id(54588);
  script_xref(name:"EDB-ID", value:"18641");
  script_xref(name:"Secunia", value:"48543");

  script_name(english:"Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows");
  script_summary(english:"Checks if control's kill bit is set");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote Windows host has an ActiveX control that is affected by
multiple buffer overflow vulnerabilities."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The Cisco Linksys PlayerPT ActiveX Control is installed on the remote
Windows host.  The installed version of the control is affected by the
following buffer overflow vulnerabilities in the SetSource() method :

  - The 'base64string' argument is not properly sanitized.
    (EBD-ID #18641)

  - The 'sURL' argument is not properly sanitized if the
    'sFrameType' argument is set to 'mpeg'.
    (CVE-2012-0284)

By tricking a victim into visiting a specially crafted page, an
attacker may be able to execute arbitrary code on the host."
  );
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2012/Mar/109");
  script_set_attribute(attribute:"see_also", value:"https://secuniaresearch.flexerasoftware.com/secunia_research/2012-25/");
  script_set_attribute(
    attribute:"solution",
    value:
"Set the kill bit for the control as there is no fix at the time of
this writing."
  );
  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:"exploithub_sku", value:"EH-12-998");
  script_set_attribute(attribute:"exploit_framework_exploithub", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Cisco Linksys PlayerPT ActiveX Control SetSource sURL Argument Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2012/03/22");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/07/24");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:cisco:linksys_playerpt_activex_control");
  script_end_attributes();

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

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

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

  exit(0);
}


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


get_kb_item_or_exit("SMB/Registry/Enumerated");
if (activex_init() != ACX_OK) exit(1, "activex_init() failed.");


# Determine if the control is installed.
clsid = '{9E065E4A-BD9D-4547-8F90-985DC62A5591}';

file = activex_get_filename(clsid:clsid);
if (isnull(file))
{
  activex_end();
  exit(1, "activex_get_filename() returned NULL.");
}
if (!file)
{
  activex_end();
  audit(AUDIT_ACTIVEX_NOT_FOUND, clsid);
}


# Get its version.
version = activex_get_fileversion(clsid:clsid);
if (!version) version = 'unknown';

info = '';
if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
{
  info += '\n  Class identifier  : ' + clsid +
          '\n  Filename          : ' + file +
          '\n  Installed version : ' + version +
          '\n';
}
activex_end();


# Report findings.
if (info)
{
  if (report_paranoia > 1)
  {
    report = info +
      '\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
  {
    report = info +
      '\n' +
      'Moreover, its kill bit is not set so it is accessible via Internet\n' +
      'Explorer.\n';
  }

  if (report_verbosity > 0) security_hole(port:kb_smb_transport(), extra:report);
  else security_hole(kb_smb_transport());

  exit(0);
}
else exit(0, "The control is installed, but its kill bit is set.");

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

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

Go back to menu.

How to Run


Here is how to run the Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows 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 Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows plugin ID 60107.
  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 cisco_linksys_playerpt_activex_bof.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: See also: Similar and related Nessus plugins:
  • 76491 - Cisco AnyConnect Secure Mobility Client 2.x / 3.x < 3.1(5170) Multiple OpenSSL Vulnerabilities
  • 78676 - Cisco AnyConnect Secure Mobility Client < 3.1(5187) (POODLE)
  • 82270 - Cisco AnyConnect Secure Mobility Client < 3.1(7021) / <= 4.0(48) Multiple Vulnerabilities (FREAK)
  • 86302 - Cisco AnyConnect Secure Mobility Client 3.x < 3.1.11004.0 / 4.x < 4.1.6020.0 Privilege Escalation
  • 88100 - Cisco AnyConnect Secure Mobility Client < 3.1.13015.0 / 4.2.x < 4.2.1035.0 Multiple OpenSSL Vulnerabilities
  • 95951 - Cisco AnyConnect Secure Mobility Client 3.1.x < 4.3.4019.0 / 4.4.x < 4.4.225.0 Privilege Escalation
  • 97226 - Cisco AnyConnect Secure Mobility Client 4.0.x < 4.3.05017 / 4.4.x < 4.4.00243 SBL Module Privilege Escalation
  • 54954 - Cisco AnyConnect Secure Mobility Client < 2.3.254 Multiple Vulnerabilities
  • 76129 - Cisco Windows Jabber Client Multiple Vulnerabilities in OpenSSL (cisco-sa-20140605-openssl)
  • 129947 - Cisco TelePresence Management Suite Simple Object Access Protocol Vulnerability
  • 134164 - Cisco AnyConnect Secure Mobility Client for Windows Uncontrolled Search Path Vulnerability
  • 146581 - Cisco AnyConnect Secure Mobility Client for Windows with VPN Posture (HostScan) Module DLL Hijacking Vulnerability (cisco-sa-anyconnect-dll-hijac-JrcTOQMC)
  • 144945 - Cisco AnyConnect Secure Mobility Client for Windows DLL Injection (cisco-sa-anyconnect-dll-injec-pQnryXLf)
  • 139411 - Cisco AnyConnect Secure Mobility Client for Windows Multiple Vulnerablities
  • 150807 - Cisco AnyConnect Secure Mobility Client for Windows Denial of Service Vulnerability (cisco-sa-anyconnect-dos-hMhyDfb8)
  • 139543 - Cisco AnyConnect Secure Mobility Client for Windows Profile Modification (cisco-sa-anyconnect-profile-7u3PERKF)
  • 139575 - Cisco Webex Meetings User Email Address Information Disclosure (cisco-sa-webex-mAkmV4qc)
  • 88593 - Cisco Security Manager 4.9.x < 4.9(0.397) / 4.10.x < 4.10(0.189) OpenSSL ASN.1 Signature Handling DoS
  • 42960 - Cisco VPN Client on Windows Service Control Manager DoS
  • 96907 - Cisco WebEx for Firefox RCE (cisco-sa-20170124-webex)
  • 96908 - Cisco WebEx for Internet Explorer RCE (cisco-sa-20170124-webex)
  • 96772 - Cisco WebEx Extension for Chrome RCE (cisco-sa-20170124-webex)
  • 58482 - Cisco Linksys PlayerPT ActiveX SetSource() Method base64string Argument Parsing Remote Overflow

Version


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

Go back to menu.