CVE-2022-2848: (Pwn2Own) Kepware KEPServerEX Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX. 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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-2848?
CVE-2022-2848 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX 6.11.718.0.
How severe is CVE-2022-2848?
CVE-2022-2848 has a severity rating of 9.1 (critical).
Is authentication required to exploit CVE-2022-2848?
No, authentication is not required to exploit CVE-2022-2848.
What is the specific flaw in CVE-2022-2848?
The specific flaw in CVE-2022-2848 exists within the handling of text encoding conversions.
How can I fix CVE-2022-2848?
To fix CVE-2022-2848, it is recommended to update Kepware KEPServerEX to a version that is not affected by the vulnerability.