Skip to content
DoS Advisory Intermediate CVE-2025-55222CVE-2025-55221

Socomec DIRIS Digiware M-70 Modbus TCP and Modbus RTU over TCP USB Function denial of service vulnerability

The Socomec DIRIS Digiware M-70 gateway exposes Modbus TCP and Modbus RTU over TCP services that accept unauthenticated write requests. A specially crafted write to a specific register can make the device unresponsive, requiring a manual power cycle to recover.

Kelly Patterson Follow

Originally disclosed on Cisco Talos

High 8.6 View original

A denial of service vulnerability exists in the Modbus TCP and Modbus RTU over TCP USB Function functionality of Socomec DIRIS Digiware M-70 1.6.9. A specially crafted network packet can lead to a denial of service.

Kelly Patterson, on Cisco Talos

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

The Socomec DIRIS Digiware M-50/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-70 exposes Modbus TCP and Modbus RTU over TCP services, which are used by Socomec's configuration software, Easy Config System. This write-up covers a denial of service in those two services, affecting version 1.6.9 of the device. The issue is tracked as CWE-306 (Missing Authentication for Critical Function) and scored 8.6 under CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H. Two CVEs are assigned: CVE-2025-55221 for the Modbus TCP path and CVE-2025-55222 for the Modbus RTU over TCP path.

Setup

The confirmed vulnerable version is Socomec DIRIS Digiware M-70 1.6.9, tested or verified by Talos and confirmed by the vendor. No account, role or tooling is required to reach the vulnerable services: the trigger is an unauthenticated network packet. The two services listen on port 502 (Modbus TCP) and port 503 (Modbus RTU over TCP).

Finding it

The weakness is classified as CWE-306, Missing Authentication for Critical Function. A single message using the Write Single Register function code (6) aimed at register 57872, with a particular value in the second byte of the data, is enough to make the device stop responding. The effect depends on that byte:

  • If the second byte is set to 1, the device becomes unresponsive to all transport and application layer protocols, including TCP/IP, HTTP and Modbus, while ICMP remains functional.
  • If the second byte is set to 4, the device fails to respond to any protocols, including ARP requests.

In both cases, restoring normal functionality requires a manual power cycle of the device.

Exploitation

Step 1: Send a Write Single Register message

An attacker sends a Modbus TCP or Modbus RTU over TCP message with specific data, using function code 6 (Write Single Register) for register 57872. The second byte of the data must be either 1 or 4. The report does not include the raw packet bytes.

Step 2: Observe the effect of the second byte

With the second byte set to 1, the device stops answering TCP/IP, HTTP and Modbus traffic, but still answers ICMP. With the second byte set to 4, it stops answering everything, ARP included.

Step 3: Recover

The device does not recover on its own. A manual power cycle is required to bring it back to normal operation.

Per-protocol detail

CVE-2025-55221 covers the malicious message sent via Modbus TCP over port 502. CVE-2025-55222 covers the same message sent via Modbus RTU over TCP on port 503.

Root cause

The weakness is classified as CWE-306, Missing Authentication for Critical Function: the Modbus TCP and Modbus RTU over TCP services process a state-changing write (function code 6 to register 57872) from an unauthenticated network peer. The report does not describe the code path behind the unresponsive state, so the exact mechanism is not stated.

Impact

An unauthenticated attacker who can reach the Modbus services can render the gateway unresponsive. With the second byte set to 1, all transport and application layer protocols are affected while ICMP still works; with the second byte set to 4, even ARP stops being answered. Recovery needs physical intervention, a manual power cycle, so the outage lasts until someone power-cycles the device. The CVSS vector rates availability as high (A:H) with no confidentiality or integrity impact, and scope changed (S:C).

Fix

The timeline lists a vendor patch release on 2025-10-28. The mitigation given in the report applies to both CVEs: using the Cyber Security user profile in WEBVIEW-M, disable Modbus over Ethernet Writing. The vendor response section links to Socomec documents for CVE-2025-55221 and CVE-2025-55222.

Variants to test

  • Send function code 6 to register 57872 with the second data byte set to 1 on port 502, then check whether HTTP and Modbus stop answering while ICMP still replies.
  • Send the same write with the second data byte set to 4 on port 502, then check whether ARP replies stop as well.
  • Repeat both writes over Modbus RTU over TCP on port 503.
  • On other gateways that expose Modbus write functions without authentication, try single-register writes to configuration registers and watch for loss of management-plane responses.

Hunting notes

This kind of bug hides in industrial gateways and protocol converters that expose Modbus TCP or Modbus RTU over TCP to the network, especially where the same device also runs a management webserver. During recon, exposed ports 502 and 503 on an internet-facing or flat-network device are the signal to look at. A single unauthenticated packet takes the device off the network until a manual power cycle.

Timeline

Date Event
2025-08-21 Vendor disclosure
2025-10-28 Vendor patch release
2025-12-01 Public release

Credit: Kelly Patterson of Cisco Talos.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 11 min read.

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 lets people look at those measurements remotely through a built-in website. Version 1.6.9 of this device has a flaw: anyone who can send it a particular network message, without logging in at all, can make it stop responding. It stays silent until somebody walks over and switches it off and on again.

The flaw was found by Kelly Patterson of Cisco Talos, a security research group. It was given two identifiers, CVE-2025-55221 and CVE-2025-55222, because the same problem can be triggered through two slightly different network services. The severity score is 8.6 out of 10, which is high. The timeline lists a vendor patch release on 2025-10-28, and public release on 2025-12-01.

The product and what it does

The DIRIS Digiware M-50/M-70 is described as a gateway for industrial power monitoring systems. A gateway, in this context, is a box that both supplies power to measuring devices in an electrical cabinet and provides the communication link between those devices and the outside world. Think of it as a junction box that also has a small computer inside.

On top of that, the M-70 runs a webserver called WEBVIEW-M. A webserver is the software that serves web pages to a browser; here it lets an operator view and analyse measurements and consumption from a computer on the network, instead of standing in front of the cabinet.

The device also speaks two industrial languages over the network: Modbus TCP and Modbus RTU over TCP. Modbus is a very old and very simple protocol used by industrial equipment to read and write small chunks of data called registers. A register is just a numbered slot holding a number, a little like a row in a spreadsheet. Modbus TCP wraps those Modbus messages inside ordinary TCP, the same transport that web traffic uses. Modbus RTU over TCP does the same but keeps the older serial-style framing inside the TCP connection. Socomec's own configuration software, Easy Config System, uses these two services to set the device up.

The flaw in one sentence

A specially crafted unauthenticated write puts the device into a state it cannot get out of by itself.

This is classified as CWE-306, Missing Authentication for Critical Function. In plain terms: a function that changes something important can be called by anybody, because nobody thought to ask who is calling. A useful comparison is a building where the fire alarm panel is on an outside wall with no cover: the panel is meant for the building manager, but any passer-by can press the buttons.

The score

The report gives a CVSS score of 8.6 with the vector:

Text
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

CVSS is a standard way of scoring how bad a security problem is. The vector is a compact string of letters that explains how the score was reached. Reading it piece by piece:

  • AV:N means the attack can be carried out over the network, not only by someone standing at the device.
  • AC:L means the attack is easy: no special timing or lucky conditions are needed.
  • PR:N means no privileges are required, so no account or password.
  • UI:N means no user has to be tricked into doing anything.
  • S:C means the impact can reach beyond the vulnerable component itself (scope changed).
  • C:N means confidentiality is not affected: no data is stolen.
  • I:N means integrity is not affected: no data is changed.
  • A:H means availability is highly affected: the device stops working.

So the score says: easy to do from the network, no login needed, and the result is that the device goes down.

The vulnerable version

The confirmed vulnerable version is Socomec DIRIS Digiware M-70 1.6.9. The report says this version was either tested or verified as vulnerable by Talos, or confirmed as vulnerable by the vendor. No account, role or special tooling is needed to reach the vulnerable services: the trigger is a single network packet sent without authentication.

Finding it

The two services listen on fixed network ports. A port is a numbered door on a computer; different services wait behind different doors. Here:

  • Port 502 is where Modbus TCP listens.
  • Port 503 is where Modbus RTU over TCP listens.

A single message using the Write Single Register function code, numbered 6, aimed at register 57872, with a particular value in the second byte of the data, is enough to make the device stop responding. A function code is a number at the start of a Modbus message that says what the sender wants to do; code 6 means "write one value into one register".

The effect depends on that second byte:

  • If the second byte is set to 1, the device becomes unresponsive to all transport and application layer protocols, including TCP/IP, HTTP and Modbus, while ICMP remains functional.
  • If the second byte is set to 4, the device fails to respond to any protocols, including ARP requests.

To unpack that: transport and application layer protocols are the layers of networking that carry ordinary traffic. TCP/IP is the basic plumbing that moves data between machines; HTTP is the language of web pages; Modbus is the industrial language described above. ICMP is the small protocol behind the ping command, used to check whether a machine is reachable at all. ARP is the protocol a machine uses on a local network to find out which physical hardware address belongs to a given IP address, a bit like shouting a name in a room and waiting for the person to raise a hand.

So with the value 1, the device still answers a ping but nothing else. With the value 4, it does not even answer the local-network shout, which means other machines cannot even find it.

In both cases, restoring normal functionality requires a manual power cycle of the device. A power cycle means switching it off and back on, physically.

Exploitation, step by step

Step 1: Send a Write Single Register message

An attacker sends a Modbus TCP or Modbus RTU over TCP message with specific data, using function code 6 (Write Single Register) for register 57872. The second byte of the data must be either 1 or 4. The report does not include the raw packet bytes, so there is no packet capture to show here; the description above is the whole of what was published about the message.

Why this step matters: the attacker does not need to log in, guess a password or trick anyone. They only need to be able to reach port 502 or 503 on the device and send one correctly formed write.

Step 2: Observe the effect of the second byte

With the second byte set to 1, the device stops answering TCP/IP, HTTP and Modbus traffic, but still answers ICMP. With the second byte set to 4, it stops answering everything, ARP included.

Why this step matters: the two values produce two different levels of damage. The value 1 leaves the device visible to a ping but useless for its actual job. The value 4 makes it invisible even to its immediate neighbours on the network.

Step 3: Recover

The device does not recover on its own. A manual power cycle is required to bring it back to normal operation.

Why this step matters: this is what turns a nuisance into an outage. If the device rebooted itself, the disruption would last seconds. Because a person has to physically go to it, the outage lasts until someone does.

The two identifiers

CVE-2025-55221 covers the malicious message sent via Modbus TCP over port 502. CVE-2025-55222 covers the same message sent via Modbus RTU over TCP on port 503. A CVE is a public catalogue number for a specific security flaw, so that vendors, scanners and defenders can all refer to the same thing unambiguously.

Why it happens

The weakness is classified as CWE-306, Missing Authentication for Critical Function. The Modbus TCP and Modbus RTU over TCP services process a state-changing write, function code 6 to register 57872, from an unauthenticated network peer. In other words, the device accepts an instruction to change something from a stranger.

This is a common pattern in industrial protocols: Modbus was designed decades ago for closed serial links inside a cabinet, where the only thing on the wire was trusted equipment. When the same protocol is exposed over TCP on a network, the assumption that everyone is friendly no longer holds, but the protocol itself has no built-in way to check who is talking.

The report does not describe the code path behind the unresponsive state, so the exact mechanism inside the device is not stated. What is known is the input that triggers it and the effect it has.

What an attacker gains

An unauthenticated attacker who can reach the Modbus services can render the gateway unresponsive. With the second byte set to 1, all transport and application layer protocols are affected while ICMP still works; with the second byte set to 4, even ARP stops being answered. Recovery needs physical intervention, a manual power cycle, so the outage lasts until someone power-cycles the device.

The CVSS vector rates availability as high (A:H) with no confidentiality or integrity impact, and scope changed (S:C). In everyday terms: nothing is stolen, nothing is altered, but the equipment is taken out of service, and the effect can spill over to whatever depends on that gateway.

The fix

The timeline lists a vendor patch release on 2025-10-28. The mitigation given in the report applies to both CVEs: using the Cyber Security user profile in WEBVIEW-M, disable Modbus over Ethernet Writing. A user profile here is a role inside the device's web interface; the Cyber Security profile is the one that exposes the security-related settings. The mitigation is to disable Modbus over Ethernet Writing using the Cyber Security user profile in WEBVIEW-M.

The vendor response section links to Socomec documents for CVE-2025-55221 and CVE-2025-55222.

Things worth trying elsewhere

  • Send function code 6 to register 57872 with the second data byte set to 1 on port 502, then check whether HTTP and Modbus stop answering while ICMP still replies.
  • Send the same write with the second data byte set to 4 on port 502, then check whether ARP replies stop as well.
  • Repeat both writes over Modbus RTU over TCP on port 503.
  • On other gateways that expose Modbus write functions without authentication, try single-register writes to configuration registers and watch for loss of management-plane responses.

Management-plane responses means the answers the device gives to the tools used to administer it, such as its web interface or its configuration software. If those go quiet after a write, that is a signal worth following up.

Where to look for this kind of bug

This kind of bug hides in industrial gateways and protocol converters that expose Modbus TCP or Modbus RTU over TCP to the network, especially where the same device also runs a management webserver. During recon, exposed ports 502 and 503 on an internet-facing or flat-network device are the signal to look at. Recon means the early stage of looking around a network to see what is there. A flat network is one where many devices can reach each other directly, with no internal barriers, so a single reachable port can be enough.

A single unauthenticated packet takes the device off the network until a manual power cycle.

Timeline

Date Event
2025-08-21 Vendor disclosure
2025-10-28 Vendor patch release
2025-12-01 Public release

Vendor disclosure is the date the vendor was informed. The patch release is the day the fix became available. The public release is the day the write-up was published.

Credit: Kelly Patterson of Cisco Talos.

Glossary

  • ARP: the protocol a machine uses on a local network to find which physical hardware address belongs to an IP address.
  • Authentication: proving who you are, usually with a username and password or a key.
  • Availability: whether a system is up and able to serve the people who need it; one of the three classic security goals alongside confidentiality and integrity.
  • Confidentiality: keeping data secret from people who should not see it.
  • CVE: a public catalogue number for a specific security vulnerability.
  • CVSS: a standard scoring system that turns the characteristics of a vulnerability into a number out of 10.
  • CWE-306: a classification meaning Missing Authentication for Critical Function, where something important can be done without proving who is asking.
  • Denial of service: an attack that makes a system stop working for its legitimate users, rather than stealing or changing data.
  • Function code: a number at the start of a Modbus message that says what action is requested, such as reading or writing a register.
  • Gateway: a device that connects one network or system to another, often translating between them.
  • HTTP: the protocol browsers and web servers use to exchange web pages.
  • ICMP: the small network protocol used by tools such as ping to check whether a machine is reachable.
  • Integrity: keeping data unaltered by anyone who should not change it.
  • Modbus: a simple, old industrial protocol for reading and writing numbered slots of data called registers.
  • Modbus RTU over TCP: Modbus messages with the older serial framing carried inside a TCP connection.
  • Modbus TCP: Modbus messages carried inside ordinary TCP networking.
  • Port: a numbered door on a computer behind which a particular service listens; 502 and 503 here.
  • Power cycle: switching a device off and back on physically.
  • Register: a numbered slot in a Modbus device holding a single value.
  • Scope changed (S:C): a CVSS term meaning the impact can reach beyond the vulnerable component itself.
  • TCP/IP: the basic set of protocols that moves data between machines on a network.
  • Transport and application layer: the networking layers that carry ordinary traffic, such as TCP for transport and HTTP for applications.
  • Unauthenticated: done without logging in or proving identity.
  • User profile: a role inside a device's web interface that controls which settings a person can see and change.
  • WEBVIEW-M: the webserver built into the Socomec gateway for viewing and analysing measurements remotely.
  • Write Single Register: the Modbus function, code 6, that writes one value into one register.

More by Kelly Patterson

View all

20 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.