A CWE-284: Improper Access Control vulnerability exists in all versions of the Modicon M580, Modicon M340, Modicon Quantum, and Modicon Premium which could cause a remote code execution by overwriting configuration settings of the controller over Modbus.
https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0771
https://www.schneider-electric.com/en/download/document/SEVD-2019-134-11/