Stack-based buffer overflow in Siemens products - CVE-2021-25667

 

Stack-based buffer overflow in Siemens products - CVE-2021-25667

Published: March 10, 2021


Vulnerability identifier: #VU51378
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-25667
CWE-ID: CWE-121
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the handling of Spanning Tree Protocol (STP) Bridge Protocol Data Unit (BPDU) frames. A remote attacker on the local network can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

RUGGEDCOM RM1224
SCALANCE SC-600
SCALANCE X300WG
SCALANCE Xx200
SCALANCE XR-500
SCALANCE XM-400
SCALANCE M-800 / S615

How to mitigate CVE-2021-25667

Install updates from vendor's website.

SCALANCE SC-600 - update to 2.1.3
SCALANCE X300WG - update to 4.1
SCALANCE Xx200 - update to 4.1
SCALANCE XR-500 - update to 6.2
SCALANCE XM-400 - update to 6.2

External References

Related Security Bulletins