Zurück zur Übersicht

WAGO: Multiple Vulnerabilities in Controller with WAGO I/O-Pro / CODESYS 2.3 Runtime

VDE-2022-040
Last update
22.09.2023 14:39
Published at
17.10.2022 10:00
Vendor(s)
WAGO GmbH & Co. KG
External ID
VDE-2022-040
CSAF Document

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)

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

Affected Product(s)

Model no. Product name Affected versions
750-331 Firmware <=01.04.16(14)
750-332 Firmware <=01.02.16(06)
750-823 Firmware <=01.05.04(10)
750-829 Firmware <=01.04.16(14)
750-831/xxx-xxx Firmware <=01.04.16(14)
750-832/xxx-xxx Firmware <=01.02.16(06)
750-852 Firmware <=01.09.25(16)
750-862 Firmware <=01.05.04(10)
750-880/xxx-xxx Firmware <=01.08.25(16)
750-881 Firmware <=01.09.25(16)
750-882 Firmware <=01.08.25(16)
750-885/xxx-xxx Firmware <=01.07.25(16)
750-889 Firmware <=01.03.25(16)
750-890/xxx-xxx Firmware <=01.05.04(10)
750-891 Firmware <=01.05.04(10)
750-893 Firmware <=01.05.04(10)
750-8206/xxx-xxx, 750-8204/xxx-xxx, 750-8203/xxx-xxx, 750-8214/xxx-xxx, 750-8213/xxx-xxx, 750-8212/xxx-xxx, 750-8211/xxx-xxx, 750-8216/xxx-xxx, 750-8217/xxx-xxx, 750-8210/xxx-xxx, 750-8208/xxx-xxx, 750-8202/xxx-xxx, 750-8207/xxx-xxx PFC200 Firmware <=03.10.08(22)

Vulnerabilities

Expand / Collapse all

Published
22.09.2025 14:58
Weakness
Partial String Comparison (CWE-187)
Summary

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 part of the longer real CODESYS Gateway password.

References

Published
22.09.2025 14:58
Weakness
Initialization of a Resource with an Insecure Default (CWE-1188)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Heap-based Buffer Overflow (CWE-122)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Unexpected Sign Extension (CWE-194)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Files or Directories Accessible to External Parties (CWE-552)
Summary

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 or if remote attacker has previously successfully authenticated himself to the controller. A successful Attack may lead to a denial of service, change of local files, or drain of confidential Information. User interaction is not required

References

Published
22.09.2025 14:58
Weakness
Improper Handling of Exceptional Conditions (CWE-755)
Summary

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 is not required.

References

Published
22.09.2025 14:58
Weakness
Use of Out-of-range Pointer Offset (CWE-823)
Summary

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 memory overwrite, which can lead to a change of local files. User interaction is not required.

References

Published
22.09.2025 14:58
Weakness
Memory Allocation with Excessive Size Value (CWE-789)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Unprotected Transport of Credentials (CWE-523)
Summary

In the CODESYS Development System multiple components in multiple versions transmit the passwords for the communication between clients and servers unprotected.

References

Published
22.09.2025 14:58
Weakness
Access of Uninitialized Pointer (CWE-824)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Out-of-bounds Read (CWE-125)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (CWE-120)
Summary

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 required.

References

Published
22.09.2025 14:58
Weakness
Out-of-bounds Read (CWE-125)
Summary

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.

References

Published
22.09.2025 14:58
Weakness
Uncontrolled Resource Consumption (CWE-400)
Summary

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 Gateway Server V2. Existing connections are not affected and therefore remain intact.

References

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

Revision History

Version Date Summary
1.0.0 17.10.2022 10:00 Initial revision.
1.1.0 22.09.2023 14:39 Solution has updated