CODESYS, GmbH has a new version available to handle an OS command injection vulnerability in its CODESYS V2 Runtime Toolkit, according to a report with CISA.

Successful exploitation of this remotely exploitable vulnerability, discovered by Sergey Fedonin and Ivan Kurnak, of Positive Technologies, may allow the control programmer to call additional OS functions from the PLC logic utilizing the SysFile system library.

CODESYS reports all runtime systems for Linux based on a CODESYS V2 Runtime Toolkit 32-bit full prior Version suffer from the issue.

In the vulnerability, the CODESYS Control runtime system enables embedded or PC-based devices to operate as programmable industrial controllers. Control programs can access local or remote input/output (I/O) locations, communication interfaces such as serial ports or sockets, and local system functions such as the file system, real-time clock, and other OS functions. An attacker could exploit this vulnerability to call additional OS functions via the SysFile system library.

CVE-2021-30187 is the case number assigned to this vulnerability, which has a CVSS v3 base score of 5.3.

Schneider Bold

The product sees use mainly in the critical manufacturing sector, and on a global basis.

No known public exploits specifically target this vulnerability. However, an attacker with low skill level could leverage the vulnerability.

CODESYS GmbH released CODESYS Runtime Toolkit 32-bit full Version to solve the noted vulnerability issue for the affected CODESYS products.

Click on the CODESYS update area for more information on how to obtain software updates.

As part of a security strategy, CODESYS recommends the following general defense measures to reduce the risk of exploits:

  • Use controllers and devices only in a protected environment to minimize network exposure, ensuring they are not accessible from outside
  • Use firewalls to protect and separate the control system network from other networks
  • Use VPN (virtual private network) tunnels if remote access is required
  • Activate and apply user management and password features
  • Use encrypted communication links
  • Limit access to both development and control system by physical means, operating system features, etc.
  • Protect both development and control system operations by using up to date virus detecting solutions

For more information and general recommendations for protecting machines and plants, click on the CODESYS Security Whitepaper.

Click on CODESYS Advisory 2021-08 for more information.


Pin It on Pinterest

Share This