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.0: 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/E:U/U:Green
CVE-ID: CVE-2021-25667
CWE-ID: CWE-121
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vendor: Siemens
Affected software:
RUGGEDCOM RM1224
SCALANCE SC-600
SCALANCE X300WG
SCALANCE XR-500
SCALANCE XM-400
SCALANCE Xx200
SCALANCE M-800 / S615

Detailed vulnerability description

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.


How to mitigate CVE-2021-25667

Install updates from vendor's website.

Sources