OPC UA User Authentication Token Exploit

OPC Foundation (OPCF) announced a new Security Bulletin (CVE-2018-7559) on April 12, 2018 concerning a potential security exploit in OPC UA servers:

"The vulnerability can allow a remote attacker to determine a Server's private key by sending carefully constructed bad UserIdentityTokens as part of an oracle attack."

Although the original issue was announced for .NET stack applications only, we discovered that it also affects the applications built with Prosys OPC UA Java SDK. Since this part of user authentication tokens are only handled on the SDK level, it does not concern the OPCF Java Stack.

Prosys OPC UA products affected

The vulnerability affects directly:

  • All applications built with Prosys OPC UA Java SDK 3.1.2 and earlier
  • Prosys OPC UA Simulation Server 3.0.0 and earlier
  • Prosys OPC UA Modbus Server 1.2.2 and earlier

Fixed products

The issue is fixed in the Prosys OPC UA Java SDK 3.1.4, Simulation Server 3.1.4 and Modbus Server 1.2.4 and we encourage everyone to update to these versions.

Avoiding the issue in existing products

The issue can also be avoided by disabling the Security Policy Basic128Rsa15 in the server applications. So, if you are not able to update or you have known applications that enable user name authentication running at customer sites, we advice you to disable Basic128Rsa15 from those applications.

Basic128Rsa15 and Basic256 are deprecated from OPC UA 1.04, and we recommend using the Basic256Sha256 policy for older applications. OPC UA 1.04 defines new security policies, Aes128-Sha256-RsaOaep and Aes-256-Sha256-RsaPss, which replace the older policies. We are working on providing support for these policies in a future SDK version, which will be based on OPC UA 1.04.

More security information

You will find the currently announced security issues in Prosys OPC products from the blog under the Security tag.

You might also like to read about the OPC UA Security Process of the OPC Foundation.

Headshot of Jouni Aro

Jouni Aro

Chief Technology Officer

Email: jouni.aro@prosysopc.com

Related Posts

Develop OPC UA Applications on Android with Prosys SDK

Develop OPC UA applications on Android with the Prosys OPC UA SDK for Java. This updated guide shows how to get started with Android SDK API 35, including a simple client example. Please note that testing on Android is limited, so full interoperability with all OPC UA systems cannot be guaranteed.

Read More »

Valio – Connecting Dairy Plant Automation with IT Using Prosys OPC UA Forge

At Valio, product quality and traceability requirements are at a very high level, highlighting the importance of smooth and reliable communication between different production systems. To meet these requirements, Prosys OPC developed the OPC UA standard based software Valio uses for integrating all their automation and manufacturing execution systems.

Read More »

Master’s Thesis Recap: OPC UA Role-Based Access Control in Industrial Automation

This master’s thesis recap examines how OPC UA Role-Based Access Control (RBAC) can be implemented in industrial automation. It compares directory integration with local role mappings, outlines their benefits and challenges, and presents findings from a simulated case study. The results highlight practical considerations for strengthening OT network security with OPC UA.

Read More »

Interested in this topic?

Get updated about new posts through our newsletter!