ESB-2018.0061.2 - UPDATE [Win] Advantech WebAccess: Multiple vulnerabilities 2018-01-12

Printable version
PGP/GPG verifiable version

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

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

                              ESB-2018.0061.2
          Security vulnerabilities patched in Advantech WebAccess
                              12 January 2018

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

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

Product:           Advantech WebAccess
Publisher:         ICS-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Create Arbitrary Files          -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-16753 CVE-2017-16736 CVE-2017-16732
                   CVE-2017-16728 CVE-2017-16724 CVE-2017-16720
                   CVE-2017-16716  

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-18-004-02A

Revision History:  January 12 2018: Addition of two new CVEs
                   January  5 2018: Initial Release

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

Advisory (ICSA-18-004-02A)

Advantech WebAccess (Update A)

Original release date: January 04, 2018 | Last revised: January 11, 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/.

CVSS v3 8.2

ATTENTION: Remotely exploitable/low skill level to exploit.

Vendor: Advantech

Equipment: WebAccess

Vulnerabilities: Untrusted Pointer Dereference, Stack-based Buffer Overflow,
Path Traversal, SQL Injection, Improper Input Validation.

UPDATE INFORMATION

This updated advisory is a follow-up to the original advisory titled
ICSA-18-004-02 Advantech WebAccess that was published January 4, 2018, on the
NCCIC/ICS-CERT web site.

AFFECTED PRODUCTS

Advantech reports the vulnerabilities affect the following WebAccess products:

  o WebAccess versions prior to 8.3

IMPACT

Successful exploitation of these vulnerabilities could cause the device to
crash. An attacker may be able to further exploit this condition to remotely
execute arbitrary code or bypass authentication.

MITIGATION

Advantech has released WebAccess Version 8.3 to address the reported
vulnerabilities. Users can download the latest version of WebAccess at the
following location (registration required):

http://www.advantech.com/industrial-automation/webaccess/download

ICS-CERT recommends that users take defensive measures to minimize the risk of
exploitation of these vulnerabilities. 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.

ICS-CERT reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

ICS-CERT 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 ICS-CERT 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 ICS-CERT for
tracking and correlation against other incidents.

No known public exploits specifically target these vulnerabilities.

VULNERABILITY OVERVIEW

UNTRUSTED POINTER DEREFERENCE CWE-822

There are multiple vulnerabilities that may allow an attacker to cause the
program to use an invalid memory address, resulting in a program crash.

CVE-2017-16728 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).

STACK-BASED BUFFER OVERFLOW CWE-121

There are multiple instances of a vulnerability that allows too much data to be
written to a location on the stack.

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

IMPROPER LIMITATION OF A PATHNAME TO A RESTRICTED DIRECTORY ('PATH TRAVERSAL')
CWE-22

An attacker has access to files within the directory structure of the target
device.

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

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

WebAccess does not properly sanitize its inputs for SQL commands.

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

IMPROPER INPUT VALIDATION CWE-20

WebAccess allows some inputs that may cause the program to crash.

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

- --------- Begin Update A Part 1 of 1 --------

UNRESTRICTED UPLOAD OF FILE WITH DANGEROUS TYPE CWE-434

WebAccess allows a remote attacker to upload arbitrary files.

CVE-2017-16736 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:N
/I:L/A:N).

USE AFTER FREE CWE-416

WebAccess allows an unauthenticated attacker to specify an arbitrary address.

CVE-2017-16732 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:N/UI:N/S:U/C:N
/I:L/A:L).

- --------- End Update A Part 1 of 1 ----------

RESEARCHER

Steven Seeley of Offensive Security, Zhou Yu, rgod working with Trend Micro's
Zero Day Initiative, and Michael DePlante of Leahy Center for Digital
Investigation at Champlain College reported these vulnerabilities to ICS-CERT.

BACKGROUND

Critical Infrastructure Sectors: Critical Manufacturing, Energy, Water and
Wastewater Systems

Countries/Areas Deployed: East Asia, United States, Europe

Company Headquarters Location: Taiwan


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?

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

iQIVAwUBWlgfRYx+lLeg9Ub1AQib/Q//XnzEbbMhpnGCjhA7mIAVLCyuUn2pS+bv
9ggrOABvEG++Zlit9uMBWxU+3cjgsR4P3k7goYjWoaOlFzKEk8Eariolw/tdA0/z
37iSVB1thnzwxVRaM7S9LpxAfe3Uvw32wGBt15M6iz2mS0JpnTcCAe4m+I7S1SWa
4UhGms3XYxTN/6VEbdoFEKbtI5Q31N0Fqj6I/J/bINLf8MqtirO1IPgy8eEt/oJP
3OQcsJQIDYqs7Sr9n/AgTGaCyHQRDnlcgAdz1IXqGw0vaxjK1SWfkD3aU4A2PIId
h3Vx93cbLURqgnAF29Ar7SIjtYIDZYlCHex0TT3ymgY7dY+GQpRfZFSeJwua+5R0
dddrv98gUG0i4xjCvcC9qCXUjOtapphL3/wycjk9xJHwG8DqYU0Dc4xb0iPdqwlw
3HV3KcQc/9kTQYaC/j/76i572VMTTQl39nnFUxYUqjcRwuD96PwI+llXP2EASqj+
1bG6e4+7X6p0epNtVhNbkRq6AUYORMEz7dEzWGYESTyosQf1uya77nwfrLu3E1Vn
rv/1v6teGw4vpIDUCoPk384L3uMSSB6WBW8VbMuhjhbNZ7JDW8UIpDVancBvgB5k
BxuCC1Txy1lgCjnbUfka5GIcm8/ofhqPYWxtErVwcN3yF0Fa+JhVR0AOmbRq80Sn
6/sZaySVFng=
=oNev
-----END PGP SIGNATURE-----

« Back to bulletins