CVE-2022-2825 Memory corruption in KEPServerEX
Remote attackers can execute arbitrary code with SYSTEM privileges via a stack-based buffer overflow in KEPServerEX without authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2825?
CVE-2022-2825 is a critical memory corruption vulnerability in Kepware KEPServerEX, published on 29 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2022-2825?
It affects 8 products.
Products include Ge Industrial Gateway Server, Ptc Kepware Kepserverex, Ptc Opc-Aggregator, Ptc Thingworx Industrial Connectivity, Ptc Thingworx Kepware Edge, Ptc Thingworx Kepware Server and 2 more.
How do I fix CVE-2022-2825?
No fix has been published for CVE-2022-2825 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-2825 being exploited?
There is no known exploitation of CVE-2022-2825 in the wild and no public exploit code.
Other vulnerabilities in Kepware KEPServerEX
- CVE-2020-27265 Memory corruption in PTC Kepware KEPServerEX; ThingWorx Industrial Connectivity; OPC-Aggregator; Rockwell Automation KEPServer Enterprise; GE Digital Industrial Gateway Server; Software Toolbox TOP Server
- CVE-2023-5908 Heap Based Buffer Overflow in PTC KEPServerEx
- CVE-2022-2848 Memory corruption in KEPServerEX
- CVE-2020-27263 Memory corruption in GE Digital Industrial Gateway Server
- CVE-2020-27267 Memory corruption in GE Digital Industrial Gateway Server
Sources
Also known as GHSA-6rww-x4m5-6j62.