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

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

                               ESB-2020.1646
            Advisory (icsa-20-128-01) Advantech WebAccess Node
                                11 May 2020

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

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

Product:           WebAccess Node
Publisher:         ICSA
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Overwrite Arbitrary Files       -- Remote with User Interaction
                   Unauthorised Access             -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-12026 CVE-2020-12022 CVE-2020-12018
                   CVE-2020-12014 CVE-2020-12010 CVE-2020-12006
                   CVE-2020-12002 CVE-2020-10638 

Original Bulletin: 
   https://www.us-cert.gov/ics/advisories/icsa-20-128-01

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

ICS Advisory (ICSA-20-128-01)

Advantech WebAccess Node

Original release date: May 07, 2020

Legal Notice

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



1. EXECUTIVE SUMMARY

  o CVSS v3 9.8
  o ATTENTION: Exploitable remotely/low skill level to exploit
  o Vendor: Advantech
  o Equipment: WebAccess Node
  o Vulnerabilities: Improper Validation of Array Index, Relative Path
    Traversal, SQL Injection, Stack-based Buffer Overflow, Heap-based Buffer
    Overflow, Out-of-bounds Read

2. RISK EVALUATION

Successful exploitation of these vulnerabilities may allow information
disclosure, remote code execution, and compromise system availability.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of WebAccess Node, an HMI platform, are affected:

  o WebAccess Node Version 8.4.4 and prior
  o WebAccess Node Version 9.0.0

3.2 VULNERABILITY OVERVIEW

3.2.1 IMPROPER VALIDATION OF ARRAY INDEX CWE-129

An improper validation vulnerability exists that could allow an attacker to
inject specially crafted input into memory where it can be executed.

CVE-2020-12022 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 RELATIVE PATH TRAVERSAL CWE-23

Multiple relative path traversal vulnerabilities exist that may allow an
authenticated user to use a specially crafted file to delete files outside the
application's control.

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

3.2.3 RELATIVE PATH TRAVERSAL CWE-23

Multiple relative path traversal vulnerabilities exist that may allow an
attacker to overwrite files outside the application's control.

CVE-2020-12006 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.4 RELATIVE PATH TRAVERSAL CWE-23

Multiple relative path traversal vulnerabilities exist that may allow a low
privilege user to overwrite files outside the application's control.

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

3.2.5 IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN AN SQL COMMAND ('SQL
INJECTION') CWE-89

Input is not properly sanitized and may allow an attacker to inject SQL
commands.

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

3.2.6 STACK-BASED BUFFER OVERFLOW CWE-121

Multiple stack-based buffer overflow vulnerabilities exist caused by a lack of
proper validation of the length of user-supplied data, which may allow remote
code execution.

CVE-2020-12002 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.7 HEAP-BASED BUFFER OVERFLOW CWE-122

Multiple heap-based buffer overflow vulnerabilities exist caused by a lack of
proper validation of the length of user-supplied data, which may allow remote
code execution.

CVE-2020-10638 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.8 OUT-OF-BOUNDS READ CWE-125

An out-of-bounds vulnerability exists that may allow access to unauthorized
data.

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

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Critical Manufacturing, Energy, Water and
    Wastewater Systems
  o COUNTRIES/AREAS DEPLOYED: East Asia, United States, Europe
  o COMPANY HEADQUARTERS LOCATION: Taiwan

3.4 RESEARCHER

Natnael Samson and Z0mb1E, working with Trend Micro's Zero Day Initiative,
reported these vulnerabilities to CISA.

4. MITIGATIONS

Advantech has released WebAccessNode Version 8.4.4.P0320844 to address the
reported vulnerabilities for users currently using WebAccessNode Version 8.4.4

Advantech has released WebAccessNode Version 9.0.0.P0320900 to address the
reported vulnerabilities for users currently using WebAccessNode Version 9.0.0

Note: Upon installation, there is a step to let the user decide whether to
define a password code for RPC calls. If the user leaves this blank, the
installation will pop up a warning to the user for potential risks that they
are willing to take.

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

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

CISA also provides a section for control systems security recommended practices
on the ICS webpage on us-cert.gov . 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 webpage on us-cert.gov 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 CISA for tracking
and correlation against other incidents.

CISA also recommends users take the following measures to protect themselves
from social engineering attacks:

  o Do not click web links or open unsolicited attachments in email messages.
  o Refer to Recognizing and Avoiding Email Scams for more information on
    avoiding email scams.
  o Refer to Avoiding Social Engineering and Phishing Attacks for more
    information on social engineering attacks.

No known public exploits specifically target these vulnerabilities.

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

Email: CISAservicedesk@cisa.dhs.gov
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.

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

iQIVAwUBXrjb8maOgq3Tt24GAQgmXA/9Ef4S0HtsQERWHFaKbfQn9FGaWhStmhYV
j1x9b88YFzAIV/frWgyH8ReOpf4ua4rPVNHuVqh8n2h6gDLEd05HLSsnwStpDC7I
hUcyZKWmV9xgCOZI51+T+H3pF3aA3sPmL3hTdnegGl640MNsr93fn8MooQNAxF8h
D2Boslkz/tmNLNEMZKGFzuG6kLZXSN/xC41YafM8R3SXJIwd0ljMFb+/sA/3cC8I
AjN6cOzZ7TtytnddKZRAavKpcZMepnmRaq1e9rOJ9hdGNH2ZJHC111DQu7uLnc8r
UjjLx8nKP3fYbmKgFwvPlbyJDUmcinzTcKivPavqOsabYhaoHBY/uRehWYWr3qWf
MlTZn8zUW3A8qPezj9/KzYM0L9eWgrDjHeTXftWM/9Uqw+Iy++hw4BJ66frKGUUJ
vlyqcDeoW+yNMCg6UyllXfRB3OenVB3pyAb3D9lXxLrJZnzmUhkdx45S2+TwiBpW
bTQz9qA3uQNxT/uNaPePYU0x7oJr8kVnC9K3JZ9m3XvLdhTunZafOJHwL93zJyId
BEHCjjfdlYfwbZBY/Yu27J826YFvy09feDAZij4d3b5z6FGFqaEbPreM2/Sl3Eut
rnowQewMektwY/i0k7AVlxwYiG+9JRL38kaYRb8iKfrw2Cab9BcHZpG14Knl4cdr
XQh1aBwSyvk=
=AoMj
-----END PGP SIGNATURE-----