Schneider Electric Web Server on Modicon M340 Buffer Copy Without Checking Size of Input (CVE-2020-7564)

high Tenable OT Security Plugin ID 500546


The remote OT asset is affected by a vulnerability.


A CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability exists in the Web Server on Modicon M340, Modicon Quantum and Modicon Premium Legacy offers and their Communication Modules (see notification for details) which could cause write access and the execution of commands when uploading a specially crafted file on the controller over FTP.

This plugin only works with Tenable.ot.
Please visit for more information.


The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original can be found at

Schneider Electric is establishing a remediation plan to fix these vulnerabilities in current and future versions of Modicon PAC controllers. Schneider Electric will update SEVD-2020-315-01 when the remediation is available. Until then, users should immediately apply the following mitigations to reduce the risk of exploit:

- Disable FTP via UnityPro / Ecostruxure Control Expert. This is disabled by default when a new application is created.
- Configure the access control list via Ecostruxure Control Expert programming tool.
- Set up network segmentation and implement a firewall to block all unauthorized access to Port 21/TCP.

Schneider Electric’s Modicon Premium and Modicon Quantum controllers have reached their end of life and are no longer commercially available. They have been replaced by the Modicon M580 ePAC controller.

For further information please refer to Modicon Controllers Platform - CyberSecurity, Reference Manual and SEVD-2020-315-01

See Also

Plugin Details

Severity: High

ID: 500546

Version: 1.14

Type: remote

Family: Tenable.ot

Published: 2/7/2022

Updated: 4/11/2024

Supported Sensors: Tenable OT Security

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2020-7564


Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:schneider-electric:modicon_m340_bmx_noc_0401_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_noe_0100_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_noe_0100h_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_noe_0110_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_noe_0110h_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_nor_0200h_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_p34-2010_firmware, cpe:/o:schneider-electric:modicon_m340_bmx_p34-2030_firmware, cpe:/o:schneider-electric:modicon_quantum_140cpu65150_firmware, cpe:/o:schneider-electric:modicon_quantum_140cpu65150c_firmware, cpe:/o:schneider-electric:modicon_quantum_140cpu65160_firmware, cpe:/o:schneider-electric:modicon_quantum_140cpu65160c_firmware, cpe:/o:schneider-electric:modicon_quantum_140noc78100_firmware, cpe:/o:schneider-electric:modicon_quantum_140noe77101_firmware, cpe:/o:schneider-electric:modicon_quantum_140noe77111_firmware, cpe:/o:schneider-electric:modicon_tsxety4103_firmware, cpe:/o:schneider-electric:modicon_tsxety5103_firmware, cpe:/o:schneider-electric:modicon_tsxp574634_firmware, cpe:/o:schneider-electric:modicon_tsxp575634_firmware, cpe:/o:schneider-electric:modicon_tsxp576634_firmware

Required KB Items: Tenable.ot/Schneider

Exploit Ease: No known exploits are available

Patch Publication Date: 11/18/2020

Vulnerability Publication Date: 11/18/2020

Reference Information

CVE: CVE-2020-7564

CWE: 120