Wago CODESYS V2 Runtime System OS Command Injection (CVE-2021-30187)

medium Tenable OT Security Plugin ID 503314

Synopsis

The remote OT asset is affected by a vulnerability.

Description

CODESYS V2 runtime system SP before 2.4.7.55 has Improper Neutralization of Special Elements used in an OS Command.

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

https://customers.codesys.com/index.php

http://www.nessus.org/u?cec411b6

Plugin Details

Severity: Medium

ID: 503314

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 9/8/2025

Updated: 9/8/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

CVSS Score Source: CVE-2021-30187

CVSS v3

Risk Factor: Medium

Base Score: 5.3

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

Vulnerability Information

CPE: cpe:/o:wago:750-8216_firmware, cpe:/o:wago:750-823_firmware, cpe:/o:wago:750-831_firmware, cpe:/o:wago:750-881_firmware, cpe:/o:wago:750-829_firmware, cpe:/o:wago:750-891_firmware, cpe:/o:wago:750-8204_firmware, cpe:/o:wago:750-893_firmware, cpe:/o:wago:750-8217_firmware, cpe:/o:wago:750-8211_firmware, cpe:/o:wago:750-8212_firmware, cpe:/o:wago:750-890_firmware, cpe:/o:wago:750-8210_firmware, cpe:/o:wago:750-8202_firmware, cpe:/o:wago:750-8203_firmware, cpe:/o:wago:750-8208_firmware, cpe:/o:wago:750-882_firmware, cpe:/o:wago:750-862_firmware, cpe:/o:wago:750-885_firmware, cpe:/o:wago:750-852_firmware, cpe:/o:wago:750-832_firmware, cpe:/o:wago:750-880_firmware, cpe:/o:wago:750-8206_firmware, cpe:/o:wago:750-8207_firmware, cpe:/o:wago:750-889_firmware, cpe:/o:wago:750-8213_firmware, cpe:/o:wago:750-8214_firmware

Required KB Items: Tenable.ot/Wago

Exploit Ease: No known exploits are available

Patch Publication Date: 5/25/2021

Vulnerability Publication Date: 5/25/2021

Reference Information

CVE: CVE-2021-30187

CWE: 78

ICSA: 21-173-04