3S CODESYS CmpWebServerHandlerV3 Heap-based Buffer Overflow

High Nessus Plugin ID 131704


A 3S CODESYS V3 environment on the remote host is affected by a remote code execution vulnerability


A heap-based buffer overflow condition exists in CmpWebServerHandlerV3 due to improper validation of user-supplied data. An unauthenticated, remote attacker can exploit this, via a series of specially crafted messages, to cause a denial of service condition or the execution of arbitrary code.

Note that Nessus has not tested for the issue but has instead relied only on the application's self-reported version number.


Upgrade 3S CODESYS V3 runtime to version or higher.

See Also


Plugin Details

Severity: High

ID: 131704

File Name: scada_codesys_2019-10.nbin

Version: 1.8

Type: remote

Family: SCADA

Published: 2019/12/04

Updated: 2020/09/14

Dependencies: 122424

Risk Information

Risk Factor: High

CVSS Score Source: CVE-2019-18858

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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:/a:3s-software:codesys_runtime_system

Required KB Items: SCADA/CoDeSys

Exploit Ease: No known exploits are available

Patch Publication Date: 2019/11/19

Vulnerability Publication Date: 2019/11/19

Reference Information

CVE: CVE-2019-18858