ESB-2018.0457 - [Appliance] WAGO PFC200 Series: Execute arbitrary code/commands - Remote/unauthenticated 2018-02-15

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.0457
                            WAGO PFC200 Series
                             15 February 2018

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

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

Product:           WAGO PFC200 Series
Publisher:         ICS-Cert
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-5459  

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

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

This advisory contains mitigation details for an improper authentication 
vulnerability in the WAGO PFC200 Series.

Advisory (ICSA-18-044-01)
WAGO PFC200 Series
Original release date: February 13, 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 9.8

ATTENTION: Remotely exploitable/low skill level to exploit. Public exploits are 
available.

Vendor: WAGO

Equipment: PFC200 Series

Vulnerability: Improper Authentication

UPDATE INFORMATION

This advisory is a follow-up to the alert titled ICS-ALERT-17-341-01 WAGO PFC200 
that was published December 7, 2017, on the NCCIC/ICS-CERT website.

AFFECTED PRODUCTS

The following 3S CoDeSys Runtime versions of the PFC200 Series are affected:

    CoDeSys Version 2.3.X
    CoDeSys Version 2.4.X

The affected CoDeSys Runtime version is part of WAGO PFC200 Firmware prior to 
02.07.07(10), affected PFC200 devices:

    750-8202,
    750-8202/025-000,
    750-8202/025-001,
    750-8202/025-002,
    750-8202/040-001,
    750-8203,
    750-8203/025-000,
    750-8204,
    750-8204/025-000,
    750-8206,
    750-8206/025-000,
    750-8206/025-001,
    750-8207,
    750-8207/025-000,
    750-8207/025-001,
    750-8208, and
    750-8208/025-000

IMPACT

Successful exploitation of this vulnerability could allow a remote attacker 
unauthorized access to the PLC to perform operations on the file system without 
authentication.

MITIGATION

WAGO released a security patch with FW11 available at:

http://global.wago.com/media/2_products/security/Sec-Advisory_CoDeSys.pdf 
(link is external)

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

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

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.

VULNERABILITY OVERVIEW

IMPROPER AUTHENTICATION CWE-287

An attacker can execute different unauthenticated remote operations because of the 
CoDeSys Runtime application, which is available via network by default on Port 2455. 
An attacker could execute some unauthenticated commands such as reading, writing, 
or deleting arbitrary files, or manipulate the PLC application during runtime by 
sending specially-crafted TCP packets to Port 2455.

CVE-2018-5459 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).

RESEARCHER

Reid Wightman of CODESYS discovered the vulnerability in the CoDeSys Runtime 
application. T. Weber of SEC Consult reported this vulnerability to WAGO.

BACKGROUND

Critical Infrastructure Sectors: Commercial Facilities, Critical Manufacturing, 
Energy, and Transportation Systems

Countries/Areas Deployed: Worldwide

Company Headquarters Location: United States, Germany, Switzerland, Poland, China, 
and India

Contact Information

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

Email: NCCICCUSTOMERSERVICE@hq.dhs.gov (link sends e-mail)
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

iQIVAwUBWoTkEYx+lLeg9Ub1AQjcUg/+LhH03XvhqAhgOeSKUWGiyugSl4iO//nY
aVMqQWYLgj3MVHz+2CZzi/FcomKsgMd+Fb7faKLt2s4mbB9u+2avzAPuz1cZ08ZQ
CpWLYxM0pdBuP/74Vh2pkhmjYIvw1w9bQQ1M9TjGCrvK5DpulNst7huWqieb1GY8
F9A7qmpLLbjYGUShTUqfBKAZCahZ3K5hzxpXGDywvI4Q0rKHPoDkuYijhWCiwFP5
KRXrty7Mm/vBugKy64vJmZ2B5gZKLFMDaBiJqAcMBce9rR349LzTc6QjBH0+Sm8v
F3qs3zWofoxI6tq9z/ho+sv2JhiLubghtBIaGwLC/p04koD0g/PGuVzQqj1OYJlr
Qlfe0IcGgBUjBb5C98jTu971YPjkz/yZjlXB8I4QN6QNgUXd0q3Hf3n1UGxTFY7l
5hlBCiO1d8ovRONumOzJ+ufWtAOt3F2NgzlbK3m25nJkiroA5UkmmDyCg+8CxsUQ
bdoDa5QauzMvl9L6TyoiYEiVQy4MO7L5LE06UzNe5zqfOFsfUSjnzrGI3s5V4BBP
qgfZCEXXjHCT4FQ74p0+BKLYmnHBF84e/eCvM9XgG4E9RxPyEmeeI+y9oAQAu8p0
eJg/jNQe6MEY56xozA4MIxZ21Wj8XjzAvHbcy8ho2SOFT6AZEMdu4mre5rIzUMeL
g1cdP1bUp14=
=BBRH
-----END PGP SIGNATURE-----

« Back to bulletins