VDE-2022-003

csafDEbeckhoff_psirt

BECKHOFF: Null Pointer Dereference vulnerability in products with OPC UA technology

view advisory published 2022-03-01

By tricking clients of the mentioned products into contacting malicious OPC UA servers and thereby acting as OPC UA clients, a crash of the component can be provoked.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2021-45117USmedium6.5—
The OPC autogenerated ANSI C stack stubs (in the NodeSets) do not handle all error cases. This can lead to a NULL pointer dereference.
02

references

External citations — patches, advisories, analysis.

03

remediations (2)

  • Mitigation

    Have your applications configured to use other than SecurityMode=None for all OPC UA connections. Avoid that these connect to an unknown OPC UA server with SecurityMode=None. In particular, avoid that your applications connect to servers which they discover via mDNS, a Local Discovery Server (LDS), an untrusted Global Discovery Server (GDS) or even trusted GDS using SecurityMode=none. Especially in the latter case an adversary might be able to apply the 'man in the middle' pattern to attack the connection and inject a bad message which triggers the vulnerability.

  • Fixed

    Please update to a recent version of the affected product.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan