ICS-CERT: WellinTech KingView and KingHistorian Vulnerabilities

Monday, July 09, 2012

Infosec Island Admin

7fef78c47060974e0b8392e305f0daf0

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.

The following products and versions are affected:

• WellinTech KingView 6.53

• 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 OVERVIEW KINGVIEW APPLICATION

STACK-BASED BUFFER OVERFLOW:  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-1830 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).

HEAP-BASED BUFFER OVERFLOW:  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-1831 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).

OUT-OF-BOUNDS READ:  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-1832 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).

PATH TRAVERSAL:  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-2560 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).

VULNERABILITY OVERVIEW KINGHISTORIAN APPLICATION

IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER:  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-2559 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).

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.

The full ICS-CERT advisory can be found here:

Source:  http://www.us-cert.gov/control_systems/pdf/ICSA-12-185-01.pdf

Possibly Related Articles:
10756
SCADA
Industrial Control Systems
Denial of Service SCADA Data Leakage Vulnerabilities Exploits ICS-CERT WellinTech KingView KingHistorian
Post Rating I Like this!
The views expressed in this post are the opinions of the Infosec Island member that posted this content. Infosec Island is not responsible for the content or messaging of this post.

Unauthorized reproduction of this article (in part or in whole) is prohibited without the express written permission of Infosec Island and the Infosec Island member that posted this content--this includes using our RSS feed for any purpose other than personal use.