// For flags

CVE-2022-2825

Kepware KEPServerEX Stack-based Buffer Overflow Remote Code Execution Vulnerability

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

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 stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of SYSTEM.

*Credits: Vera Mens, Uri Katz, Sharon Brizinov of Claroty Research
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-08-15 CVE Reserved
  • 2022-10-21 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-09-08 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-121: Stack-based Buffer Overflow
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Ge
Search vendor "Ge"
Industrial Gateway Server
Search vendor "Ge" for product "Industrial Gateway Server"
< 7.612
Search vendor "Ge" for product "Industrial Gateway Server" and version " < 7.612"
-
Affected
Ptc
Search vendor "Ptc"
Kepware Kepserverex
Search vendor "Ptc" for product "Kepware Kepserverex"
< 6.12
Search vendor "Ptc" for product "Kepware Kepserverex" and version " < 6.12"
-
Affected
Ptc
Search vendor "Ptc"
Opc-aggregator
Search vendor "Ptc" for product "Opc-aggregator"
< 6.12
Search vendor "Ptc" for product "Opc-aggregator" and version " < 6.12"
-
Affected
Ptc
Search vendor "Ptc"
Thingworx Industrial Connectivity
Search vendor "Ptc" for product "Thingworx Industrial Connectivity"
--
Affected
Ptc
Search vendor "Ptc"
Thingworx Kepware Edge
Search vendor "Ptc" for product "Thingworx Kepware Edge"
< 1.4
Search vendor "Ptc" for product "Thingworx Kepware Edge" and version " < 1.4"
-
Affected
Ptc
Search vendor "Ptc"
Thingworx Kepware Server
Search vendor "Ptc" for product "Thingworx Kepware Server"
< 6.12
Search vendor "Ptc" for product "Thingworx Kepware Server" and version " < 6.12"
-
Affected
Rockwellautomation
Search vendor "Rockwellautomation"
Kepserver Enterprise
Search vendor "Rockwellautomation" for product "Kepserver Enterprise"
< 6.12
Search vendor "Rockwellautomation" for product "Kepserver Enterprise" and version " < 6.12"
-
Affected
Softwaretoolbox
Search vendor "Softwaretoolbox"
Top Server
Search vendor "Softwaretoolbox" for product "Top Server"
< 6.12
Search vendor "Softwaretoolbox" for product "Top Server" and version " < 6.12"
-
Affected