Schneider Electric Modicon M580 UMAS write system bits and blocks denial-of-service vulnerability
Two specially crafted UMAS write system bits and blocks commands, each followed by a read PLC info command, can push the Modicon M580 controller into a non-recoverable fault state. An unauthenticated attacker can then stop all remote communications and process logic until the device is physically power cycled.
Originally disclosed on Cisco Talos
An exploitable denial-of-service vulnerability exists in the UMAS write system bits and blocks functionality of the Schneider Electric Modicon M580 Programmable Automation Controller, firmware version SV2.70. A specially crafted set of UMAS commands can cause the device to enter a non-recoverable fault state…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the UMAS write system bits and blocks handler does not validate the supplied data and offsets, so a crafted pair of writes triggers an uncaught exception that halts the CPU.
Impact
The CPU enters an error mode where all remote communications stop and process logic halts, and the device needs a physical power cycle to recover.
What the attacker needed
Network access to the controller; no authentication required
The fix
The vendor patched the issue in May 2019.
How it was found
- Connect to the controller on its Modbus TCP port.
- Send a read PLC info command and take the CRC value from the response.
- Send a first write system bits and blocks command using that CRC and crafted data.
- Send another read PLC info command.
- Send a second write system bits and blocks command with different data.
- Send a final read PLC info command; the device enters the fault state.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A programmable automation controller is an industrial computer that runs machinery. This one accepts commands over the network without asking for a password. By sending a particular pair of commands in the right order, someone on the network can crash it so badly that it has to be switched off and on by hand.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.