Ubisoft uPlay < 2.0.4 Browser Plugin RCE - Nessus

High   Plugin ID: 100961

This page contains detailed information about the Ubisoft uPlay < 2.0.4 Browser Plugin RCE Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 100961
Name: Ubisoft uPlay < 2.0.4 Browser Plugin RCE
Filename: ubisoft_uplay_rce.nasl
Vulnerability Published: 2012-07-29
This Plugin Published: 2017-06-21
Last Modification Time: 2019-11-13
Plugin Version: 1.8
Plugin Type: local
Plugin Family: Windows
Dependencies: ubisoft_uplay_installed.nbin
Required KB Items [?]: installed_sw/Ubisoft uPlay

Vulnerability Information


Severity: High
Vulnerability Published: 2012-07-29
Patch Published: 2012-07-30
CVE [?]: CVE-2012-4177
CPE [?]: cpe:/a:ubi:uplay_pc

Synopsis

A game launcher application installed on the host is affected by a remote code execution vulnerability.

Description

According to its version number, the Ubisoft uPlay application installed on the remote host is prior to 2.0.4. It is, therefore, affected by a remote code execution vulnerability in the web browser plugin due to improper validation of user-supplied input passed via the '-orbit_exe_path' command line argument. An unauthenticated, remote attacker can exploit this, via a specially crafted website, to execute arbitrary code.

Solution

Upgrade to Ubisoft uPlay version 2.0.4 or later.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Ubisoft uPlay < 2.0.4 Browser Plugin RCE vulnerability:

  1. Metasploit: exploit/windows/browser/ubisoft_uplay_cmd_exec
    [Ubisoft uplay 2.0.3 ActiveX Control Arbitrary Code Execution]
  2. Exploit-DB: exploits/windows/remote/20321.rb
    [EDB-20321: Ubisoft uplay 2.0.3 - ActiveX Control Arbitrary Code Execution (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 Score Source [?]: CVE-2012-4177
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)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
CVSS Base Score:8.8 (High)
Impact Subscore:5.9
Exploitability Subscore:2.8
CVSS Temporal Score:8.2 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.2 (High)

Go back to menu.

Plugin Source


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

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

include("compat.inc");

if (description)
{
  script_id(100961);
  script_version("1.8");
  script_cvs_date("Date: 2019/11/13");

  script_cve_id("CVE-2012-4177");
  script_bugtraq_id(54867);
  script_xref(name:"EDB-ID", value:"20321");

  script_name(english:"Ubisoft uPlay < 2.0.4 Browser Plugin RCE");
  script_summary(english:"Checks the Ubisoft uPlay launcher version.");

  script_set_attribute(attribute:"synopsis", value:
"A game launcher application installed on the host is affected by a
remote code execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"According to its version number, the Ubisoft uPlay application
installed on the remote host is prior to 2.0.4. It is, therefore,
affected by a remote code execution vulnerability in the web browser
plugin due to improper validation of user-supplied input passed via
the '-orbit_exe_path' command line argument. An unauthenticated,
remote attacker can exploit this, via a specially crafted website, to
execute arbitrary code.");
  # https://forums.ubi.com/showthread.php/699940-Uplay-PC-Patch-2-0-4-Security-fix
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?83487ab3");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2012/Jul/375");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Ubisoft uPlay version 2.0.4 or later.");
  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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/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-2012-4177");

  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:'Ubisoft uplay 2.0.3 ActiveX Control Arbitrary Code Execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2012/07/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/07/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/06/21");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ubi:uplay_pc");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ubisoft_uplay_installed.nbin");
  script_require_keys("installed_sw/Ubisoft uPlay");

  exit(0);
}

include("vcf.inc");

app = "Ubisoft uPlay";

port = get_kb_item("SMB/transport");
if(!port) port = 445;

app_info = vcf::get_app_info(app:app, win_local:true, port:port);

constraints = [
  { "fixed_version" : "2.0.4" }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

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

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

Go back to menu.

How to Run


Here is how to run the Ubisoft uPlay < 2.0.4 Browser Plugin RCE 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 Ubisoft uPlay < 2.0.4 Browser Plugin RCE plugin ID 100961.
  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 ubisoft_uplay_rce.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also:

Version


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

Go back to menu.