-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 # SSA-201384: Predictable UDP Port Number Vulnerability (NAME:WRECK) in the DNS Module of Nucleus RTOS Publication Date: 2021-04-13 Last Update: 2022-01-11 Current Version: 1.2 CVSS v3.1 Base Score: 5.3 SUMMARY ======= Security researchers discovered and disclosed 9 vulnerabilities in several DNS implementations, also known as "NAME:WRECK" vulnerabilities. The vulnerability described in this advisory is from this set. The DNS client of of the networking component (Nucleus NET) in Nucleus Real-Time Operating System (RTOS) contains a vulnerability related to the handling of UDP port numbers in DNS requests that could allow an attacker to poison the DNS cache or spoof DNS resolving. Siemens has released updates for several affected products and recommends to update to the latest versions. Siemens recommends specific countermeasures for products where updates are not available. AFFECTED PRODUCTS AND SOLUTION ============================== * Nucleus NET - Affected versions: All versions - Remediation: Currently no remediation is planned Update to the latest version of Nucleus ReadyStart V3 or V4 Contact customer support or your local Nucleus Sales team for mitigation advice See further recommendations from section "Workarounds and Mitigations" * Nucleus ReadyStart V3 - Affected versions: All versions < V2013.08 - Remediation: Update to V2013.08 or later version See further recommendations from section "Workarounds and Mitigations" - Download: https://support.sw.siemens.com/en-US/product/1009925838/ * Nucleus Source Code - Affected versions: Versions including affected DNS modules - Remediation: Contact customer support to receive patch and update information See further recommendations from section "Workarounds and Mitigations" WORKAROUNDS AND MITIGATIONS =========================== Siemens has identified the following specific workarounds and mitigations that customers can apply to reduce the risk: * Avoid using DNS client of affected versions GENERAL SECURITY RECOMMENDATIONS ================================ As a general security measure, Siemens strongly recommends to protect network access to devices with appropriate mechanisms. In order to operate the devices in a protected IT environment, Siemens recommends to configure the environment according to Siemens' operational guidelines for Industrial Security (Download: https://www.siemens.com/cert/operational-guidelines-industrial-security), and to follow the recommendations in the product manuals. Additional information on Industrial Security by Siemens can be found at: https://www.siemens.com/industrialsecurity PRODUCT DESCRIPTION =================== Capital VSTAR is an efficient implementation of the AUTOSAR standard. It is a complete solution including tools and a software platform to meet engineers' needs, from creating ECU extract updates to software platform configurations. Although not based on Nucleus RTOS, VSTAR includes its networking module, Nucleus NET. Nucleus NET module incorporates a wide range of standard-compliant networking and communication protocols, drivers, and utilities to deliver full-featured network support in any embedded device. The networking functionality is fully integrated into the Nucleus RTOS and supports a variety of processors and MCUs. Nucleus ReadyStart is a platform with integrated software IP, tools, and services ideal for applications where a small footprint, deterministic performance, and small code size are essential. Nucleus RTOS is a highly scalable micro-kernel based real-time operating system designed for scalability and reliability in systems spanning the range of aerospace, industrial, and medical applications. Since V3, Nucleus RTOS (incl. its modules, e.g. Nucleus NET) is an integral part of the Nucleus ReadyStart platform. VULNERABILITY CLASSIFICATION ============================ The vulnerability classification has been performed by using the CVSS scoring system in version 3.1 (CVSS v3.1) (https://www.first.org/cvss/). The CVSS environmental score is specific to the customer's environment and will impact the overall CVSS score. The environmental score should therefore be individually defined by the customer to accomplish final scoring. An additional classification has been performed using the CWE classification, a community-developed list of common software security weaknesses. This serves as a common language and as a baseline for weakness identification, mitigation, and prevention efforts. A detailed list of CWE classes can be found at: https://cwe.mitre.org/. * Vulnerability CVE-2021-27393 The DNS client does not properly randomize UDP port numbers of DNS requests. That could allow an attacker to poison the DNS cache or spoof DNS resolving. CVSS v3.1 Base Score: 5.3 CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C CWE: CWE-330: Use of Insufficiently Random Values ACKNOWLEDGMENTS =============== Siemens thanks the following parties for their efforts: * Daniel dos Santos from Forescout Technologies Inc. for coordinated disclosure ADDITIONAL INFORMATION ====================== For further inquiries on security vulnerabilities in Siemens products and solutions, please contact the Siemens ProductCERT: https://www.siemens.com/cert/advisories HISTORY DATA ============ V1.0 (2021-04-13): Publication Date V1.1 (2021-11-09): Consolidated list of products V1.2 (2022-01-11): Removed CAPITAL VSTAR as not affected TERMS OF USE ============ Siemens Security Advisories are subject to the terms and conditions contained in Siemens' underlying license terms or other applicable agreements previously agreed to with Siemens (hereinafter "License Terms"). To the extent applicable to information, software or documentation made available in or through a Siemens Security Advisory, the Terms of Use of Siemens' Global Website (https://www.siemens.com/terms_of_use, hereinafter "Terms of Use"), in particular Sections 8-10 of the Terms of Use, shall apply additionally. In case of conflicts, the License Terms shall prevail over the Terms of Use. -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHyx/myPwjH9jB9tDlm7gTEmyujQFAmHcyIAACgkQlm7gTEmy ujRAhw//QxPV8XHDLApE8xzPgz5u2qNCWEcmIy1l7b7WrmTxv7b7jAKo5D3xl0HB 777fnY+GOyCCiJDPY5r4jFLhTyL6PyynagDtOIr1fy/MbvNcAs6wjcbLPvbtpgw6 Y7+1K8hNR8iB0pDF8STfod/+nAlkRDbhwHLuPtQmvOgz833I5gEnseR43Wlcx9rS 36Ep0ADUY5ZV/4QcnFlENIc3E5A/biNEBqgnGBn5eg2X7XcctTKyrGafpQ2HGDeX Nf0pVkTDRfWIJ8XAC4PRJT9CzwOhWcqmhoog26fQVrBRKh/DJFdzQF2hgSez19Bw Pz/yF2LwNs66EfFvv78btF48eQHeOkp90MrnA7lIenW8oOoAnc0Ci+BH4eIr1x+W 8MI9NLHaRIn9fy1A8hjYTB3Njs37U4WqwX7xOXI4GuQbIbhwpuKBku/7JJdduiVZ 9wC9RwUZ8C524sLczdxguh40vsX7F1dJ4zzjTR5yRTTdoy0t0v6HwvG8DdqARAtV Aa3AFT3UoaAT5TcZT8Hfjpf3rwRwR0nPH2mg61JKCho9XhKsQj8+oYbzMQglNUZR /Syod7nf2ZI/nvMH9mTsIL8GZJhgJFV2gQOJTpKtOWE/RCuKDu0YP+2i0UodzSJi gipWV2Lk4XJIDnLBAAOhWJ9C+nL5I6C8WB2wKebqlFKAsRGligQ= =fjU/ -----END PGP SIGNATURE-----