Socomec DIRIS Digiware M-70 Modbus TCP factory reset denial of service vulnerability
The Modbus 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 webserver passwords, letting an attacker log in with known credentials.
Originally disclosed on Cisco Talos
A denial of service vulnerability exists in the Modbus 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.
Context
The Socomec DIRIS Digiware M-50/M-70 gateway is the access point for industrial power monitoring systems. It supplies power and provides the communication connection to the devices in an electrical installation. The M-70 also runs a webserver called WEBVIEW-M, used for remote visualisation and analysis of measurements and consumption.
The device exposes a Modbus TCP service, which is used by Socomec's configuration software, Easy Config System. This write-up covers a denial of service in that Modbus TCP functionality of the Socomec DIRIS Digiware M-70, version 1.6.9. A specially crafted network packet can force a factory reset of the device and, as part of that reset, restore the documented default passwords for the WEBVIEW-M webserver. The packet can be sent unauthenticated.
The issue is classified as CWE-306, Missing Authentication for Critical Function, with a CVSSv3 score of 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N).
Setup
The only version listed as confirmed vulnerable is Socomec DIRIS Digiware M-70 1.6.9, either tested or verified by Talos or confirmed by the vendor. No accounts, roles or tooling beyond the ability to send Modbus TCP messages to the device are described. The precondition is network reachability of the Modbus TCP service on the M-70; no authentication is needed.
Finding it
The M-70's Modbus TCP service is the interface used by the Easy Config System configuration software. A single unauthenticated Modbus TCP message can drive the device into its factory reset procedure. Because part of a factory reset is restoring the documented default passwords for the WEBVIEW-M webserver, the reset is not only a denial of service: it also weakens the credentials protecting the web interface.
Exploitation
Step 1: send a Write Single Register request
The factory reset mechanism is triggered by a Modbus TCP message using the Write Single Register function code (6), writing the value 229 to register number 57856. The report gives the function code, the register number and the value; it does not reproduce the raw packet bytes.
| Field | Value |
|---|---|
| Function code | 6 (Write Single Register) |
| Register number | 57856 |
| Value written | 229 |
| Authentication required | None |
Step 2: the device factory resets
On receiving the request, the device performs a factory reset, which results in a denial of service. The reset also restores the documented default passwords for the M-70 webserver, WEBVIEW-M.
Step 3: log in with default credentials
With the default passwords restored, an attacker can access the WEBVIEW-M user accounts using those documented defaults, giving increased privileges on the web interface.
Root cause
The critical function, a factory reset, is reachable over Modbus TCP without any authentication, which is why the issue is classed as CWE-306. The report does not describe the implementation behind the register write, so the exact code path is not stated. A single unauthenticated write to one register is enough to reset the device and, as part of the reset, restore the WEBVIEW-M credentials to their documented defaults. The report does not say which defences, if any, were present and failed to stop the write.
Impact
An unauthenticated attacker who can reach the Modbus TCP service can remotely factory reset the M-70, causing a denial of service. The same action weakens credentials: the documented default passwords for WEBVIEW-M are restored, so the attacker can then access the WEBVIEW-M user accounts with those defaults and gain increased privileges. The CVSS vector reflects network reachability, no privileges and no user interaction, with scope change and low confidentiality and integrity impact; availability impact is not scored in the vector as given.
Fix
The mitigation given is to use the Cyber Security user profile in WEBVIEW-M to disable Modbus over Ethernet Writing. The timeline lists a vendor patch release on 2025-11-03, and a vendor advisory is linked.
Variants to test
- Other register and value pairs on the same Modbus TCP service that map to critical functions such as reset, configuration restore or credential changes. A positive result is a state change on the device after an unauthenticated write.
- The same Write Single Register pattern against other Socomec gateways in the DIRIS Digiware family, starting with the M-50 that shares the gateway role. A positive result is a factory reset or restored default credentials.
- Checking whether Modbus over Ethernet Writing is enabled by default on other deployments, since disabling it through the Cyber Security profile is the documented mitigation. A positive result is a device that accepts the write without that setting having been changed.
Hunting notes
This kind of bug tends to hide in industrial gateways and protocol bridges that expose Modbus TCP alongside a management web interface, especially where the protocol is used by vendor configuration software and is assumed to sit on a trusted network. During recon, the signals are an exposed Modbus TCP port on a device that also runs a webserver with documented default credentials, and any documentation or configuration software that references register-level control. The impact combines the denial of service with the credential rollback to documented defaults, which turns a reset into a path to the web interface.
Timeline
| Date | Event |
|---|---|
| 2025-01-13 | 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 device made by Socomec, the DIRIS Digiware M-70, is a small computer that sits in an electrical installation and keeps an eye on how much power is being used. It also runs a little website, called WEBVIEW-M, so that people can look at those measurements from a browser.
Anyone who can reach one of the device's network services, called Modbus TCP, can send it a single message that makes it wipe itself back to factory settings. That wiping is called a factory reset. It is a denial of service: the device stops doing its job properly for the people who rely on it. Worse, the reset also puts the website's passwords back to the default ones printed in the documentation, so the attacker can then log in to the website with those well-known passwords.
No username, password or other proof of identity is needed to send the message. The researcher is Kelly Patterson of Cisco Talos, the issue is rated 7.2 (high) on the CVSS scale, and it was made public on 1 December 2025.
The product and the feature involved
The DIRIS Digiware M-50/M-70 gateway is described as the access point for industrial power monitoring systems. In everyday terms, think of it as a junction box with a brain: it supplies power and provides the communication connection to the devices in an electrical installation, and it collects their readings.
The M-70 also runs a webserver called WEBVIEW-M. A webserver is the software that answers when a browser asks for a page; WEBVIEW-M is used for remote visualisation and analysis of measurements and consumption, so an operator can open a browser and see the numbers.
The device also exposes a Modbus TCP service. Modbus is a very old, very simple language that industrial equipment uses to talk to each other, and TCP is the way that conversation is carried over a normal network. Socomec's own configuration software, Easy Config System, uses this Modbus TCP service to set the device up.
The vulnerability in one sentence
The critical function here is the factory reset, and it can be reached over Modbus TCP without any authentication. Authentication means proving who you are, for example with a username and password. When a critical action can be performed without that proof, security people file it under a category called CWE-306, Missing Authentication for Critical Function.
The official severity score is 7.2, written as CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. CVSS is a standard way of scoring how bad a flaw is. Each part of that string says something:
| Part | Meaning in plain words |
|---|---|
| AV:N | Attackable over the network, not only by someone standing at the device |
| AC:L | Low complexity: no special conditions are needed |
| PR:N | No privileges required: the attacker does not need an account |
| UI:N | No user interaction: nobody has to click anything |
| S:C | Scope changed: the impact reaches beyond the component that was attacked |
| C:L | Low impact on confidentiality: some information could be exposed |
| I:L | Low impact on integrity: some data could be changed |
| A:N | No availability impact is scored in this vector as given |
What you need to reproduce it
The only version listed as confirmed vulnerable is Socomec DIRIS Digiware M-70 1.6.9. It was either tested or verified by Talos, or confirmed by the vendor. No accounts, roles or special tools are described beyond the ability to send Modbus TCP messages to the device. The one precondition is that the Modbus TCP service on the M-70 can be reached over the network. No authentication is needed.
How it was found
The Modbus TCP service is the same interface that the Easy Config System software uses. A single unauthenticated Modbus TCP message can drive the device into its factory reset procedure. Because part of a factory reset is restoring the documented default passwords for the WEBVIEW-M webserver, the reset is not only a denial of service: it also weakens the credentials protecting the web interface. Credentials are the username and password pair that guard an account.
Exploitation, step by step
Step 1: send a Write Single Register request
The factory reset mechanism is triggered by a Modbus TCP message using the Write Single Register function code (6), writing the value 229 to register number 57856.
A function code is a number that tells a Modbus device what kind of action you want. Code 6 means "write one value into one numbered slot". A register is such a numbered slot inside the device, a little like a numbered drawer in a filing cabinet: you say which drawer and what to put in it. The report gives the function code, the register number and the value; it does not reproduce the raw packet bytes.
| Field | Value |
|---|---|
| Function code | 6 (Write Single Register) |
| Register number | 57856 |
| Value written | 229 |
| Authentication required | None |
So the whole attack is: put the number 229 into drawer 57856, and do it without identifying yourself.
Step 2: the device factory resets
On receiving the request, the device performs a factory reset, which results in a denial of service. A denial of service means the device is no longer available to do its normal work. The reset also restores the documented default passwords for the M-70 webserver, WEBVIEW-M. Default passwords are the ones that ship with a product and are written in its manual, so they are known to anyone who reads the documentation.
Step 3: log in with default credentials
With the default passwords restored, an attacker can access the WEBVIEW-M user accounts using those documented defaults, giving increased privileges on the web interface. Privileges are the permissions an account has, for example the right to change settings rather than only look at readings.
Why it works
The critical function, a factory reset, is reachable over Modbus TCP without any authentication, which is why the issue is classed as CWE-306. The report does not describe the implementation behind the register write, so the exact code path is not stated. A single unauthenticated write to one register is enough to reset the device and, as part of the reset, restore the WEBVIEW-M credentials to their documented defaults. The report does not say which defences, if any, were present and failed to stop the write.
What the impact is
An unauthenticated attacker who can reach the Modbus TCP service can remotely factory reset the M-70, causing a denial of service. The same action weakens credentials: the documented default passwords for WEBVIEW-M are restored, so the attacker can then access the WEBVIEW-M user accounts with those defaults and gain increased privileges. The CVSS vector reflects network reachability, no privileges and no user interaction, with scope change and low confidentiality and integrity impact; availability impact is not scored in the vector as given.
The fix
The mitigation given is to use the Cyber Security user profile in WEBVIEW-M to disable Modbus over Ethernet Writing. In plain words: log in to the web interface with the profile that manages security settings and switch off the ability to write values over Modbus on the network. The timeline lists a vendor patch release on 2025-11-03, and a vendor advisory is linked.
Other things worth testing
- Other register and value pairs on the same Modbus TCP service that map to critical functions such as reset, configuration restore or credential changes. A positive result is a state change on the device after an unauthenticated write.
- The same Write Single Register pattern against other Socomec gateways in the DIRIS Digiware family, starting with the M-50 that shares the gateway role. A positive result is a factory reset or restored default credentials.
- Checking whether Modbus over Ethernet Writing is enabled by default on other deployments, since disabling it through the Cyber Security profile is the documented mitigation. A positive result is a device that accepts the write without that setting having been changed.
Where to look for similar bugs
This kind of bug tends to hide in industrial gateways and protocol bridges that expose Modbus TCP alongside a management web interface, especially where the protocol is used by vendor configuration software and is assumed to sit on a trusted network. During recon, meaning the early phase of looking around a target, the signals are an exposed Modbus TCP port on a device that also runs a webserver with documented default credentials, and any documentation or configuration software that references register-level control. The impact combines the denial of service with the credential rollback to documented defaults, which turns a reset into a path to the web interface.
Timeline
| Date | Event |
|---|---|
| 2025-01-13 | Vendor disclosure |
| 2025-11-03 | Vendor patch release |
| 2025-12-01 | Public release |
Credit: Kelly Patterson of Cisco Talos.
Glossary
- Authentication: proving who you are, usually with a username and password, before a system lets you do something.
- Availability: whether a system is up and able to do its job; a denial of service attacks availability.
- Confidentiality: keeping information away from people who should not see it.
- Credentials: the username and password (or similar) that identify an account.
- CVSS: a standard scoring system for the severity of a security flaw, expressed as a number and a vector string.
- CWE-306: a category for flaws where a critical function can be used without authentication.
- Default password: a password that ships with a product and is written in its documentation, so it is widely known.
- Denial of service: making a system unavailable to its normal users, for example by crashing or resetting it.
- Factory reset: wiping a device's settings and putting it back into the state it left the factory in, including its original passwords.
- Function code: a number in a Modbus message that says what action is requested, such as reading or writing a value.
- Gateway: a device that connects and relays communication between other devices or networks.
- Integrity: whether data is correct and has not been changed by someone who should not change it.
- Modbus: a simple, old communication protocol used by industrial equipment to read and write values.
- Modbus TCP: Modbus carried over a normal TCP network connection.
- Privileges: the permissions an account has, such as viewing versus changing settings.
- Protocol: an agreed set of rules for how two systems exchange messages.
- Recon: the early phase of gathering information about a target before trying anything.
- Register: a numbered slot inside a Modbus device that holds a value which can be read or written.
- Scope change (S:C): in CVSS, the impact reaches beyond the component that was attacked.
- TCP: the common network protocol that carries reliable connections between computers.
- Unauthenticated: done without proving any identity, so anyone who can reach the service can do it.
- Vendor advisory: a notice from the manufacturer describing a flaw and how to fix or mitigate it.
- WEBVIEW-M: the webserver built into the M-70 for viewing and analysing measurements in a browser.
- Write Single Register: the Modbus function, code 6, that writes one value into one numbered register.