CVE-2022-2848 Memory corruption in KEPServerEX

Critical 9.1 Published Updated

Remote attackers can execute arbitrary code with SYSTEM privileges on Kepware KEPServerEX via a heap-based buffer overflow in text encoding handling.

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-2848?

CVE-2022-2848 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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. Was ZDI-CAN-16486.

Weakness: CWE-119, CWE-122

Which versions are affected by CVE-2022-2848?

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-2848?

No fix has been published for CVE-2022-2848 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-2848 being exploited?

There is no known exploitation of CVE-2022-2848 in the wild and no public exploit code.

Sources

Also known as GHSA-f952-wvmx-6w24.

Is CVE-2022-2848 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free