Summary
UPDATE A: Solution has updated release datesUPDATE B: Solution has updated release datesThis Advisory is published with reference to:
CODESYS Advisory 2022-11 (Security update for CODESYS Control V2)
CODESYS Advisory 2022-12 (Security update for CODESYS V2 password transport)
CODESYS Advisory 2022-13 (Security update for CODESYS Gateway V2)
Details
Impact
From vulnerabilities CVE-2022-1965, CVE-2022-32136, CVE-2022-32137, CVE-2022-32138, CVE-2022-32139, CVE-2022-32140, CVE-2022-32141, CVE-2022-32142, CVE-2022-32143 (CODESYS Advisory 2022-11):
By crafting special packets / requests a low skilled attacker can exploit the vulnerabilities. This can lead to denial-of-service conditions or deleting files.
From vulnerabilities CVE-2022-31805, CVE-2022-31806 (CODESYS Advisory 2022-12):
A low skilled attacker is able to gather insufficiently protected credentials having access to the communication between client and server.
From vulnerabilities CVE-2022-31802, CVE-2022-31803, CVE-2022-31804 (CODESYS Advisory 2022-13):
An attacker with low skills is able to gather insufficiently protected credentials having local access or access to the online communication traffic
Mitigation
For vulnerabilities CVE-2022-1965, CVE-2022-32136, CVE-2022-32137, CVE-2022-32138, CVE-2022-32139, CVE-2022-32140, CVE-2022-32141, CVE-2022-32142, CVE-2022-32143 (CODESYS Advisory 2022-11):
- Activation of online user management, to prevent unallowed actions from unauthorized attackers
- Setting strong passwords
- Use e!Runtime or CODESYS V3
For vulnerabilities CVE-2022-31805, CVE-2022-31806 (CODESYS Advisory 2022-12):
- Activation of online user management, to prevent unallowed actions from unauthorized attackers
- Use encryption of online communication whenever possible, this protects password transmission.
Remediation
WAGO recommends that all affected users with WAGO I/O-PRO/CODESYS 2.3 PLCs update to the firmware and use the latest version of WAGO I/O-Pro as soon as it is available.
Until the updates are available, we recommend switching off the CODESYS IP port 2455 after commissioning or, if this not possible, use a strong admin password.
### PFC200 Family
| Ord. No. | Firmware |
|-----------------------|----------------------------------|
| 750-8202/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8203/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8204/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8206/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8207/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8208/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8210/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8211/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8212/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8213/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8214/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8216/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-8217/xxx-xxx | UPDATE B: Available in Q1 2024 |
### Ethernet Controller 4th Generation Family – UPDATE B
| Ord. No. | Firmware |
|-----------------------|----------------------------------|
| 750-823 | UPDATE B: Available in Q1 2024 |
| 750-332 | UPDATE B: Available in Q1 2024 |
| 750-832/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-862 | UPDATE B: Available in Q1 2024 |
| 750-890/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-891 | UPDATE B: Available in Q1 2024 |
| 750-893 | UPDATE B: Available in Q1 2024 |
### Ethernet Controller 3rd Generation Family – UPDATE B
| Ord. No. | Firmware |
|-----------------------|----------------------------------|
| 750-331 | UPDATE B: Available in Q1 2024 |
| 750-829 | UPDATE B: Available in Q1 2024 |
| 750-831/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-852 | UPDATE B: Available in Q1 2024 |
| 750-880/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-881 | UPDATE B: Available in Q1 2024 |
| 750-882 | UPDATE B: Available in Q1 2024 |
| 750-885/xxx-xxx | UPDATE B: Available in Q1 2024 |
| 750-889 | UPDATE B: Available in Q1 2024 |
### Engineering Software
| Name | Firmware |
|------------------|----------------------------------|
| WAGO-I/O-PRO 32 | UPDATE B: Available in Q1 2024 |
Vulnerabilities 14
-
Critical 9.8
Partial string comparison in CODESYS gateway server
In CODESYS Gateway Server V2 for versions prior to V2.3.9.38 only a part of the the specified password is been compared to the real CODESYS Gateway password. An attacker may perform authentication by specifying a small password that matches the corresponding …
-
Critical 9.8
Insecure default settings in CODESYS Runtime Toolkit 32 bit full and CODESYS PLCWinNT
In CODESYS V2 PLCWinNT and Runtime Toolkit 32 in versions prior to V2.4.7.57 password protection is not enabled by default and there is no information or prompt to enable password protection at login in case no password is set at the controller.
-
High 8.8
CODESYS Runtime System prone to heap based buffer overflow
In multiple CODESYS products, a low privileged remote attacker may craft a request, which may cause a heap-based buffer overflow, resulting in a denial-of-service condition or memory overwrite. User interaction is not required.
-
High 8.8
CODESYS runtime system prone to denial of service due to Unexpected Sign Extension
In multiple CODESYS products, a remote attacker may craft a request which may cause an unexpected sign extension, resulting in a denial-of-service condition or memory overwrite.
-
High 8.8
CODESYS runtime system prone to directory acces
In multiple CODESYS products, file download and upload function allows access to internal files in the working directory e.g. firmware files of the PLC. All requests are processed on the controller only if no level 1 password is configured on the controller o…
-
High 8.1
CODESYS runtime system prone to file deletion due to improper error handling
Multiple products of CODESYS implement a improper error handling. A low privilege remote attacker may craft a request, which is not properly processed by the error handling. In consequence, the file referenced by the request could be deleted. User interaction…
-
High 8.1
CODESYS runtime system prone to denial of service due to use of out of range pointer
Multiple CODESYS Products are prone to a out-of bounds read or write access. A low privileged remote attacker may craft a request with invalid offset, which can cause an out-of-bounds read or write access, resulting in denial-of-service condition or local mem…
-
High 7.5
CODESYS Gateway server prone to denial of service attack due to excessive memory allocation
The CODESYS Gateway Server V2 does not verifiy that the size of a request is within expected limits. An unauthenticated attacker may allocate an arbitrary amount of memory, which may lead to a crash of the Gateway due to an out-of-memory condition.
-
High 7.5
Insecure transmission of credentials
In the CODESYS Development System multiple components in multiple versions transmit the passwords for the communication between clients and servers unprotected.
-
Medium 6.5
Codesys runtime systems: Access of uninitialised pointer lead to denial of service.
In multiple CODESYS products, a low privileged remote attacker may craft a request that cause a read access to an uninitialized pointer, resulting in a denial-of-service. User interaction is not required.
-
Medium 6.5
CODESYS runtime system prone to denial of service due to out of bounds read
In multiple CODESYS products, a low privileged remote attacker may craft a request, which cause an out-of-bounds read, resulting in a denial-of-service condition. User Interaction is not required.
-
Medium 6.5
CODESYS runtime system prone to denial of service due to buffer copy
Multiple CODESYS products are affected to a buffer overflow.A low privileged remote attacker may craft a request, which can cause a buffer copy without checking the size of the service, resulting in a denial-of-service condition. User Interaction is not requi…
-
Medium 6.5
CODESYS runtime system prone to denial of service due to buffer over read
Multiple CODESYS Products are prone to a buffer over read. A low privileged remote attacker may craft a request with an invalid offset, which can cause an internal buffer over-read, resulting in a denial-of-service condition. User interaction is not required.
-
Medium 5.3
CODESYS Gateway Server V2 prone to Denial of Service Attack
In CODESYS Gateway Server V2 an insufficient check for the activity of TCP client connections allows an unauthenticated attacker to consume all available TCP connections and prevent legitimate users or clients from establishing a new connection to the CODESYS…
Revision history
-
#1.1.0
Solution has updated
-
#1.0.0
Initial revision.
References
-
VDE-2022-040: WAGO: Multiple Vulnerabilities in Controller with WAGO I/O-Pro / CODESYS 2.3 Runtime - HTML
https://certvde.com/en/advisories/VDE-2022-040/
-
WAGO PSIRT
https://www.wago.com/psirt
-
CERT@VDE Security Advisories for WAGO GmbH & Co. KG
https://certvde.com/en/advisories/vendor/wago/