June 15, 2017 Karn Ganeshen

[ICS] Trihedral VTScada Multiple Vulnerabilities

[ICS] Trihedral VTScada Multiple Vulnerabilities

ICS-CERT published an advisory on one of my reports this week –
https://ics-cert.us-cert.gov/advisories/ICSA-17-164-01

Vendor: Trihedral
Equipment: VTScada
Vulnerability: Resource Consumption, Cross-Site Scripting, Information Exposure

Note: There are 2 more reports currently in progress. I will post the details once ICS-CERT publishes them.

AFFECTED PRODUCTS

The following versions of VTScada, an HMI SCADA software, are affected:

IMPACT

Successful exploitation of these vulnerabilities could result in uncontrolled resource consumption, arbitrary code execution, or information exposure.

MITIGATION

Trihedral recommends that users of an affected version update to the latest version, v11.2.26. The update can be found at the following location:

ftp://ftp.trihedral.com/VTS/VTScada 11.2 Versions/VTScada 11.2.26.zip

VULNERABILITY OVERVIEW

The client does not properly validate the input or limit the amount of resources that are utilized by an attacker, which can be used to consume more resources than are available.

CVE-2017-6043 has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been assigned; the CVSS vector string is (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Exploitation

Note that this vulnerability targets the VTScada thick client installed on the system. Any application user (including a non-admin, restricted user) who has access to the thick client can potentially bring down the system.

Start VTScada -> Create New Application

Create New users

Logon

Submit large payload in Username field.

 

Payload can be up to ~80k characters. Repeated attempts result in spiked CPU usage & consumption of RAM / page resources. Where a full-blown application (or multiple applications in production scenario) is deployed, i.e. with an operational/functional configuration, memory/CPU usage is notably higher than that of a test, blank application. Repeatedly submitting such a large username input, rapidly consumes available server memory resources leading to resource exhaustion. This forces a system reboot eventually.

Where an endpoint security solution (such as AV/HIPS/Anti-Malware) is deployed on the system, resource exhaustion may be achieved relatively much faster (quickly).

A cross-site scripting vulnerability may allow JavaScript code supplied by the attacker to execute within the user’s browser.

CVE-2017-6053 has been assigned to this vulnerability. A CVSS v3 base score of 6.5 has been assigned; the CVSS vector string is (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).

Exploitation

Multiple URLs and parameters were found to vulnerable to Reflected Cross-Site Scripting:

Some files are exposed within the web server application to unauthenticated users. These files may contain sensitive configuration information.

CVE-2017-6045 has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been assigned; the CVSS vector string is (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

+++++

Cheers~

Tagged: , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *