Back

Armis discloses critical vulnerability that allows remote takeover of Schneider Electric industrial controllers

New Modipwn vulnerability puts Schneider Electric PLCs in global organisations at risk.

 

Researchers at Armis, the unified asset visibility and security platform provider, have disclosed the discovery of an authentication bypass vulnerability in Schneider Electric’s Modicon programmable logic controllers (PLCs) that can lead to remote-code-execution (RCE). The vulnerability, dubbed Modipwn, allows for a complete takeover of impacted devices by leveraging the UMAS protocol, and impacts Modicon M340, M580 and other models from the Modicon series. Millions of devices use these PLCs and are now deemed to be at risk in what is considered to be a widescale vulnerability. Such controllers are used widely in manufacturing, building services, automation applications, energy utilities, HVAC systems, for example.  

How would an attacker use Modipwn? 

An attack that leverages Modipwn would begin with network access to a Modicon PLC. Through this access, the attacker can leverage undocumented commands in the UMAS protocol and leak a certain hash from the device’s memory. Using this hash, the attacker can take over the secure connection between the controller and its managing workstation to reconfigure the controller with a password-less configuration. This will allow the attacker to abuse additional undocumented commands that lead to remote-code-execution – a full takeover of the device. A demo can be viewed here.

This takeover can then be used to install malware on the controller that alters its operation and hide the existence of these alterations from the workstation that manages this controller. 

The CVE for this vulnerability is CVE-2021-22779. 

Sophisticated attacks such as this have been seen in the wild before; the Triton malware, for example, was spotted targeting safety controllers by Schneider Electric used in petrochemical plants in Saudi Arabia. Attacks that alter operations of industrial controllers are a threat to both business continuity and safety, and attacks that hide from monitoring solutions can be extremely difficult to detect. 

“Armis and Schneider Electric have worked together to ensure the proper security mitigations are being provided. We urge all affected organisations to take action now,” said Ben Seri, Armis. “The trouble with these legacy devices found in OT environments is that historically, they have evolved over unencrypted protocols. It will take time to address these weak underlying protocols. In the meantime, organisations operating in these environments should ensure that they have visibility over these devices to see where their points of exposure lie. This is crucial to preventing attackers from being able to control their systems – or even hold them to ransom.”