ESB-2018.3012 - [Win] WECON PI Studio: Multiple vulnerabilities 2018-10-05

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.3012
                Advisory (ICSA-18-277-01) - WECON PI Studio
                              5 October 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           WECON PI Studio
Publisher:         ICS-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Administrator Compromise        -- Remote with User Interaction
                   Access Confidential Data        -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-17889 CVE-2018-14818 CVE-2018-14814
                   CVE-2018-14810  

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-18-277-01

- --------------------------BEGIN INCLUDED TEXT--------------------

Advisory (ICSA-18-277-01)

WECON PI Studio

Original release date: October 04, 2018

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/.

1. EXECUTIVE SUMMARY

  o CVSS v3 9.8
  o ATTENTION: Exploitable remotely/low skill level to exploit
  o Vendor: WECON Technology Co., Ltd. (WECON)
  o Equipment: PI Studio
  o Vulnerabilities: Stack-based Buffer Overflow, Out-of-Bounds Write,
    Information Exposure Through XML External Entity Reference, Out-of-Bounds
    Read

2. RISK EVALUATION

Successful exploitation of these vulnerabilities may allow remote code
execution, execution of code in the context of an administrator, read past the
end of an allocated object or allow an attacker to disclose sensitive
information under the context of administrator.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of PI Studio, a HMI project programmer, are affected:

  o PI Studio HMI: Versions 4.1.9 and prior,
  o PI Studio Versions 4.2.34 and prior.

3.2 VULNERABILITY OVERVIEW

3.2.1    STACK-BASED BUFFER OVERFLOW CWE-121

A stack-based buffer overflow vulnerability has been identified, which may
allow remote code execution.

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

3.2.2    OUT-OF-BOUNDS WRITE CWE-787

The affected product parses files and passes invalidated user data to an unsafe
method call, which may allow code to be executed in the context of an
administrator.

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

3.2.3    INFORMATION EXPOSURE THROUGH XML EXTERNAL ENTITY REFERENCE CWE-611

When parsing project files, the XMLParser that ships with Wecon PIStudio is
vulnerable to a XML external entity injection attack, which may allow sensitive
information disclosure.

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

3.2.4    OUT-OF-BOUNDS READ CWE-125

The affected product lacks proper validation of user-supplied data, which may
result in a read past the end of an allocated object.

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

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Critical Manufacturing, Energy, Water and
    Wastewater Systems
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: China

3.4 RESEARCHER

Mat Powell and Natnael Samson (Natti), working with Trend Micro's Zero Day
Initiative, reported these vulnerabilities to NCCIC.

4. MITIGATIONS

WECON has verified the vulnerabilities but has not yet released an updated
version. NCCIC is currently working with WECON and will update the advisory
once an updated version is released.

NCCIC recommends users take defensive measures to minimize the risk of
exploitation of this vulnerability. Specifically, users should:

  o Minimize network exposure for all control system devices and/or systems,
    and ensure that they are not accessible from the Internet.
  o Locate control system networks and remote devices behind firewalls, and
    isolate them from the business network.
  o When remote access is required, use secure methods, such as Virtual Private
    Networks (VPNs), recognizing that VPNs may have vulnerabilities and should
    be updated to the most current version available. Also recognize that VPN
    is only as secure as the connected devices.

NCCIC reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

NCCIC also provides a section for control systems security recommended
practices on the ICS-CERT web page. Several recommended practices are available
for reading and download, including Improving Industrial Control Systems
Cybersecurity with Defense-in-Depth Strategies.

Additional mitigation guidance and recommended practices are publicly available
on the ICS-CERT website in the Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies.

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

No known public exploits specifically target these vulnerabilities.

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?

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBW7bF6maOgq3Tt24GAQjmlQ//QZrComGFGcQ2kbMhYFtB+HoaMenWH//Z
ykRCet14yqwcBobrTCjx7wQhNmoaWXHB8zoienrk5Pme4gyPsvP72gfy5AZkRQkK
lZrAUVRDxYusfvy7b/eUvMiysMe8QKB5dZpl9urMclXTX7rk3xGe7oPVJFUkOs1h
CVljtrvMUn7ZDQhm44k/AMQtBJwPkFhhkKHm1OIio960mFDZjLHeRdcAfG8XIxtp
pP1IEU6iibWmDoRBxJSu4lJugA+GkH4ArvNuqlu5+WRyRAIF2tgWR03OaSTmI3sc
DmsZG89ZF5ttD6Ww/2NkNBNuLvEnmsosOpIpGTphu/D6et2qUdLZy+WFKdBf0yPT
bFNCDtzOhezAUbW33YY9hxHX5DhM0aGrKJw653o623VyjcO3XQs/8MNospWzYJQ8
pr5JzKq7Ena3unrKaZp/vXugUQL9FcqAOfvJLoTumAW459OY8nxBNXlQ03D4mZ2S
67qX2/bBmE3pmycKQWYu6OShrTcPHSBi+LvP1Dv5nTdpVCz8G2L1AbWZozJqscyO
kPz+/Pox22D01QTv38ON3HtE3iE7cP9DoNBuzTMAuHw4HlomvNVJAdXRQ3/MGRCi
YFCQqAKV9DWHFnnxTMPwndM+TxrNliFPje0biWPI1u/Rpk7W9K00fb6U4FUWEClE
iqB2Qust+Vc=
=wobP
-----END PGP SIGNATURE-----

« Back to bulletins