CVE-2022-2825

Critical

Description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX 6.11.718.0. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of text encoding conversions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. Was ZDI-CAN-18411.

SeverityCritical
CVSS9.8
Exploit probability—
ProductPtc Kepware Kepserverex
PublishedMar 29, 2023
First seenMar 29, 2023
Weakness typeCWE-121CWE-121

How to fix

Update
  • ptc kepware_kepserverex6.12 or later
  • ge industrial_gateway_server7.612 or later
  • ptc opc-aggregator6.12 or later
  • ptc thingworx_kepware_edge1.4 or later
  • ptc thingworx_kepware_server6.12 or later
  • rockwellautomation kepserver_enterprise6.12 or later
  • softwaretoolbox top_server6.12 or later

Affected products

ProductAffected versionsFixed in
ptc kepware_kepserverexv < 6.126.12
ge industrial_gateway_serverv < 7.6127.612
ptc opc-aggregatorv < 6.126.12
ptc thingworx_industrial_connectivityNo range specified—
ptc thingworx_kepware_edgev < 1.41.4
ptc thingworx_kepware_serverv < 6.126.12
rockwellautomation kepserver_enterprisev < 6.126.12
softwaretoolbox top_serverv < 6.126.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.