Home / Advisories / KLCERT advisories / KLCERT-18-037: CodeSYS Control V3 Use of Insufficiently Random Values

KLCERT-18-037: CodeSYS Control V3 Use of Insufficiently Random Values

Kaspersky Lab publishes information on newly identified vulnerabilities in order to raise user awareness of the IT security threats detected. Kaspersky Lab does not make any guarantees in respect of information received from vendors of products in which vulnerabilities have been identified, which is included in the following sections of the advisory: Affected Products, Vendor Mitigation.

KL-IDS KLCERT-18-037
CVE-IDS CVE-2018-20025
Publication date 2018.12.19
Researcher Alexander Nochvay, Kaspersky Lab
Description CODESYS communication servers use insufficiently random values.
Impact Successful exploitation of this vulnerability could allow an attacker to get access to sensitive information.
Severity
CVSS v3 Base Score: 9.4
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Exploitability Remotely
Difficulty Low
User interaction None
Existence of exploit Unknown
Affected products
Affected products All variants of the following CODESYS V3 products in all versions prior V3.5.14.0 containing communication servers for the CODESYS communication protocol are affected, regardless of the CPU type or the operating system:

  • CODESYS Control for BeagleBone
  • CODESYS Control for emPC-A/iMX6

  • CODESYS Control for IOT2000
  • CODESYS Control for Linux
  • CODESYS Control for PFC100
  • CODESYS Control for PFC200
  • CODESYS Control for Raspberry Pi
  • CODESYS Control RTE V3
  • CODESYS Control RTE V3 (for Beckhoff CX)
  • CODESYS Control Win V3 (also part of the CODESYS Development System setup)
  • CODESYS Control V3 Runtime System Toolkit
  • CODESYS V3 Safety SIL2
  • CODESYS Gateway V3
  • CODESYS HMI V3
  • CODESYS V3 Simulation Runtime (part of the CODESYS Development System)
Mitigation
Vendor mitigation 3S-Smart Software Solutions GmbH has released version V3.5.14.0 to solve the noted vulnerability issue for all affected CODESYS products.

Currently, 3S-Smart Software Solutions GmbH has not identified any workarounds for this vulnerability.

In general, 3S-Smart Software Solutions GmbH recommends the following defensive measures as part of the mitigation strategy to reduce the risk of exploitation of this vulnerability:

  • Use controllers and devices only in a protected environment to minimize network exposure and ensure that they are not accessible from outside
  • Use firewalls to protect and separate the control network from other networks
  • Use VPN (Virtual Private Network) tunnels if remote access is required
  • Activate and apply user management and password protection features
  • Restrict access to both the development system and the control system using physical methods, the operating system’s features, etc.
  • Protect both the development system and the control system with up–to-date antivirus solutions
Timeline Jul 2018 – Vulnerabilities reported
Dec 2018 – Vendor releases patch
Dec 2018 – Advisory published