Schneider Electric Modicon M340 PLC (Update A)
1. EXECUTIVE SUMMARY
CVSS v3 7.5
- ATTENTION: Remotely exploitable/low-skill level to exploit
- Vendor: Schneider Electric
- Equipment: Modicon M340 PLC
- Vulnerability: Resource Exhaustion
2. UPDATE INFORMATION
This updated advisory is a follow-up to the original advisory titled ICSA-17-054-03 Schneider Electric Modicon M340 PLC that was published February 23, 2017, on the NCCIC/ICS-CERT website.
3. RISK EVALUATION
Successful exploitation of this vulnerability may render the device unresponsive requiring a physical reset of the PLC.
4. TECHNICAL DETAILS
4.1 AFFECTED PRODUCTS
Schneider Electric reports the vulnerability affects the following products:
- M340 CPUs with firmware prior to v2.9
- M580 CPUs with firmware prior to v2.3
- Quantum CPUs with firmware prior to v3.52
- Premium CPUs all versions
- M1E CPUs all versions
4.2 VULNERABILITY OVERVIEW
A stack-based buffer overflow vulnerability has been identified, which may allow remote code execution.
- CRITICAL INFRASTRUCTURE SECTORS: Defense Industrial Base; Energy; Government Facilities; Nuclear Reactors, Materials, and Waste; Transportation Systems; Water and Wastewater Systems
- COUNTRIES/AREAS DEPLOYED: United States, China, Russia, and India
- COMPANY HEADQUARTERS LOCATION: France
Jos Wetzel of Midnight Blue, Younes Dragoni of Nozomi Networks, Ezequiel Fernandez and Luis Francisco Martin Liras of SUPPRESS group at the University of Léon, as well as Zhang Xiaoming, Zhang Jiawei, Sun Zhonghao and Luo Bing from CNCERT/CC reported the issue to Schneider Electric.
Schneider Electric has released fixes for the vulnerability that can be downloaded from:
- M340: https://www.schneider-electric.fr/fr/search/V2.9?filters=CAT_PRD_DOC_FIRMUPD
- M580: https://www.schneider-electric.us/en/product-range/62098-modicon-m580-paccontroller/
- Quantum: https://www.schneider-electric.com/en/download/document/OFS_3_50_2905/
Schneider Electric recommends the following workarounds and mitigations for Premium and M1E devices:
- Set up a firewall blocking all remote/external access to Port 502
For more information Schneider Electric has released a security notification that can be found at: https://www.schneider-electric.com/en/download/document/SEVD-2017-048-02/
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 on the ICS-CERT website 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 NCCIC for tracking and correlation against other incidents.
NCCIC also recommends that users take the following measures to protect themselves from social engineering attacks:
- Do not click web links or open unsolicited attachments in email messages.
- Refer to Recognizing and Avoiding Email Scams for more information on avoiding email scams.
- Refer to Avoiding Social Engineering and Phishing Attacks for more information on social engineering attacks.
No known public exploits specifically target this vulnerability.