Wago CODESYS V3 Stack-based Buffer Overflow (CVE-2022-47386)

high Tenable OT Security Plugin ID 501648

Synopsis

The remote OT asset is affected by a vulnerability.

Description

An authenticated remote attacker may use a stack based out-of-bounds write vulnerability in the CmpTraceMgr Component of multiple CODESYS products in multiple versions to write data into the stack which can lead to a denial-of-service condition, memory overwriting, or remote code execution.

Wago PFC200 and Compact Controllers support Codesys V3.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

http://www.nessus.org/u?2db205d9

http://www.nessus.org/u?7a14aee1

Plugin Details

Severity: High

ID: 501648

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 9/18/2023

Updated: 9/19/2023

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-47386

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:wago:751-9301_firmware, cpe:/o:wago:pfc200_firmware

Required KB Items: Tenable.ot/Wago

Exploit Ease: No known exploits are available

Patch Publication Date: 4/3/2019

Vulnerability Publication Date: 4/3/2019

Reference Information

CVE: CVE-2022-47386

CWE: 787