Socomec DIRIS Digiware M-70 Modbus TCP and Modbus RTU over TCP denial of service vulnerability
The Socomec DIRIS Digiware M-70 gateway accepts unauthenticated Modbus TCP and Modbus RTU over TCP write requests that change its configured Modbus address. An attacker could use this to break communication between the gateway and all connected devices, causing a denial of service.
Originally disclosed on Cisco Talos
A denial of service vulnerability exists in the Modbus TCP and Modbus RTU over TCP functionality of Socomec DIRIS Digiware M-70 1.6.9. A specially crafted series of network requests can lead to a denial of service.
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 Modbus write functions that change the gateway's address are exposed without any authentication or authorisation check.
Impact
Communications over Modbus TCP, Modbus RTU over TCP and Modbus RTU are disrupted, and the gateway stops responding or returns an error to later requests; the text notes that disabling Modbus over Ethernet writing in the Cyber Security profile mitigates it.
What the attacker needed
Network access to ports 502 or 503; no authentication required
The fix
The vendor released a patch, and as a workaround the Cyber Security user profile in WEBVIEW-M can disable Modbus over Ethernet writing.
How it was found
- Send a Modbus TCP message to port 502 using the Write Single Register function to register 58112 with a value of 1000, signalling a configuration change.
- Send a message to register 29440 with a value corresponding to the new Modbus address.
- Send a message to register 57856 with a value of 161 to commit the change.
- The device is then in a denial-of-service state.
- Alternatively, send a single message to register 4352 with the value 1, which sets the Modbus address to 15.
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.
This device is a gateway that sits between power monitoring equipment and the software that reads it, and it speaks a simple industrial protocol called Modbus. The gateway lets anyone on the network write to its settings without logging in, so a stranger can change the address it uses to talk to other devices. Once that address is wrong, the gateway and the equipment can no longer find each other, so monitoring stops working.
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.