SB2021062306 - Multiple vulnerabilities in CODESYS V2 web server



SB2021062306 - Multiple vulnerabilities in CODESYS V2 web server

Published: June 23, 2021 Updated: September 18, 2023

Security Bulletin ID SB2021062306
Severity
High
Patch available
YES
Number of vulnerabilities 6
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 83% Medium 17%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 6 secuirty vulnerabilities.


1) Stack-based buffer overflow (CVE-ID: CVE-2021-30189)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Improper access control (CVE-ID: CVE-2021-30190)

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions in the user management. A remote attacker can use a specially crafted web server request to bypass user management and read or write values on the PLC without authentication.


3) Buffer overflow (CVE-ID: CVE-2021-30191)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error. A remote attacker can trigger memory corruption and cause a denial of service condition on the target system.


4) Improperly implemented security check for standard (CVE-ID: CVE-2021-30192)

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to improperly implemented security check. A remote attacker can use a specially crafted web server request to bypass the security checks for boot project-related files.


5) Out-of-bounds write (CVE-ID: CVE-2021-30193)

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can use a specially crafted web server request, trigger out-of-bounds write and execute arbitrary code on the target system.


6) Out-of-bounds read (CVE-ID: CVE-2021-30194)

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to a boundary condition. A remote attacker can trigger out-of-bounds read error and read contents of memory on the system or perform a denial of service (DoS) attack.


Remediation

Install update from vendor's website.