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

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

                               ESB-2020.0842
                       ICS Advisory (ICSA-20-065-01)
                               9 March 2020

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

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

Product:           Wago products
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
                   Unauthorised Access             -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2019-5082 CVE-2019-5081 CVE-2019-5080
                   CVE-2019-5079 CVE-2019-5078 CVE-2019-5077
                   CVE-2019-5075 CVE-2019-5074 CVE-2019-5073

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

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

ICS Advisory (ICSA-20-065-01)

WAGO I/O-CHECK

Original release date: March 05, 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 10.0
  o ATTENTION: Exploitable remotely/low skill level to exploit
  o Vendor: WAGO
  o Equipment: I/O-CHECK Series PFC100 and Series PFC200
  o Vulnerabilities: Information Exposure Through Sent Data, Buffer Access with
    Incorrect Length Value, Missing Authentication for Critical Function,
    Classic Buffer Overflow

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
change settings, delete the application, run remote code, cause a system crash,
cause a denial-of-service condition, revert to factory settings, and overwrite
MAC addresses.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of I/O-CHECK software are affected by the listed
vulnerabilities:

  o Series PFC100 (750-81xx/xxx-xxx)
  o Series PFC200 (750-82xx/xxx-xxx)
  o 750-852, 750-831/xxx-xxx, 750-881, 750-880/xxx-xxx, 750-889
  o 750-823, 750-832/xxx-xxx, 750-862, 750-890/xxx-xxx, 750-891

3.2 VULNERABILITY OVERVIEW

3.2.1 INFORMATION EXPOSURE THROUGH SENT DATA CWE-201

A specially crafted packet could cause the server to send back packets
containing data from the stack.

CVE-2019-5073 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 BUFFER ACCESS WITH INCORRECT LENGTH VALUE CWE-805

The affected products are vulnerable to a buffer overflow condition due to the
lack of input validation, which may allow remote execution of arbitrary code.

CVE-2019-5074 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.3 BUFFER ACCESS WITH INCORRECT LENGTH VALUE CWE-805

The affected products are vulnerable to a buffer overflow condition due to the
lack of input validation, which may allow remote execution of arbitrary code.

CVE-2019-5075 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 MISSING AUTHENTICATION FOR CRITICAL FUNCTION CWE-306

An attacker can send an unauthenticated packet that will overwrite the MAC
address stored persistently on the device. This can cause the device to enter
an error state where it ceases all network communications.

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

3.2.5 MISSING AUTHENTICATION FOR CRITICAL FUNCTION CWE-306

An attacker can send an unauthenticated packet that will erase system data on
the device. This may cause the device to enter an error state where it ceases
all network communications.

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

3.2.6 BUFFER COPY WITHOUT CHECKING SIZE OF INPUT ('CLASSIC BUFFER OVERFLOW')
CWE-120

The affected products are vulnerable to a buffer overflow condition due to the
lack of input validation, which may allow remote execution of arbitrary code.

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

3.2.7 MISSING AUTHENTICATION FOR CRITICAL FUNCTION CWE-306

An attacker can send unauthenticated packets that will cause the device to
restore factory settings. This may cause the device to enter an error state
where it ceases all network communications.

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

3.2.8 BUFFER COPY WITHOUT CHECKING SIZE OF INPUT ('CLASSIC BUFFER OVERFLOW')
CWE-120

Lack of input validation may allow an attacker to trigger a buffer overflow
condition by sending unauthenticated packets to the device, which may allow
remote execution of arbitrary code.

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

3.2.9 BUFFER COPY WITHOUT CHECKING SIZE OF INPUT ('CLASSIC BUFFER OVERFLOW')
CWE-120

The affected products are vulnerable to a buffer overflow condition due to the
lack of input validation, which may allow remote execution of arbitrary code.

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

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS : Commercial Facilities, Energy,
    Manufacturing, Transportation Systems
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Kelly Leuschner of Cisco Talos coordinated these vulnerabilities with CERT@VDE.

4. MITIGATIONS

WAGO recommends updating to the latest firmware, FW 15 or above.
WAGO has identified the following specific workarounds and mitigations users
can apply to reduce the risk:

  o The I/O-Check service protocol is only needed during installation and
    commissioning, not during normal operations.
  o It is highly recommended to disable IP Port 6626 after commissioning.
  o Disable unused TCP/UDP-ports.
  o Restrict network access to the device.
  o Do not directly connect the device to the Internet.

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.

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

iQIVAwUBXmWuaWaOgq3Tt24GAQiwuxAAoY0QqOWqckM8fBTf39HXgEugaajyjyeT
ZSm7HU+qBYzCjmDSObziMAuIeOZbGaFHPcqFfVPcaq5WdH0wK9lyaSB7sROOxP03
hytRRpRtUJkPdZ0OC74gGwywEafYhjpz1vKOXtiXzFwnQWdNmY6Ml4ArvESPiXmo
OJibNATZ16Z/TY2fQefFbdOzan6TAiILYuv8zUpCabymVUBtexZGYA4nACDwr/FB
81G4JEelNx1K8JM2mli++ypt/EKdnsBfFL5rsCckUnbXZZ/jryNJi75+TF6lIEQb
Q2I9fpH1F81JIi2oB3hrqXKz9yjHasADV3lZRQL5IPK+Co4+36PBFm8DWlkDzmCX
s7mp45kabuctREu1TfwRtALYtSCGBH0Yq/7f7bqPd+eBsyMcGKtkyC0M0JkoH9Dg
fHHo/UYQmOcYOmsbhfhB6TQhZyrMZpzqs58F2fP443mQXTz9SCoCBeeIMICeY+wi
L5dI177j+lZDQDgx13XoGnm66xmay5pQ/V1UpgFXjOL+fjJC1YCFSiKc3EkOQPTF
d7gBK57rVZcU0ssqq/o7efRj4284pWyNpQicgv/1jgQKaHs3McjedTRXB4gPdgOr
gfV1FDr/ra3cVCaeKSlQ6jCNvkN6awjUbARBjnlwljPxzK2VbUoJkTJoD/IlBvk8
vHLTNSIpmzo=
=tZ43
-----END PGP SIGNATURE-----