Summary
The following vulnerabilities are published with reference to CODESYS Advisory 2023-05, CODESYS Advisory 2023-06 and CODESYS Advisory 2023-09
Details
Impact
Please refer to the official CODESYS Advisories:
Advisory2023-05_CDS-85189
Advisory2023-06_CDS-85457
Advisory2023-09_SCRIPT-44
Website at https://www.codesys.com/security/security-reports.html
Mitigation
Depending on the vulnerability there are possible mitigations:
Vulnerability of CODESYS Advisory 2023-05:
- This vulnerability exists in the CODESYS programming service which is needed for commission only. Deactivate the CODESYS programming port in the web-based management if you do not need the service.
In addition to the mitigation hints CODESYS GmbH 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 and ensure they are not accessible from outside.
- Use firewalls to protect and separate the control system network from other networks.
- Use VPN (Virtual Private Networks) tunnels if remote access is required.
- Activate and apply user management and password features.
- Use encrypted communication links.
- Limit the access to both development and control system by physical means, operating system features, etc.
- Protect both development and control system by using up to date virus detection solutions.
For further impact information and risk mitigation, please refer to the official CODESYS Advisory Website at https://www.codesys.com/security/security-reports.html
Remediation
### Fixed Firmware 3
| Product | Status |
|-------------|-----------|
| 750-8000 | available |
| 750-8001 | available |
### Fixed Firmware 26
#### Compact Controller 100 family
| Product | Status |
|---------------------|-----------|
| 751-9301/xxx-xxx | available |
| 751-9401/xxx-xxx | available |
#### PFC 100 family
| Product | Status |
|---------------------|-----------|
| 750-8100/xxx-xxx | available |
| 750-8101/xxx-xxx | available |
| 750-8102/xxx-xxx | available |
#### PFC 200 family
| Product | Status |
|---------------------|-----------|
| 750-8202/xxx-xxx | available |
| 750-8203/xxx-xxx | available |
| 750-8204/xxx-xxx | available |
| 750-8206/xxx-xxx | available |
| 750-8207/xxx-xxx | available |
| 750-8210/xxx-xxx | available |
| 750-8211/xxx-xxx | available |
| 750-8212/xxx-xxx | available |
| 750-8213/xxx-xxx | available |
| 750-8214/xxx-xxx | available |
| 750-8215/xxx-xxx | available |
| 750-8216/xxx-xxx | available |
| 750-8217/xxx-xxx | available |
#### TP 600 family
| Product | Status |
|------------------------|-----------|
| 762-4x0x/8000-000x | available |
| 762-5x0x/8000-000x | available |
| 762-6x0x/8000-000x | available |
#### EC 300 family
| Product | Status |
|------------------------|-----------|
| 752-8303/8000-0002 | available |
### Fixed Firmware 22 Patch 2
#### Compact Controller 100 family
| Product | Status |
|---------------------|-----------|
| 751-9301/xxx-xxx | planned |
| 751-9401/xxx-xxx | planned |
#### PFC 100 family
| Product | Status |
|---------------------|-----------|
| 750-8100/xxx-xxx | planned |
| 750-8101/xxx-xxx | planned |
| 750-8102/xxx-xxx | planned |
#### PFC 200 family
| Product | Status |
|---------------------|-----------|
| 750-8202/xxx-xxx | planned |
| 750-8203/xxx-xxx | planned |
| 750-8204/xxx-xxx | planned |
| 750-8206/xxx-xxx | planned |
| 750-8207/xxx-xxx | planned |
| 750-8210/xxx-xxx | planned |
| 750-8211/xxx-xxx | planned |
| 750-8212/xxx-xxx | planned |
| 750-8213/xxx-xxx | planned |
| 750-8214/xxx-xxx | planned |
| 750-8215/xxx-xxx | planned |
| 750-8216/xxx-xxx | planned |
| 750-8217/xxx-xxx | planned |
#### TP 600 family
| Product | Status |
|------------------------|-----------|
| 762-4x0x/8000-000x | planned |
| 762-5x0x/8000-000x | planned |
| 762-6x0x/8000-000x | planned |
#### EC 300 family
| Product | Status |
|------------------------|-----------|
| 752-8303/8000-0002 | planned |
A fixed version of e!COCKPIT is planned.
Vulnerabilities 17
-
High 7.3
CODESYS: Vulnerability in CODESYS Development System allows for execution of binaries
In CODESYS Development System versions from 3.5.17.0 and prior to 3.5.19.20 a vulnerability allows for execution of binaries from the current working directory in the users context .
-
High 7.3
Codesys: Vulnerability in CODESYS Development System and CODESYS Scripting
In CODESYS Development System 3.5.9.0 to 3.5.17.0 and CODESYS Scripting 4.0.0.0 to 4.1.0.0 unsafe directory permissions would allow an attacker with local access to the workstation to place potentially harmful and disguised scripts that could be executed by l…
-
Medium 6.5
CODESYS: Improper Input Validation in CmpApp component
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid address, potentially lead…
-
Medium 6.5
CODESYS: Improper Input Validation in CmpApp component
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid address, potentially lead…
-
Medium 6.5
CODESYS: Improper Input Validation in CmpApp component
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid address, potentially lead…
-
Medium 6.5
CODESYS: Improper Input Validation in CmpApp component
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid address, potentially lead…
-
Medium 6.5
CODESYS: Improper Input Validation in CmpApp component
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid address, potentially lead…
-
Medium 6.5
CODESYS: Improper Input Validation in CmpApp component
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid address, potentially lead…
-
Medium 6.5
CODESYS Files or Directories Accessible to External Parties in CmpApp
In multiple Codesys products in multiple versions, after successful authentication as a user, specially crafted network communication requests can utilize the CmpApp component to download files with any file extensions to the controller. In contrast to the re…
-
Medium 6.5
CODESYS Improper Input Validation in CmpAppBP
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid address, potentially le…
-
Medium 6.5
CODESYS Improper Input Validation in CmpAppBP
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid address, potentially le…
-
Medium 6.5
CODESYS Improper Input Validation in CmpAppBP
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid address, potentially le…
-
Medium 6.5
CODESYS Improper Input Validation in CmpAppBP
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid address, potentially le…
-
Medium 6.5
CODESYS Improper Input Validation in CmpAppBP
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid address, potentially le…
-
Medium 6.5
CODESYS Heap-based Buffer Overflow in multiple products
After successful authentication as a user in multiple Codesys products in multiple versions, specific crafted remote communication requests can cause the CmpAppBP component to overwrite a heap-based buffer, which can lead to a denial-of-service condition.
-
Medium 6.5
CODESYS Improper Validation of Consistency within Input in multiple products
After successful authentication as a user in multiple Codesys products in multiple versions, specific crafted network communication requests with inconsistent content can cause the CmpAppForce component to read internally from an invalid address, potentially …
-
Medium 6.5
CODESYS Improper Validation of Consistency within Input in multiple products
After successful authentication as a user in multiple Codesys products in multiple versions, specific crafted network communication requests with inconsistent content can cause the CmpAppForce component to read internally from an invalid address, potentially …
Revision history
-
#1
Initial revision.
References
-
VDE-2023-068: WAGO: Multiple Vulnerabilities in e!Cockpit and e!Runtime / CODESYS Runtime - HTML
https://certvde.com/en/advisories/VDE-2023-068/
-
Vendor PSIRT
https://www.wago.com/psirt
-
CERT@VDE Security Advisories for WAGO GmbH & Co. KG
https://certvde.com/en/advisories/vendor/wago/