9.8
CRITICAL
CVE-2022-2825
Kepware KEPServerEX Stack Based Buffer Overflow Vulnerability
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.

INFO

Published Date :

March 29, 2023, 7:15 p.m.

Last Modified :

April 20, 2023, 4:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-2825 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-2825 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ptc thingworx_industrial_connectivity
2 Ptc thingworx_kepware_edge
3 Ptc kepware_kepserverex
4 Ptc thingworx_kepware_server
5 Ptc opc-aggregator
1 Rockwellautomation kepserver_enterprise
1 Ge industrial_gateway_server
1 Softwaretoolbox top_server
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-2825.

URL Resource
https://www.cisa.gov/uscert/ics/advisories/icsa-22-242-10 Third Party Advisory US Government Resource
https://www.zerodayinitiative.com/advisories/ZDI-22-1455/ Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Claroty opc ua exploit framework add KOR comment

Python Shell

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 24, 2024, 4:19 p.m. This repo has been linked 24 different CVEs too.

Advanced OPC-UA framework for vulnerability research & exploitation

Python Shell

Updated: 2 months, 1 week ago
40 stars 8 fork 8 watcher
Born at : June 7, 2023, 1:15 p.m. This repo has been linked 24 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-2825 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-2825 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 20, 2023

    Action Type Old Value New Value
    Changed Description This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX V6.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 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.
  • Initial Analysis by [email protected]

    Apr. 10, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.cisa.gov/uscert/ics/advisories/icsa-22-242-10 No Types Assigned https://www.cisa.gov/uscert/ics/advisories/icsa-22-242-10 Third Party Advisory, US Government Resource
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-1455/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-1455/ Third Party Advisory, VDB Entry
    Added CPE Configuration OR *cpe:2.3:a:ge:industrial_gateway_server:*:*:*:*:*:*:*:* versions up to (excluding) 7.612 *cpe:2.3:a:ptc:kepware_kepserverex:*:*:*:*:*:*:*:* versions up to (excluding) 6.12 *cpe:2.3:a:ptc:opc-aggregator:*:*:*:*:*:*:*:* versions up to (excluding) 6.12 *cpe:2.3:a:ptc:thingworx_industrial_connectivity:-:*:*:*:*:*:*:* *cpe:2.3:a:ptc:thingworx_kepware_edge:*:*:*:*:*:*:*:* versions up to (excluding) 1.4 *cpe:2.3:a:ptc:thingworx_kepware_server:*:*:*:*:*:*:*:* versions up to (excluding) 6.12 *cpe:2.3:a:rockwellautomation:kepserver_enterprise:*:*:*:*:*:*:*:* versions up to (excluding) 6.12 *cpe:2.3:a:softwaretoolbox:top_server:*:*:*:*:*:*:*:* versions up to (excluding) 6.12
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-2825 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-2825 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.28 }} -0.06%

score

0.68571

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability