Socomec DIRIS Digiware M-70 Modbus RTU over TCP factory reset denial of service vulnerability
The Modbus RTU over TCP service on the Socomec DIRIS Digiware M-70 accepts an unauthenticated write to a specific register that triggers a factory reset. This causes a denial of service and restores the documented default passwords for the WEBVIEW-M webserver, letting an attacker log in with those defaults.
Originally disclosed on Cisco Talos
A denial of service vulnerability exists in the Modbus RTU over TCP functionality of Socomec DIRIS Digiware M-70 1.6.9. A specially crafted network packet can lead to denial of service and weaken credentials resulting in default documented credentials being applied to the device.
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 RTU over TCP service performs no authentication or authorisation check before accepting a write to the register that controls the factory reset.
Impact
The device is factory reset, causing a denial of service, and the WEBVIEW-M webserver reverts to documented default passwords, which could give an attacker access to user accounts.
What the attacker needed
Network access to port 503; no authentication needed
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, which blocks writes on both ports 502 and 503.
How it was found
- Send a Modbus RTU over TCP message to port 503 on the device.
- Use the Write Single Register function code (6).
- Write the value 229 to register number 57856, which triggers the factory reset.
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 for monitoring electrical power, and it listens for a simple industrial control protocol on a network port. That protocol lets anyone send a command to change a setting without logging in first. One particular setting wipes the device back to factory state, which knocks it offline and puts the original default passwords back on its web interface.
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.