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

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

                               ESB-2018.1184
          Advisory (ICSA-18-107-05) - Rockwell Automation Stratix
                    Industrial Managed Ethernet Switch
                               18 April 2018

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

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

Product:           Rockwell Automation Stratix Industrial Managed Ethernet Switch
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Administrator Compromise -- Remote/Unauthenticated
                   Denial of Service        -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2018-0175 CVE-2018-0174 CVE-2018-0173
                   CVE-2018-0172 CVE-2018-0171 CVE-2018-0167
                   CVE-2018-0156 CVE-2018-0155 

Reference:         ESB-2018.1122
                   ESB-2018.0899.4
                   ESB-2018.0898

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-18-107-05

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

Advisory (ICSA-18-107-05)
Rockwell Automation Stratix Industrial Managed Ethernet Switch


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: Exploitable remotely/low skill level to exploit.  

    Vendor: Rockwell Automation 

    Equipment: Allen-Bradley Stratix Industrial Managed Ethernet Switch 

    Vulnerabilities: Improper Input Validation, Resource Management Errors, 
    7PK - Errors, Improper Restriction of Operations within the Bounds of a 
    Memory Buffer, Use of Externally-Controlled Format String.


2. RISK EVALUATION

Successful exploitation of these vulnerabilities could result in loss of
availability, confidentiality, and/or integrity caused by memory exhaustion,
module restart, information corruption, and/or information exposure.


3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of Allen-Bradley Stratix Industrial Managed Ethernet
Switch use a vulnerable version of Cisco IOS or IOS XE:

    Allen-Bradley Stratix 8300 Industrial Managed Ethernet Switches, versions
    15.2(4a)EA5 and earlier.

3.2 VULNERABILITY OVERVIEW

3.2.1   IMPROPER INPUT VALIDATION CWE-20

A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco
IOS XE Software could allow an unauthenticated remote attacker to trigger a
reload of an affected device, resulting in a denial of service (DoS) condition,
or to execute arbitrary code on an affected device.

The vulnerability is due to improper validation of packet data. An attacker
could exploit this vulnerability by sending a crafted Smart Install message to
an affected device on TCP port 4786. A successful exploit could allow the
attacker to cause a buffer overflow on the affected device.

CVE-2018-0171 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   RESOURCE MANAGEMENT ERRORS CWE-399

A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco
IOS XE Software could allow an unauthenticated remote attacker to trigger a
reload of an affected device, resulting in a DoS condition.

The vulnerability is due to improper validation of packet data. An attacker
could exploit this vulnerability by sending a crafted packet to an affected
device on TCP port 4786.

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

3.2.37  PK - ERRORS CWE-388

A vulnerability in the Bidirectional Forwarding Detection (BFD) offload
implementation could allow an unauthenticated remote attacker to cause a crash
of the iosd process, causing a DoS condition.

The vulnerability is due to insufficient error handling when the BFD header in
a BFD packet is incomplete. An attacker could exploit this vulnerability by
sending a crafted BFD message to or across an affected switch. A successful
exploit could allow the attacker to trigger a reload of the system.

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

3.2.4   IMPROPER INPUT VALIDATION CWE-20

A vulnerability in the DHCP option 82 encapsulation functionality of Cisco IOS
Software and Cisco IOS XE Software could allow an unauthenticated remote
attacker to cause an affected device to reload, resulting in a DoS condition.

The vulnerability exists because the affected software performs incomplete
input validation of option 82 information that it receives in DHCP Version 4
(DHCPv4) packets from DHCP relay agents. An attacker could exploit this
vulnerability by sending a crafted DHCPv4 packet to an affected device. A
successful exploit could allow the attacker to cause the affected device to
reload, resulting in a DoS condition.

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

3.2.5   IMPROPER INPUT VALIDATION CWE-20

A vulnerability in the DHCP option 82 encapsulation functionality of Cisco IOS
Software and Cisco IOS XE Software could allow an unauthenticated remote
attacker to cause an affected device to reload, resulting in a DoS condition.

The vulnerability exists because the affected software performs incomplete
input validation of option 82 information that it receives in DHCP Version 4
(DHCPv4) packets from DHCP relay agents. An attacker could exploit this
vulnerability by sending a crafted DHCPv4 packet to an affected device. A
successful exploit could allow the attacker to cause a heap overflow condition
on the affected device, which will cause the device to reload and result in a
DoS condition.

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

3.2.6   IMPROPER INPUT VALIDATION CWE-20

A vulnerability in the Cisco IOS Software and Cisco IOS XE Software function
that restores encapsulated option 82 information in DHCP Version 4 (DHCPv4)
packets could allow an unauthenticated remote attacker to cause an affected
device to reload, resulting in a DoS condition.

The vulnerability exists because the affected software performs incomplete
input validation of encapsulated option 82 information that it receives in
DHCPOFFER messages from DHCPv4 servers. An attacker could exploit this
vulnerability by sending a crafted DHCPv4 packet to an affected device, which
the device would then forward to a DHCPv4 server. When the affected software
processes the option 82 information that is encapsulated in the response from
the server, an error could occur. A successful exploit could allow the attacker
to cause the affected device to reload, resulting in a DoS condition.

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

3.2.7   IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER
CWE-119

A buffer overflow vulnerability in the LLDP subsystem of Cisco IOS Software,
Cisco IOS XE Software, and Cisco IOS XR Software could allow an adjacent,
unauthenticated attacker to cause a DoS condition or execute arbitrary code
with elevated privileges.

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

3.2.8   USE OF EXTERNALLY-CONTROLLED FORMAT STRING CWE-134

A format string vulnerability in the LLDP subsystem of Cisco IOS Software and
Cisco IOS XE Software could allow an adjacent, unauthenticated attacker to
cause a DoS condition or execute arbitrary code with elevated privileges.

CVE-2018-0175 has been assigned to this vulnerability. A CVSS v3 base score of
8.8 has been calculated; the CVSS vector string is
(AV:A/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: Worldwide
    - Company Headquarters Location: Wisconsin, USA

3.4 RESEARCHER

Rockwell Automation reported these vulnerabilities to NCCIC from the
semi-annual Cisco IOS and IOS XE Software Security Advisory Bundled
Publication.


4. MITIGATIONS

Rockwell Automation has released the following knowledge base article 1073315:

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1073315/ (login
required)

Cisco has released new Snort Rules at
https://www.cisco.com/web/software/286271056/117258/sf-rules-2018-03-29-new.html
to help address the following vulnerabilities:

    CVE-2018-0171 - Snort Rule 46096 and 46097 CVE-2018-0156 - Snort Rule 41725
    CVE-2018-0174 - Snort Rule 46120 CVE-2018-0172 - Snort Rule 46104
    CVE-2018-0173 - Snort Rule 46119

Cisco adds the following notes for the Smart Install vulnerabilities
(CVE-2018-0171 and CVE-2018-0156):

    - Smart Install is turned off by express setup; however, upgraded switches
      but not re-setup may have it enabled.
    - Disable the Smart Install feature with the no vstack configuration
      command if it is not needed or once setup is complete.
    - Users who do use the feature--and need to leave it enabled--can use ACLs to
      block incoming traffic on TCP port 4786.

CVE-2018-0155: Administrators who do not use the BFD feature in their
environments can disable the BFD feature by using the feature bfd disable
command in global configuration mode to prevent exploitation of this
vulnerability. Administrators who do use the BFD feature can implement Control
Plane Policing (CoPP) to allow processing of BFD packets from known BFD peers
only and drop all other BFD traffic to limit exposure.

CVE-2018-0167 and CVE-2018-0175 have no specific mitigations in place. See the
following Cisco advisory for more details:

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180328-lldp

Rockwell Automation also recommends that users implement the following general
security guidelines:

    - Help minimize network exposure for all control system devices and/or
      systems, and confirm that they are not accessible from the Internet.
    - Locate control system networks and 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 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 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.

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?

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

iQIVAwUBWtbIi4x+lLeg9Ub1AQgwLxAAlel6CJlg7l6eS56YDX37MwutkQd/dpHy
acfWVJUi9C5wv7R81UXZC8j1O4FHZpvLbKXSZlWmEf7jKklAuu5R8ovbvAyK28nH
W/W+hP8u8vVDY6hzqWRm3CEJmvgz5chr27n/bc/Mq+sc5dhCNAX+sC45VQsYzbvH
lrA7jAfhFNbsES1QUkbzgid0FuNw5RMOvirSWKz3LTtMqPSEW4eFUn5YSW+BGCwP
9C+gwSfjU9MSY12s/OTmfXZ4ilU8PwqioOVVnWu1C5rXqH0FKICwutdz/IIB48R4
PQfYER86kaBip/SzmH2LBifrp3Q1uVQBC9JSHumfRiV+06vmIEc3Y0wHUNIZGRhh
mbVgiHYoi9puFeXNkBzkKAwEwXLioXKs+3TeJEPlKIwUYY2iZQlI72SRB0E634bk
2YYjKlCfm9RZtOA+XlUvC8d6ukAbQSz0RKhB4ZvMhRAlXO4q2hRTa0BULLrQSCW6
PhdZSNNKi9ke+B4T47WiWodNS5HVSykGZS1dGu1XurJYncncZBEU6mHI4waYvqNV
JF7nIFZvuoPVgmqfjaYS3maKvtRW9Nsa/fsxg1A+aosADbiuOosEMGGeYCAeb1NS
KuOQiCtUzM9Ve8xdvS2FiH8BdIKl+2AZgJcCUe0vr/ycQ8eEfDavv8tiYqtTbgA5
vUhJ9UsV+VQ=
=oDlJ
-----END PGP SIGNATURE-----