Schneider Electric is creating a mitigation plan to handle out-of-bounds read, out-of-bounds write, and classic buffer overflow vulnerabilities in its Web Server on Modicon M340, Modicon Quantum and Modicon Premium Legacy, according to a report with CISA.
Successful exploitation of these remotely exploitable vulnerabilities, discovered by Kai Wang of Fortinet’s FortiGuard Labs, may allow write access and the execution of commands, which could result in data corruption or a web server crash.
Schneider Electric reports these vulnerabilities affect the following Modicon products:
M340 CPUs
- BMX P34x, all versions
M340 Communication Ethernet modules
- BMX NOE 0100 (H), all versions
- BMX NOE 0110 (H), all versions
- BMX NOC 0401, all versions
- BMX NOR 0200H, all versions
Premium processors with integrated Ethernet COPRO
- TSXP574634, TSXP575634, TSXP576634, all versions
Premium communication modules
- TSXETY4103, all versions
- TSXETY5103, all versions
Quantum processors with integrated Ethernet COPRO
- 140CPU65xxxxx, all versions
Quantum communication modules
- 140NOE771x1, all versions
- 140NOC78x00, all versions
- 140NOC77101, all versions
In one of the issues, an out-of-bounds read vulnerability exists that could cause a segmentation fault or a buffer overflow when uploading a specially crafted file on the controller over FTP.
CVE-2020-7562 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 6.3.
In addition, an out-of-bounds write vulnerability exists which could cause corruption of data, a crash, or code execution when uploading a specially crafted file on the controller over FTP.
CVE-2020-7563 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 6.3.
Also, a classic buffer overflow vulnerability exists which could cause write access and the execution of commands when uploading a specially crafted file on the controller over FTP.
CVE-2020-7564 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 6.3.
The products see action in commercial facilities, energy, food and agriculture, government facilities, transportation systems, and water and wastewater systems sectors. They also see action on a global basis.
No known public exploits specifically target these vulnerabilities. However, an attacker with low skill level could leverage the vulnerabilities.
Schneider Electric is establishing a remediation plan to fix these vulnerabilities in current and future versions of Modicon PAC controllers. Schneider Electric will update its security notification when the remediation is available. In the meantime, 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 refer to Modicon Controllers Platform – CyberSecurity, Reference Manual  and SEVD-2020-315-01.

