-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 # SSA-310038: Multiple Vulnerabilities in SCALANCE X Switch Devices Publication Date: 2022-07-12 Last Update: 2023-04-11 Current Version: 1.1 CVSS v3.1 Base Score: 9.6 SUMMARY ======= Several SCALANCE X switches contain multiple vulnerabilities. An unauthenticated attacker could reboot, cause denial-of-service conditions and potentially impact the system by other means through heap and buffer overflow vulnerabilities. Siemens has released updates for several affected products and recommends to update to the latest versions. Siemens is preparing further updates and recommends specific countermeasures for products where updates are not, or not yet available. AFFECTED PRODUCTS AND SOLUTION ============================== * SCALANCE X200-4P IRT (6GK5200-4AH00-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X201-3P IRT (6GK5201-3BH00-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X201-3P IRT PRO (6GK5201-3JR00-2BA6) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X202-2IRT (6GK5202-2BB00-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X202-2IRT (6GK5202-2BB10-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X202-2P IRT (6GK5202-2BH00-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X202-2P IRT PRO (6GK5202-2JR00-2BA6) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X204-2 (6GK5204-2BB10-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X204-2FM (6GK5204-2BB11-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X204-2LD (6GK5204-2BC10-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X204-2LD TS (6GK5204-2BC10-2CA2) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X204-2TS (6GK5204-2BB10-2CA2) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X204IRT (6GK5204-0BA00-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X204IRT (6GK5204-0BA10-2BA3) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X204IRT PRO (6GK5204-0JA00-2BA6) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE X206-1 (6GK5206-1BB10-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X206-1LD (6GK5206-1BC10-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X208 (6GK5208-0BA10-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X208PRO (6GK5208-0HA10-2AA6) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X212-2 (6GK5212-2BB00-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X212-2LD (6GK5212-2BC00-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X216 (6GK5216-0BA00-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE X224 (6GK5224-0BA00-2AA3) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE XF201-3P IRT (6GK5201-3BH00-2BD2) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE XF202-2P IRT (6GK5202-2BH00-2BD2) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE XF204 (6GK5204-0BA00-2AF2) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE XF204-2 (6GK5204-2BC00-2AF2) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE XF204-2BA IRT (6GK5204-2AA00-2BD2) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE XF204IRT (6GK5204-0BA00-2BF2) - Affected versions: All versions < V5.5.2 - Remediation: Update to V5.5.2 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109817790/ * SCALANCE XF206-1 (6GK5206-1BC00-2AF2) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ * SCALANCE XF208 (6GK5208-0BA00-2AF2) - Affected versions: All versions < V5.2.6 - Remediation: Update to V5.2.6 or later version See recommendations from section "Workarounds and Mitigations" - Download: https://support.industry.siemens.com/cs/ww/en/view/109811753/ WORKAROUNDS AND MITIGATIONS =========================== Siemens has identified the following specific workarounds and mitigations that customers can apply to reduce the risk: * Restrict access to the affected systems, especially to port 80/tcp and port 443/tcp to trusted IP addresses only * Deactivate the webserver if not required, and if deactivation is supported by the product Product-specific remediations or mitigations can be found in the section "Affected Products and Solution". Please follow the "General Security Recommendations". 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 =================== SCALANCE X switches are used to connect industrial components like Programmable Logic Controllers (PLCs) or Human Machine Interfaces (HMIs). SIPLUS extreme products are designed for reliable operation under extreme conditions and are based on SIMATIC, LOGO!, SITOP, SINAMICS, SIMOTION, SCALANCE or other devices. SIPLUS devices use the same firmware as the product they are based on. 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-2022-26647 The webserver of affected devices calculates session ids and nonces in an insecure manner. This could allow an unauthenticated remote attacker to brute-force session ids and hijack existing sessions. CVSS v3.1 Base Score: 8.8 CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C CWE: CWE-330: Use of Insufficiently Random Values * Vulnerability CVE-2022-26648 Affected devices do not properly validate the GET parameter XNo of incoming HTTP requests. This could allow an unauthenticated remote attacker to crash affected devices. CVSS v3.1 Base Score: 8.2 CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H/E:P/RL:O/RC:C CWE: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') * Vulnerability CVE-2022-26649 Affected devices do not properly validate the URI of incoming HTTP GET requests. This could allow an unauthenticated remote attacker to crash affected devices. CVSS v3.1 Base Score: 9.6 CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C CWE: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 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 (2022-07-12): Publication Date V1.1 (2023-04-11): Added fix for SCALANCE X-200IRT switch family 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. Copyright: Siemens 2023 -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHyx/myPwjH9jB9tDlm7gTEmyujQFAmQ0owAACgkQlm7gTEmy ujRwiBAAvsi39+8tIiFoYDG7berhJQkY6TtT8IoDEpl93PXnAmirHAyd/r4lb5qV V4Slo1pAR1mFGmIi3HSv7KQ+5XZdM0515YQpbvbGvqQfTkmN9HphsgU16+XVYFh0 XdVrj/pJj5NNvKkLZ6Ch4cAjIMIjGCry6FGlGmBj78HfJiNIYy/7pGPbRvcYGZ4e JIvk4ncg7KOes5fscm9ae8OKXKG9Q9ihBWW0Ilt57a7FEApgiWgSS4VSongD1umv ZE2IywkUgiGyvITw3WCQiNgbHSvphpNVgjBQ5flpy0DXICM7aQdS95xNEZ/XlBpb ZrQUnTd/HOAbnV0qxRomAMcsrSzG5i7YScCAqgtJrkPAsa+uMWhtsGt6M92wDbD6 va+RGg1Ii27y+OZrJftpB5CwtWUTT3n+68vQAZSs+1Cs3opemGSO+FS09j90UJNm txke5dRs+PdH+sNxDKhNCSu6o9Szk6fVvilmMRe3ITs5O7kmZCFpHc0BqrbqIo4L v/PTyrFbVTq1m9pVY2UT8IujyevasW/GDlJKstfPD8g0AI36ii50BXe8RBmJ1eGH P8n61HYz5ujGU7srTrovN0GdB/KbNZvz/cubnrki0pTX3uK33UdjoAy64I1ssLHB vrxcv+ZJhCHQH+diiItP7S99an8eUx2xq5ytE0Y4Td13SMYdr6Q= =NyyW -----END PGP SIGNATURE-----