Siemens has updates available to handle a stack-based buffer overflow in its SCALANCE and RUGGEDCOM devices, according to a report with CISA.
Successful exploitation of this remotely exploitable vulnerability, which Siemens self-reported, could allow an attacker to cause a reboot. Under specific circumstances, an attacker could also achieve remote code execution of the affected devices.
The following Siemens products suffer from the issue:
- RUGGEDCOM RM1224: All versions v4.3 and later
- SCALANCE M-800: All versions v4.3 and later
- SCALANCE S615: All versions v4.3 and later
- SCALANCE SC-600 Family: All versions from v2.0 and prior to v2.1.3
- SCALANCE X300WG: All versions prior to v4.1
- SCALANCE XM400: All versions prior to v6.2
- SCALANCE XR500: All versions prior to v6.2
- SCALANCE Xx200 Family: All versions prior to v4.1
In the vulnerability, affected devices contain a stack-based buffer overflow vulnerability in the handling of Spanning Tree Protocol (STP) Bridge Protocol Data Unit (BPDU) frames that could allow a remote attacker to trigger a denial-of-service condition or potential remote code execution. Successful exploitation requires the passive listening feature of the device to be active.
CVE-2021-25667 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 8.8.
The products sees use in multiple industrial sectors, and on a global basis.
No known public exploits specifically target this vulnerability. However, an attacker with low skill level could leverage the vulnerability.
Siemens recommends applying updates where applicable:
- SCALANCE SC-600 Family: Update to v2.1.3 or later
- SCALANCE X300WG: Update to v4.1 or later
- SCALANCE XM400: Update to v6.2 or later
- SCALANCE XR500: Update to v6.2 or later
- SCALANCE Xx200 Family: Update to v4.1 or later
Siemens identified the following specific workarounds and mitigations users can apply to reduce the risk: Deactivate the STP passive listening feature of the vulnerable devices.
As a general security measure, Siemens recommends protecting network access to devices with appropriate mechanisms. In order to operate the devices in a protected IT environment, Siemens recommends configuring the environment according to Siemens operational guidelines for Industrial Security and following the recommendations in the product manuals.
For additional information, click on Siemens Security Advisory SSA-979775.

