U.S. Flag Official website of the Department of Homeland Security
U.S. Department of Homeland Security Seal. ICS-CERT. Industrial Control Systems Cyber Emergency Response Team.
TLP:WHITE

Advisory (ICSA-12-185-01)

WellinTech KingView Multiple Vulnerabilities

Original release date: July 03, 2012 | Last revised: September 02, 2014

Legal Notice

All information products included in http://ics-cert.us-cert.gov 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 http://www.us-cert.gov/tlp/.



Overview

Independent researchers Carlos Mario Penagos Hollman and Dillon Beresford identified multiple vulnerabilities in WellinTech’s KingView and a single vulnerability in WellinTech’s KingHistorian application. These vulnerabilities are exploitable remotely. WellinTech has created a patch and the researchers have validated that the patch resolves these vulnerabilities in the KingView and KingHistorian applications.

Affected Products

The following products and versions are affected:

  • WellinTech KingView 6.53, and
  • WellinTech KingHistorian 3.0.

Impact

Successful exploitation of these vulnerabilities could lead to arbitrary code execution, information disclosure, and denial of service (DoS).

Impact to individual organizations depends on many factors that are unique to each organization. ICS-CERT recommends that organizations evaluate the impact of this vulnerability based on their operational environment, architecture, and product implementation.

Background

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 other sectors. The KingHistorian product is a database that can be used as a stand-alone historian; it is deployed across several industries including water and power and other sectors.

Vulnerability Characterization

Vulnerability Overview-Kingview Application

Stack-based Buffer Overflowa

By sending a specially crafted packet to Port 555/TCP, an attacker may create a stack-based buffer overflow in the KingView application. This attack may allow the execution of arbitrary code.

CVE-2012-1830b has been assigned to this vulnerability. A CVSS v2 base score of 10 has been assigned; the CVSS vector string is AV:N/AC:L/Au:N/C:C/I:C/A:C.c

Heap-based Buffer Overflowd

By sending a specially crafted packet to Port 555/TCP, an attacker may create a heap-based buffer overflow in the KingView application. This attack may allow the execution of arbitrary code.

CVE-2012-1831e has been assigned to this vulnerability. A CVSS v2 base score of 10 has been assigned; the CVSS vector string is AV:N/AC:L/Au:N/C:C/I:C/A:C.f

Out-of-bounds Readg

By sending a specially crafted packet to either Port 2001/TCP or Port 2001/UDP, an attacker may read from an invalid memory location in the KingView application. This attack may allow the execution of arbitrary code.

CVE-2012-1832h has been assigned to this vulnerability. A CVSS v2 base score of 10 has been assigned; the CVSS vector string is AV:N/AC:L/Au:N/C:C/I:C/A:C.i

Path Traversalj

By sending a specially crafted GET request via HTTP on Port 8001/TCP, an attacker may access arbitrary information from the KingView application.

CVE-2012-2560k has been assigned to this vulnerability. A CVSS v2 base score of 5 has been assigned. The CVSS vector string is AV:N/AC:L/Au:N/C:P/I:N/A:N.l

Vulnerability Overview-Kinghistorian Application

Improper Restriction of Operations within the Bounds of a Memory Bufferm

By sending a specially crafted packet to Port 5678/TCP, an attacker may create an invalid pointer write in the KingHistorian application. This attack may allow the execution of arbitrary code.

CVE-2012-2559n has been assigned to this vulnerability. A CVSS v2 base score of 10 has been assigned; the CVSS vector string is AV:N/AC:L/Au:N/C:C/I:C/A:C.o

Vulnerability Details

Exploitability

These vulnerabilities are exploitable remotely.

Existence of Exploit

No known public exploits specifically target these vulnerabilities.

Difficulty

An attacker requires a moderate skill level to exploit these vulnerabilities.

Mitigation

WellinTech has developed patches to resolve these issues. The WellinTech advisory and the KingView product patch can be found here: http://www.wellintech.com/index.php/news/33-patch-for-kingview653. The WellinTech advisory and the KingHistorian product patch can be found here: http://en2.wellintech.com/products/detail.aspx?contentid=25.

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. Critical devices should not directly face 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.

The Control Systems Security Program (CSSP) also provides a section for control systems security recommended practices on the CSSP Web page. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies.p ICS-CERT reminds organizations to perform proper impact analysis and risk assessment prior to taking defensive measures.

Organizations observing any suspected malicious activity should follow their established internal procedures and report their findings to ICS-CERT for tracking and correlation against other incidents.


Contact Information

For any questions related to this report, please contact the NCCIC at:

Email: NCCICCUSTOMERSERVICE@hq.dhs.gov
Toll Free: 1-888-282-0870

For industrial control systems cybersecurity information:  http://ics-cert.us-cert.gov 
or incident reporting:  https://ics-cert.us-cert.gov/Report-Incident?

The NCCIC continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.

Was this document helpful?  Yes  |  Somewhat  |  No

Back to Top