CODESYS OPC UA Server Authentication Bypass Vulnerability

Vulnerability

A vulnerability exists in the CODESYS OPC UA Server when the non-default Basic128Rsa15 security policy is enabled. This policy, which is deprecated and relies on outdated RSA encryption, can be exploited by an unauthenticated remote attacker to access sensitive information, including authentication details. The vulnerability arises because the Basic128Rsa15 policy allows for a Bleichenbacher padding oracle attack, which can compromise the private key of the OPC UA server's certificate. As a result, an attacker could bypass application authentication or decrypt transmitted data.

Impact

Exploitation of this vulnerability allows for authentication bypass and unauthorized access to sensitive information, including authentication details.

Remediation

To address this vulnerability, update the CODESYS Runtime Toolkit to version 3.5.21.0 and remove the compiler #define 'CMPOPCUASTACK_ALLOW_SHA1_BASED_SECURITY' from the build configuration. This will disable the vulnerable Basic128Rsa15 OPC UA security policy. Device manufacturers can obtain the software update from the CODESYS Update area.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
5.0
exploitability
4.7
remediation
7.9
relevance
0.0
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.