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

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

                               ESB-2018.1497
             Vulnerabilities addressed in Advantech WebAccess
                                16 May 2018

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

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

Product:           Advantech WebAccess
Publisher:         ICS-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Privileged Data          -- Remote/Unauthenticated
                   Delete Arbitrary Files          -- Remote/Unauthenticated
                   Modify Arbitrary Files          -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-10591 CVE-2018-10590 CVE-2018-10589
                   CVE-2018-8845 CVE-2018-8841 CVE-2018-7505
                   CVE-2018-7503 CVE-2018-7501 CVE-2018-7499
                   CVE-2018-7497 CVE-2018-7495 

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

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

Advisory (ICSA-18-135-01)

Advantech WebAccess

Original release date: May 15, 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

  * CVSS v3 9.8
  * ATTENTION: Remotely exploitable/low skill level to exploit
  * Vendor: Advantech
  * Equipment: WebAccess
  * Vulnerabilities: SQL Injection, Improper Authorization, Path Traversal,
    Heap-based Buffer Overflow, Stack-based Buffer Overflow, Untrusted Pointer
    Dereference, Improper Privilege Management, and External Control of File
    Name or Path

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
disclose sensitive information from the host and/or target, execute arbitrary
code, or delete files.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of WebAccess products are affected:

  * WebAccess versions V8.2_20170817 and prior,
  * WebAccess versions V8.3.0 and prior,
  * WebAccess Dashboard versions V.2.0.15 and prior,
  * WebAccess Scada Node versions prior to 8.3.1,
  * WebAccess/NMS 2.0.3 and prior.

3.2 VULNERABILITY OVERVIEW

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

Several SQL injection vulnerabilities have been identified, which may allow an
attacker to disclose sensitive information from the host.

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

3.2.2   INFORMATION EXPOSURE THROUGH DIRECTORY LISTING CWE-548

An information exposure vulnerability through directory listing has been
identified, which may allow an attacker to find important files that are not
normally visible.

CVE-2018-10590 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.3   IMPROPER AUTHORIZATION CWE-264

A TFTP application has unrestricted file uploads to the web application without
authorization, which may allow an attacker to execute arbitrary code.

CVE-2018-7505 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.4   PATH TRAVERSAL CWE-22

A path transversal vulnerability has been identified, which may allow an
attacker to disclose sensitive information on the target.

CVE-2018-7503 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.5   PATH TRAVERSAL CWE-22

A path transversal vulnerability has been identified, which may allow an
attacker to execute arbitrary code.

CVE-2018-10589 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.6   STACK-BASED BUFFER OVERFLOW CWE-121

Several stack-based buffer overflow vulnerabilities have been identified, which
may allow an attacker to execute arbitrary code.

CVE-2018-7499 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

A heap-based buffer overflow vulnerability has been identified, which may allow
an attacker to execute arbitrary code.

CVE-2018-8845 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   UNTRUSTED POINTER DEREFERENCE CWE-822

Several untrusted pointer dereference vulnerabilities have been identified,
which may allow an attacker to execute arbitrary code.

CVE-2018-7497 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.9   EXTERNAL CONTROL OF FILE NAME OR PATH CWE-73

An external control of file name or path vulnerability has been identified,
which may allow an attacker to delete files.

CVE-2018-7495 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:N
/I:N/A:H).

3.2.10   ORIGIN VALIDATION ERROR CWE-346

An origin validation error vulnerability has been identified, which may allow
an attacker to create a malicious web site, steal session cookies, and access
data of authenticated users.

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

3.2.11   IMPROPER PRIVILEGE MANAGEMENT CWE-269

An improper privilege management vulnerability may allow an authenticated user
to modify files when read access should only be given to the user.

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

3.3 BACKGROUND

  * Critical Infrastructure Sectors: Critical Manufacturing, Energy, Water and
    Wastewater Systems
  * Countries/Areas Deployed: East Asia, United States, Europe
  * Company Headquarters Location: Taiwan

3.4 RESEARCHER

Mat Powell and rgod, working with Trend Micro?s Zero Day Initiative; Steven
Seeley of Offensive Security, working with Trend Micro's Zero Day Initiative;
and Donato Onofri and Simone Onofri of Business Integration Partners S.p.A.
reported these vulnerabilities to NCCIC.

4. MITIGATIONS

Advantech has released Version 8.3.1 of WebAccess to address the reported
vulnerabilities. Users can download the latest version of WebAccess at the
following location:

http://support.advantech.com/support/DownloadSRDetail_New.aspx?SR_ID=1-MS9MJV&
Doc_Source=Download

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

  * Minimize network exposure for all control system devices and/or systems,
    and ensure that they are not accessible from 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 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
in the NCCIC Technical Information Paper, ICS-TIP-12-146-01B--Targeted Cyber
Intrusion Detection and Mitigation Strategies, that is available for download
from the ICS-CERT web site.

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

iQIVAwUBWvut7Ix+lLeg9Ub1AQjwxA//fi0NCh/Jk8sApWjx7qGR6cgw6xctvkme
wN+5zKQagkPk15Pawt6z7w341JrsjcvvdJSJkDkTfXrNlUfOKYRflnG+ApxxSmWp
BOy6pO84RzOfWWCrBsrfUcH9T96F0eQQUeYTFZ9ftvBCbg0d4kytg6gXwq1ba4Vf
ltfI+Uj2ktj1798NTP61cz6/zRnDEoVEN8mPcgyYk1J8TMt394SKQc/dlMUW3LX6
Qt2xggxPFPzRifEmE/0b+orSkb0ZtTnH6VI31723pPmfCHWrMOnxFmMbuKIHBr6X
O/0DVRniiJLkmczSQLRDJQeiK/8DZxmyItTNDe7OM1BLHrC9OmOV6upsawAi6S/Q
OvLNiI+aim1rf8cxFyOQc5sfEDasAMPuVuXCn7eja1WQ0hBzd0pr4o6J6Ga0i2hf
vJWxIXv7+d+u62yRuq9aPVwJH3IM7jDbe818+hDkscZco6MfHPVXVlveSYW5sjuR
zPWYBVQOhcRHQx+WlhYqupac9skiUbAu20oUsw8xiUJuSMq5+oJTQMc3Mf4VSe2G
TX1yVYkFziADC5I0tE8cAWZlZ6jEa8NtmOfUINZGTBzANzyNSSvk9UYxRqCTMgMz
MrvILT9790jgUyoO0LuM0tQnMwDJ7Kxnx+8M66ftzNLclzJXJknTDEdhHtVaZX5S
VDzaUxDJ3Uo=
=hPMZ
-----END PGP SIGNATURE-----