All information products included in https://us-cert.cisa.gov/ics are provided "as is" for informational purposes only. The Department of Homeland Security (DHS) does not provide any warranties of any kind regarding any information contained within. DHS does not endorse any commercial product or service, referenced in this product or otherwise. Further dissemination of this product is governed by the Traffic Light Protocol (TLP) marking in the header. For more information about TLP, see https://us-cert.cisa.gov/tlp/.
This advisory is a follow-up to the alert titled ICS-ALERT-13-256-01 WellinTech KingView ActiveX Vulnerabilitiesa that was published September 13, 2013, on the NCCIC/ICS-CERT Web site.
Independent researcher “Blake” identified ActiveX vulnerabilities and released proof-of-concept (exploit) code for WellinTech KingView application without coordination with NCCIC/ICS‑CERT, the vendor, or any other coordinating entity known to NCCIC/ICS-CERT. WellinTech has produced a new version that mitigates these vulnerabilities.
These vulnerabilities could be exploited remotely. Exploits that target these vulnerabilities are known to be publicly available.
The following KingView versions are affected:
- KingView versions older than Version 6.53.
Successful exploitation of these vulnerabilities may allow an attacker to overwrite files and copy them from one location to another on the target machine.
Impact to individual organizations depends on many factors that are unique to each organization. NCCIC/ICS-CERT recommends that organizations evaluate the impact of these vulnerabilities based on their operational environment, architecture, and product implementation.
WellinTech is a software development company specializing in automation and control. WellinTech is based in Beijing, China, with branches in the United States, Japan, Singapore, Europe, and Taiwan.
According to the WellinTech Web site, the KingView product is a Windows-based control, monitoring, and data collection application deployed across several industries including power, water, building automation, mining, and others.
INSECURE ACTIVEX CONTROLb
WellinTech KingView contains a flaw in the SuperGrid.ocx ActiveX control that allows an attacker to traverse outside a restricted path. The issue is due to the program not properly sanitizing user input, specifically directory traversal style attacks.
This proof of concept will copy any arbitrary file from one location to a second location. It can also be used to overwrite existing files. This vulnerability may be used to inject files which, in turn, may allow arbitrary code execution.
ACTIVEX REMOTE FILE CREATION/OVERWRITEe
WellinTech KingView contains a flaw in the KChartXY.ocx ActiveX control that allows an attacker to traverse outside a restricted path. The issue is due to the program not properly sanitizing user input.
Proof of concept overwrites the win.ini file.
These vulnerabilities could be exploited remotely.
EXISTENCE OF EXPLOIT
Exploits that target these vulnerabilities are publicly available.
An attacker with a medium skill would be able to exploit these vulnerabilities.
WellinTech has provided the following links to download new versions of the affected files:
- SuperGrid.ocx Version number：65.30.30000.10002
- KChartXY.ocx Version number：65.30.30000.10002
It is also possible to correct the flaw by implementing the following workarounds:
- Set the kill-bit on the KChartXY ActiveX Control (CLSID A9A2011A-1E02-4242-AAE0-B239A6F88BAC).
- Set the kill-bit on the SuperGrid ActiveX Control (CLSID F494550F-A028-4817-A7B5-E5F2DCB4A47E).
For specific information on mitigating ActiveX vulnerabilities, see Microsoft KB article 240797.h
NCCIC/ICS-CERT encourages asset owners to take additional defensive measures to protect against this and other cybersecurity risks.
- Minimize network exposure for all control system devices and/or systems, and ensure that they are not accessible from the Internet.
- Locate control system networks and remote devices behind firewalls, and isolate them from the business network.
- When remote access is required, use secure methods, such as Virtual Private Networks (VPNs), recognizing that VPN is only as secure as the connected devices.
NCCIC/ICS-CERT also provides a section for control systems security recommended practices on the NCCIC/ICS-CERT Web page. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies.i NCCIC/ICS-CERT reminds organizations to perform proper impact analysis and risk assessment prior to taking defensive measures.
Additional mitigation guidance and recommended practices are publicly available in the NCCIC/ICS-CERT Technical Information Paper, ICS-TIP-12-146-01B—Targeted Cyber Intrusion Mitigation Strategies,j that is available for download from the NCCIC/ICS-CERT Web page (http://ics-cert.us-cert.gov/).
Organizations observing any suspected malicious activity should follow their established internal procedures and report their findings to NCCIC/ICS-CERT for tracking and correlation against other incidents.
- a. ICS-ALERT-13-256-01 WellinTech KingView ActiveX Vulnerabilities, http://ics-cert.us-cert.gov/alerts/ICS-ALERT-13-256-01, Web site last accessed October 22, 2013.
- b. CWE-40: Path Traversal: '\\UNC\share\name\' (Windows UNC Share), http://cwe.mitre.org/data/definitions/40.html, Web site last accessed October 22, 2013.
- c. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-6127, NIST uses this advisory to create the CVE Web site report. This Web site will be active sometime after publication of this advisory.
- d. CVSS Calculator, http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:M/Au:N/C:N/I:P/A:P, Web site last visited October 22, 2013.
- e. CWE-28: Path Traversal: '..\filedir', http://cwe.mitre.org/data/definitions/28.html, Web site last accessed October 22, 2013.
- f. NVD, http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-6128, NIST uses this advisory to create the CVE Web site report. This Web site will be active sometime after publication of this advisory.
- g. CVSS Calculator, http://nvd.nist.gov/cvss.cfm?version=2&vector=AV:N/AC:M/Au:N/C:N/I:P/A:P, Web site last visited October 22, 2013.
- h. Microsoft Support article: How to stop an ActiveX control from running in Internet Explorer, http://support.microsoft.com/kb/240797, Web site last accessed October 22, 2013.
- i. CSSP Recommended Practices, http://ics-cert.us-cert.gov/content/recommended-practices, Web site last accessed October 22, 2013.
- j. Targeted Cyber Intrusion Detection and Mitigation Strategies, http://ics-cert.us-cert.gov/tips/ICS-TIP-12-146-01B, Web site last accessed October 22, 2013.
For any questions related to this report, please contact the CISA at:
Toll Free: 1-888-282-0870
CISA continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.
Please share your thoughts.
We recently updated our anonymous product survey; we'd welcome your feedback.