Socomec DIRIS Digiware M-70 Modbus RTU over TCP reboot denial of service vulnerability
The Socomec DIRIS Digiware M-70 gateway accepts unauthenticated Modbus RTU over TCP messages on port 503, and a single write to a particular register triggers a device reboot. An attacker on the network could therefore repeatedly restart the device and cause a denial of service.
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.
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.
Context
The Socomec DIRIS Digiware M-70 is a gateway for industrial power monitoring systems. It supplies power and provides the communication connection to the devices in an electrical installation, and it also runs a webserver called WEBVIEW-M for remote visualisation and analysis of measurements and consumption. The M-50/M-70 family shares this role.
Alongside the webserver, the M-70 exposes a Modbus RTU over TCP service. That service is used by Socomec's configuration software, Easy Config System. Modbus RTU over TCP carries Modbus RTU frames over a TCP connection, and the gateway listens for it on port 503. The same device also speaks ModbusTCP on port 502.
The advisory covers a denial of service in that Modbus RTU over TCP functionality in version 1.6.9: a single specially crafted, unauthenticated network packet can reboot the device.
Setup
No account, role or tooling is described. The only precondition the report gives is network reachability of the Modbus RTU over TCP service on port 503 of a Socomec DIRIS Digiware M-70 running 1.6.9, which is the version Talos tested or verified as vulnerable and which the vendor confirmed.
Finding it
The report does not describe how the service was discovered or how the register was identified. What it states is the result: the Modbus RTU over TCP service accepts a write that triggers the device's reboot mechanism, and it does so without authentication. That missing authentication is reflected in the weakness classification, CWE-306, Missing Authentication for Critical Function.
Exploitation
Step 1: Reach the Modbus RTU over TCP service
Connect to the device on port 503, the port used by the Modbus RTU over TCP service that Easy Config System talks to.
Step 2: Send a Write Single Register request
Send a Modbus RTU over TCP message using function code 6, Write Single Register, targeting register number 57856 and writing the value 178.
Function code 6 is the standard Modbus write of one holding register. The register number selects the target register inside the device, and the value 178 is the specific value that drives the reboot mechanism. The report does not include the raw frame bytes, the unit identifier or the transaction framing, so the exact wire encoding is not reproduced here.
Step 3: Observe the denial of service
The device reboots. Because the request needs no authentication, anyone who can send a packet to port 503 can trigger it, and the reboot takes the gateway out of service for the duration.
Root cause
The critical function, a register write that reboots the device, is reachable over Modbus RTU over TCP without any authentication. The report classifies this as CWE-306, Missing Authentication for Critical Function. The design assumes that access to the Modbus service is controlled by the network, so the protocol itself carries no check on who may write register 57856.
The report does not describe any code-level defect beyond this, and it does not say which defence, if any, was present and failed. The mitigation implies that a write restriction exists in the product and is configurable: the Cyber Security user profile in WEBVIEW-M can disable Modbus over Ethernet Writing, which covers both ModbusTCP on port 502 and Modbus RTU over TCP on port 503. Whether that restriction was enabled by default in 1.6.9 is not stated.
Impact
The CVSSv3 score is 8.6, with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H. Reading the vector: the attack is network-reachable, needs low complexity, no privileges and no user interaction, and the scope changes, meaning the vulnerable component affects resources beyond its own security authority. Confidentiality and integrity are not affected; availability is high.
In practice, an unauthenticated attacker who can send a packet to port 503 can remotely reboot the gateway, producing a denial of service. Because the gateway is the access point for the power monitoring installation, the reboot interrupts that monitoring role for as long as the device is down.
Fix
The timeline lists a vendor patch release on 2025-11-03, and the vendor advisory is linked in the report. The mitigation given is configuration rather than code: using the Cyber Security user profile in WEBVIEW-M, disable Modbus over Ethernet Writing. That single change disables writing over both ModbusTCP (port 502) and Modbus RTU over TCP (port 503), which removes the path used to write register 57856 and trigger the reboot.
Variants to test
- Other Socomec DIRIS Digiware models in the same family, such as the M-50, on the same Modbus RTU over TCP service. A positive result is a reboot after a single unauthenticated Write Single Register request.
- Other register and value pairs on the same device. A positive result is any write that changes device state, such as a restart, a mode change or a configuration change, without authentication.
- The ModbusTCP service on port 502. A positive result is the same register write succeeding there, which the mitigation text implies is possible when writing is enabled.
Hunting notes
This kind of bug hides in protocol services that sit next to a management interface: here a Modbus service used by vendor configuration software, on a port separate from the documented ModbusTCP port. During recon, a second Modbus-related port open on an industrial gateway, especially one associated with a vendor tool, is the signal to probe.
Timeline
| Date | Event |
|---|---|
| 2025-01-28 | Vendor disclosure |
| 2025-11-03 | Vendor patch release |
| 2025-12-01 | Public release |
Credit: Kelly Patterson of Cisco Talos.
What happened, in plain words
A company called Socomec makes a device called the DIRIS Digiware M-70. It is a small box that sits in an electrical installation, for example in a factory or a large building, and keeps an eye on how much power the equipment is using. It also runs a little website, called WEBVIEW-M, so that staff can look at those measurements from a computer.
A security researcher, Kelly Patterson of Cisco Talos, found that this device can be made to restart itself by anyone who can send it one particular message over the network. No username, no password, nothing. The device simply reboots. While it is rebooting it is not doing its job, so the power monitoring stops working for a while. That is what security people call a denial of service: you are not stealing data or changing anything, you are just stopping something from working.
The message that causes this is a normal, standard message of a type called Modbus, which is a language that industrial equipment uses to talk to each other. The device listens for these messages on a network port, number 503. The message asks the device to store a particular number (178) in a particular slot (register 57856), and the device treats that as an instruction to restart.
The problem is not that the message is clever or complicated. The problem is that the device accepts it from anyone at all, without asking who is sending it. The report calls this CWE-306, Missing Authentication for Critical Function: a function that matters (here, restarting the device) can be used without proving who you are.
The product and the service
The DIRIS Digiware M-70 is described in the report as a gateway for industrial power monitoring systems. A gateway, in this context, is a box that both supplies power to the measuring devices in an electrical installation and provides the communication link between them and the rest of the world. The M-50 model in the same family plays the same role.
On top of that, the device runs a webserver called WEBVIEW-M. A webserver is the software that serves web pages; you have used thousands of them through your browser. WEBVIEW-M lets a person open a browser and see the measurements and the consumption figures remotely, instead of standing in front of the equipment.
Separately from the website, the M-70 offers a service that speaks Modbus RTU over TCP. To unpack that:
- Modbus is a messaging language that industrial devices have used for decades to read and write small pieces of data, such as a measurement or a setting. Think of it as a very simple shared vocabulary: "read the value in slot X", "write this value into slot X".
- RTU is one of the ways Modbus messages are laid out on the wire. It is a compact binary format.
- TCP is the basic protocol that carries most traffic on the internet and on office networks. It makes a reliable connection between two machines, like a phone call that stays open until one side hangs up.
- Modbus RTU over TCP therefore means: Modbus RTU messages, carried inside a TCP connection.
This service exists because Socomec's own configuration software, called Easy Config System, uses it to set the device up. The device listens for it on port 503. A port is like a numbered door on a computer: one machine can run many services at once, and each one answers on its own number. The same device also speaks plain ModbusTCP on port 502, which is the more common way of putting Modbus on a network.
What the report covers
The advisory is about a denial of service in the Modbus RTU over TCP functionality of version 1.6.9 of the device. A single specially crafted network packet, sent without any authentication, can reboot it. The report lists 1.6.9 as the confirmed vulnerable version: it was either tested and found vulnerable by Talos or confirmed as vulnerable by the vendor.
What you need before trying it
The report does not describe any account, role or tooling. The only precondition it gives is that you can reach the Modbus RTU over TCP service on port 503 of a Socomec DIRIS Digiware M-70 running version 1.6.9. In plain terms: your computer has to be able to send a network message to that device's door number 503. If there is a firewall in between that blocks that port, you cannot get there.
How the problem was found
The report does not say how the service was discovered or how the researcher worked out which register to use. What it does state is the outcome: the Modbus RTU over TCP service accepts a write that triggers the device's reboot mechanism, and it does so without authentication. That missing authentication is exactly what the weakness classification, CWE-306 Missing Authentication for Critical Function, describes.
Carrying out the attack
Step 1: Reach the Modbus RTU over TCP service
Connect to the device on port 503, the port used by the Modbus RTU over TCP service that Easy Config System talks to. This step is just about getting a connection open to the right door on the device. Nothing is sent yet; you are only making sure the two machines can talk.
Step 2: Send a Write Single Register request
Send a Modbus RTU over TCP message using function code 6, Write Single Register, targeting register number 57856 and writing the value 178.
Line by line, in plain words:
- Function code: 6 (Write Single Register). Every Modbus message starts by saying what kind of action it wants. The number 6 is the agreed code for "write one value into one register". A register is simply a numbered slot inside the device that holds a value, a bit like a row in a spreadsheet. Function code 6 is the standard Modbus way of writing a single holding register.
- Register: 57856. This is which slot to write into. The number selects the target register inside the device.
- Value: 178. This is what gets written into that slot. The value 178 is the specific value that drives the reboot mechanism: the device interprets that particular number in that particular slot as "restart yourself".
The report does not include the raw frame bytes, the unit identifier or the transaction framing, so the exact encoding on the wire is not reproduced here. In other words, the three lines above describe the meaning of the message, not the exact sequence of bytes that a tool would put on the network.
Step 3: Observe the denial of service
The device reboots. Because the request needs no authentication, anyone who can send a packet to port 503 can trigger it, and the reboot takes the gateway out of service for the duration. While the device is restarting, the power monitoring it provides is interrupted.
Why it works
The critical function here, a register write that reboots the device, is reachable over Modbus RTU over TCP without any authentication. Authentication means proving who you are, usually with a username and password or a key. Here there is none: the device does not ask.
The report classifies this as CWE-306, Missing Authentication for Critical Function. The design assumes that access to the Modbus service is controlled by the network, meaning the device trusts that only the right people can reach port 503 in the first place. So the protocol itself carries no check on who may write register 57856.
The mitigation implies that a write restriction exists in the product and can be configured: the Cyber Security user profile in WEBVIEW-M can disable Modbus over Ethernet Writing, which covers both ModbusTCP on port 502 and Modbus RTU over TCP on port 503. Whether that restriction was switched on by default in 1.6.9 is not stated.
How serious it is
The CVSSv3 score is 8.6, with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H. CVSS is a standard scoring system that tries to put a number on how bad a vulnerability is. The vector is the string that explains how the number was reached. Reading it piece by piece:
| Part | Meaning in plain words |
|---|---|
| AV:N | Attack vector: network. The attacker reaches the device over the network, not by standing at it with a cable. |
| AC:L | Attack complexity: low. No special conditions or lucky timing are needed. |
| PR:N | Privileges required: none. No account or password is needed. |
| UI:N | User interaction: none. Nobody has to click anything or be tricked. |
| S:C | Scope: changed. The vulnerable component affects resources beyond its own security authority. |
| C:N | Confidentiality: none. No data is exposed. |
| I:N | Integrity: none. No data is altered. |
| A:H | Availability: high. The service stops working. |
In practice, an unauthenticated attacker who can send a packet to port 503 can remotely reboot the gateway, producing a denial of service. Because the gateway is the access point for the power monitoring installation, the reboot interrupts that monitoring role for as long as the device is down.
The fix
The mitigation given is a configuration change rather than a code change: using the Cyber Security user profile in WEBVIEW-M, disable Modbus over Ethernet Writing. That single change disables writing over both ModbusTCP (port 502) and Modbus RTU over TCP (port 503), which removes the path used to write register 57856 and trigger the reboot.
Other things worth testing
- Other Socomec DIRIS Digiware models in the same family, such as the M-50, on the same Modbus RTU over TCP service. A positive result is a reboot after a single unauthenticated Write Single Register request.
- Other register and value pairs on the same device. A positive result is any write that changes device state, such as a restart, a mode change or a configuration change, without authentication.
- The ModbusTCP service on port 502. A positive result is the same register write succeeding there, which the mitigation text implies is possible when writing is enabled.
What to look for when hunting
This kind of bug hides in protocol services that sit next to a management interface: here a Modbus service used by vendor configuration software, on a port separate from the documented ModbusTCP port. During recon, a second Modbus-related port open on an industrial gateway, especially one associated with a vendor tool, is the signal to probe.
Timeline
| Date | Event |
|---|---|
| 2025-01-28 | Vendor disclosure |
| 2025-11-03 | Vendor patch release |
| 2025-12-01 | Public release |
Credit: Kelly Patterson of Cisco Talos.
Glossary
- Advisory: a public document describing a security problem in a product and what to do about it.
- Authentication: proving who you are, usually with a username and password or a key.
- Availability: whether a service is working and reachable when you need it. A denial of service attacks availability.
- Configuration software: a program used to set up and adjust a device, here Socomec's Easy Config System.
- Confidentiality: whether data is kept away from people who should not see it.
- Critical function: an action important enough that it should not be available to just anyone, such as restarting a device.
- CVSS: a standard scoring system for how severe a vulnerability is, expressed as a number and a vector string.
- CVSS vector: the string of codes that explains how a CVSS score was calculated, for example AV:N or PR:N.
- CWE-306: a standard label for "Missing Authentication for Critical Function", meaning an important action can be used without proving who you are.
- Denial of service (DoS): making a service stop working or become unreachable, without necessarily stealing or changing anything.
- Firewall: a filter that allows or blocks network traffic according to rules, often by port.
- Function code: the part of a Modbus message that says what kind of action is wanted, such as read or write.
- Gateway: a device that connects two systems and passes data between them; here it also supplies power to measuring devices.
- Holding register: a numbered slot inside a Modbus device that holds a value and can be read or written.
- Integrity: whether data is protected from being changed by people who should not change it.
- Modbus: a long-standing messaging language used by industrial devices to read and write small pieces of data.
- Modbus RTU: one binary layout of Modbus messages on the wire.
- Modbus RTU over TCP: Modbus RTU messages carried inside a TCP connection.
- ModbusTCP: the common way of carrying Modbus messages over a TCP network, here on port 502.
- Patch: an update from the vendor that fixes a problem.
- Port: a numbered door on a computer or device; each network service answers on its own number.
- Privileges: the rights an account has. "No privileges required" means no account is needed at all.
- Reboot: restarting a device, during which it is not doing its normal job.
- Register: a numbered slot inside a device that holds a value, a bit like a row in a spreadsheet.
- Scope (changed): a CVSS idea meaning the vulnerable component affects resources beyond its own security authority.
- TCP: the basic protocol that carries most network traffic reliably between two machines.
- User interaction: whether a person has to do something, such as click a link, for an attack to work.
- Vendor: the company that makes and supports the product.
- Vulnerable version: the specific release of a product that contains the problem, here 1.6.9.
- WEBVIEW-M: the webserver built into the device for viewing measurements and consumption remotely.
- Write Single Register: the Modbus action, function code 6, that writes one value into one register.