Stack-based buffer overflow in Kepware products - CVE-2020-27265

 

Stack-based buffer overflow in Kepware products - CVE-2020-27265

Published: December 21, 2020


Vulnerability identifier: #VU49105
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-27265
CWE-ID: CWE-121
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 when processing OPC UA messages. A remote unauthenticated attacker can trick the victim into opening a specially crafted OPC UA message, 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

KEPServerEX
ThingWorx Kepware Server
OPC-Aggregator
ThingWorx Industrial Connectivity

How to mitigate CVE-2020-27265

Install updates from vendor's website.

KEPServerEX - addressed in versions 6.6.362.0, 6.7.1067.0, 6.8.838.0, 6.9.584.0
ThingWorx Kepware Server - addressed in versions 6.8.839.0, 6.9.584.0
OPC-Aggregator - update to 6.9.584.0
ThingWorx Industrial Connectivity - addressed in versions 8.4 (6.6.362.0), 8.5 (6.7.1068.0)

External References

Related Security Bulletins