WellinTech KingSCADA < 3.1.2.13-EN 'kxClientDownload.ocx' ActiveX RCE - Nessus

High   Plugin ID: 83774

This page contains detailed information about the WellinTech KingSCADA < 3.1.2.13-EN 'kxClientDownload.ocx' ActiveX RCE Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 83774
Name: WellinTech KingSCADA < 3.1.2.13-EN 'kxClientDownload.ocx' ActiveX RCE
Filename: scada_kingscada_kxclientdownload_activex.nbin
Vulnerability Published: 2014-01-14
This Plugin Published: 2015-06-01
Last Modification Time: 2022-05-03
Plugin Version: 1.216
Plugin Type: local
Plugin Family: SCADA
Dependencies: scada_app_wellintech_kingscada_detect.nbin, smb_hotfixes.nasl
Required KB Items [?]: installed_sw/WellinTech KingSCADA, SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2014-01-14
Patch Published: 2014-01-14
CVE [?]: CVE-2013-2827
CPE [?]: cpe:/a:wellintech:kingscada

Synopsis

The WellinTech KingSCADA server installed on the remote host is affected by a remote code execution vulnerability.

Description

The WellinTech KingSCADA server installed on the remote host is a version prior to 3.1.2.13-EN. It is, therefore, affected by a vulnerability in the 'kxClientDownload.ocx' ActiveX control. A remote attacker, by setting the ProjectURL property, can exploit this to download an arbitrary DLL file from a remote location, thus allowing the injection of executable code.

Solution

Upgrade KingSCADA to version 3.1.2.13-EN.

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 WellinTech KingSCADA < 3.1.2.13-EN 'kxClientDownload.ocx' ActiveX RCE vulnerability:

  1. Metasploit: exploit/windows/browser/wellintech_kingscada_kxclientdownload
    [KingScada kxClientDownload.ocx ActiveX Remote Code Execution]
  2. Exploit-DB: exploits/windows/remote/31575.rb
    [EDB-31575: KingScada - kxClientDownload.ocx ActiveX Remote 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-2013-2827
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.2 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.2 (Medium)

Go back to menu.

Plugin Source


The scada_kingscada_kxclientdownload_activex.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2015-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

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

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

Go back to menu.

How to Run


Here is how to run the WellinTech KingSCADA < 3.1.2.13-EN 'kxClientDownload.ocx' ActiveX 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 SCADA plugin family.
  6. On the right side table select WellinTech KingSCADA < 3.1.2.13-EN 'kxClientDownload.ocx' ActiveX RCE plugin ID 83774.
  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 scada_kingscada_kxclientdownload_activex.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: ICSA | ICS Advisory: See also: Similar and related Nessus plugins:
  • 81553 - WellinTech KingSCADA < 3.1.2.13-EN 'kxNetDispose.dll' Buffer Overflow RCE
  • 59375 - WellinTech KingView 6.53 < 2010-12-15 HistorySvr.exe TCP Request Remote Overflow
  • 59377 - WellinTech KingView 6.53 < 2012-03-22 Multiple Vulnerabilities
  • 70292 - WellinTech KingView ActiveX Multiple Arbitrary File Overwrite Vulnerabilities
  • 60084 - Advantech Studio ISSymbol ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 65656 - Honeywell Multiple Products HscRemoteDepoy.dll ActiveX Control Arbitrary Code Execution
  • 23967 - ICONICS Dialog Wrapper Module ActiveX (DlgWrapper.dll) DoModal Function Overflow
  • 51360 - Ecava IntegraXor ActiveX save Method Buffer Overflow
  • 72708 - Mitsubishi Electric Automation MC-WorX 8.x ActiveX Control Remote Code Execution
  • 66761 - Mitsubishi MX Component ActiveX Remote Code Execution

Version


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

Go back to menu.