Remote Code Exec via Stack Buffer Overflow in Kepware KEPServerEX 6.11
CVE-2022-2825 Published on March 29, 2023

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.

NVD

Vulnerability Analysis

CVE-2022-2825 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Stack Overflow Vulnerability?

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

CVE-2022-2825 has been classified to as a Stack Overflow vulnerability or weakness.


Products Associated with CVE-2022-2825

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-2825 are published in these products:

 
 
 
 
 
 
 
 

Affected Versions

Kepware KEPServerEX Version 6.11.718.0 is affected by CVE-2022-2825

Exploit Probability

EPSS
1.11%
Percentile
78.09%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.