SYT-2022-7: NULL pointer dereference vulnerability in OPC UA C++ SDK, Secure Integration Server, edgeConnector and edgeAggregator

Publisher: Softing Industrial Automation GmbH Document category: csaf_security_advisory
Initial release date: 2022-07-29T10:00:00.000Z Engine: Secvisogram .2.2.15
Current release date: 2023-11-28T14:20:57.197Z Build Date: 2023-11-28T14:26:34.989Z
Current version: 3.0.0 Status: final
CVSSv3.1 Base Score: 7.5 Severity: high
Original language: en-US Language:
Also referred to:

Vulnerabilities

(CVE-2022-1748)

The application crashes after several OPC UA methods have been called and the OPC UA session is closed before the methods have been finished.

CWE: CWE-476:NULL Pointer Dereference
Discovery date: 2022-05-10T10:00:00.000Z

Product status

Known affected
Product CVSS-Vector CVSS Base Score
Softing OPC UA C++ SDK <= V6.00 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5
Softing Secure Integration Server <= V1.22 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5
Softing edgeConnector Siemens <= V3.10 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5
Softing edgeAggregator <= V3.10 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5
Fixed

Remediations

Mitigation

Disable the posibility to establish unauthenticated sessions to the OPC UA server, because the atttack works on an established OPC UA session.

For products:
Workaround

Remove the optional methods „ResendData“ (ns=0;i=12873 and ns=0;i=12871) und „GetMonitoredItems“ (ns=0;i=11492 and ns=0;i=11489) from address space. Only these methods are affected. Or call the method Application::instance()->setEnableServiceGroup(EnumServiceGroup_Methods, false) during the server initialization to disable all OPC UA methods.

For products:

Acknowledgments

Softing Industrial Automation GmbH

Namespace: https://industrial.softing.com

Softing PSIRT - contact us at [email protected]

Revision history

Version Date of the revision Summary of the revision
1.0.0 2022-07-29T10:00:00.000Z Initial version
2.0.0 2022-12-02T11:00:00.000Z Release of Softing OPC UA C++ SDK V6.10
3.0.0 2023-11-28T14:20:57.197Z Fixes for Secure Integration Server, edgeConnector and edgeAggregator

Disclaimer

The information provided in this disclosure is provided "as is" without warranty of any kind. Softing disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Softing or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Softing or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.