Heap-based buffer overflow in Siemens products - CVE-2021-25668

 

Heap-based buffer overflow in Siemens products - CVE-2021-25668

Published: April 14, 2021


Vulnerability identifier: #VU52214
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-25668
CWE-ID: CWE-122
Exploitation vector: Remote access
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. A remote attacker can pass specially crafted data to the application, trigger heap-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

SCALANCE X208PRO
SCALANCE XF208
SCALANCE XF206-1
SCALANCE XF204-2
SCALANCE XF204
SCALANCE X224
SCALANCE X216
SCALANCE X212-2LD
SCALANCE X212-2
SCALANCE X204-2
SCALANCE X208
SCALANCE X206-1LD
SCALANCE X206-1
SCALANCE X204-2TS
SCALANCE X204-2LD TS
SCALANCE X204-2LD
SCALANCE X204-2FM
SCALANCE X200-4P IRT
SCALANCE X201-3P IRT
SCALANCE X201-3P IRT PRO
SCALANCE X202-2 IRT
SCALANCE X202-2P IRT
SCALANCE X202-2P IRT PRO
SCALANCE X204 IRT
SCALANCE X204 IRT PRO
SCALANCE XF201-3P IRT
SCALANCE XF202-2P IRT
SCALANCE XF204 IRT
SCALANCE XF204-2BA IRT

How to mitigate CVE-2021-25668

Install updates from vendor's website.

SCALANCE X200-4P IRT - update to 5.5.1
SCALANCE X201-3P IRT - update to 5.5.1
SCALANCE X201-3P IRT PRO - update to 5.5.1
SCALANCE X202-2 IRT - update to 5.5.1
SCALANCE X202-2P IRT - update to 5.5.1
SCALANCE X202-2P IRT PRO - update to 5.5.1
SCALANCE X204 IRT - update to 5.5.1
SCALANCE X204 IRT PRO - update to 5.5.1
SCALANCE XF201-3P IRT - update to 5.5.1
SCALANCE XF202-2P IRT - update to 5.5.1
SCALANCE XF204 IRT - update to 5.5.1
SCALANCE XF204-2BA IRT - update to 5.5.1

External References

Related Security Bulletins