Siemens TCP Event Service of SCALANCE And RUGGEDCOM Devices Improper Input Validation (CVE-2022-31766)

high Tenable OT Security Plugin ID 500884

Synopsis

The remote OT asset is affected by a vulnerability.

Description

A vulnerability has been identified in RUGGEDCOM RM1224 LTE(4G) EU (All versions < V7.1.2), RUGGEDCOM RM1224 LTE(4G) NAM (All versions < V7.1.2), SCALANCE M804PB (All versions < V7.1.2), SCALANCE M812-1 ADSL-Router (Annex A) (All versions < V7.1.2), SCALANCE M812-1 ADSL- Router (Annex B) (All versions < V7.1.2), SCALANCE M816-1 ADSL-Router (Annex A) (All versions < V7.1.2), SCALANCE M816-1 ADSL-Router (Annex B) (All versions < V7.1.2), SCALANCE M826-2 SHDSL-Router (All versions < V7.1.2), SCALANCE M874-2 (All versions < V7.1.2), SCALANCE M874-3 (All versions < V7.1.2), SCALANCE M876-3 (EVDO) (All versions < V7.1.2), SCALANCE M876-3 (ROK) (All versions < V7.1.2), SCALANCE M876-4 (All versions < V7.1.2), SCALANCE M876-4 (EU) (All versions < V7.1.2), SCALANCE M876-4 (NAM) (All versions < V7.1.2), SCALANCE MUM853-1 (EU) (All versions < V7.1.2), SCALANCE MUM856-1 (EU) (All versions < V7.1.2), SCALANCE MUM856-1 (RoW) (All versions < V7.1.2), SCALANCE S615 (All versions < V7.1.2), SCALANCE S615 EEC (All versions < V7.1.2), SCALANCE WAM763-1 (All versions >= V1.1.0 < V2.0), SCALANCE WAM766-1 (EU) (All versions >= V1.1.0 < V2.0), SCALANCE WAM766-1 (US) (All versions >= V1.1.0 < V2.0), SCALANCE WAM766-1 EEC (EU) (All versions >= V1.1.0 < V2.0), SCALANCE WAM766-1 EEC (US) (All versions >= V1.1.0 < V2.0), SCALANCE WUM763-1 (All versions >= V1.1.0 < V2.0), SCALANCE WUM763-1 (All versions >= V1.1.0 < V2.0), SCALANCE WUM766-1 (EU) (All versions >= V1.1.0 < V2.0), SCALANCE WUM766-1 (US) (All versions >= V1.1.0 < V2.0). Affected devices with TCP Event service enabled do not properly handle malformed packets. This could allow an unauthenticated remote attacker to cause a denial of service condition and reboot the device thus possibly affecting other network resources.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original can be found at CISA.gov.

Siemens has released updates for several affected products and recommends updating to the latest versions. Siemens is preparing further updates and recommends specific countermeasures for products where updates are not, or not yet available:

- RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2): Update to v7.1.2 or later
- RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2): Update to v7.1.2 or later
- SCALANCE M804PB (6GK5804-0AP00-2AA2): Update to v7.1.2 or later
- SCALANCE M812-1 ADSL-Router (Annex A) (6GK5812-1AA00-2AA2): Update to v7.1.2 or later
- SCALANCE M812-1 ADSL-Router (Annex B) (6GK5812-1BA00-2AA2): Update to v7.1.2 or later
- SCALANCE M816-1 ADSL-Router (Annex A) (6GK5816-1AA00-2AA2): Update to v7.1.2 or later
- SCALANCE M816-1 ADSL-Router (Annex B) (6GK5816-1BA00-2AA2): Update to v7.1.2 or later
- SCALANCE M826-2 SHDSL-Router (6GK5826-2AB00-2AB2): Update to v7.1.2 or later
- SCALANCE M874-2 (6GK5874-2AA00-2AA2): Update to v7.1.2 or later
- SCALANCE M874-3 (6GK5874-3AA00-2AA2): Update to v7.1.2 or later
- SCALANCE M876-3 (EVDO) (6GK5876-3AA02-2BA2): Update to v7.1.2 or later
- SCALANCE M876-3 (ROK) (6GK5876-3AA02-2EA2): Update to v7.1.2 or later
- SCALANCE M876-4 (EU) (6GK5876-4AA00-2BA2): Update to v7.1.2 or later
- SCALANCE M876-4 (NAM) (6GK5876-4AA00-2DA2): Update to v7.1.2 or later
- SCALANCE MUM853-1 (EU) (6GK5853-2EA00-2DA1): Update to v7.1.2 or later
- SCALANCE MUM856-1 (EU) (6GK5856-2EA00-3DA1): Update to v7.1.2 or later
- SCALANCE MUM856-1 (RoW) (6GK5856-2EA00-3AA1): Update to v7.1.2 or later
- SCALANCE S615 (6GK5615-0AA00-2AA2): Update to v7.1.2 or later

Siemens has identified the following specific workarounds and mitigations that customers can apply to reduce risk:

- Deactivate the TCP Event feature, which is not active by default.
- Restrict access to the TCP Event Service port (default 26864/TCP) to only trusted networks and client IP addresses.

As a general security measure, Siemens recommends protecting network access to devices with appropriate mechanisms. To operate the devices in a protected IT environment, Siemens recommends configuring the environment according to Siemens’ operational guidelines for industrial security and following recommendations in the product manuals.

Additional information on industrial security by Siemens can be found on the Siemens industrial security webpage.

For more information see Siemens Security Advisory SSA-697140 in HTML or CSAF.

See Also

https://cert-portal.siemens.com/productcert/pdf/ssa-697140.pdf

https://www.cisa.gov/news-events/ics-advisories/icsa-22-286-08

Plugin Details

Severity: High

ID: 500884

Version: 1.6

Type: remote

Family: Tenable.ot

Published: 3/20/2023

Updated: 9/4/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2022-31766

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:siemens:scalance_mum856-1_firmware, cpe:/o:siemens:scalance_m874-3_firmware, cpe:/o:siemens:scalance_wam763-1_firmware, cpe:/o:siemens:scalance_m812-1_firmware, cpe:/o:siemens:scalance_m816-1_firmware, cpe:/o:siemens:scalance_wum763-1_firmware, cpe:/o:siemens:ruggedcom_rm1224_firmware, cpe:/o:siemens:scalance_m826-2_firmware, cpe:/o:siemens:scalance_mum853-1_firmware, cpe:/o:siemens:scalance_m874-2_firmware, cpe:/o:siemens:scalance_m876-3_firmware, cpe:/o:siemens:scalance_wam766-1_firmware, cpe:/o:siemens:scalance_wum766-1_firmware, cpe:/o:siemens:scalance_m876-4_firmware, cpe:/o:siemens:scalance_s615_firmware, cpe:/o:siemens:scalance_m804pb_firmware

Required KB Items: Tenable.ot/Siemens

Exploit Ease: No known exploits are available

Patch Publication Date: 10/11/2022

Vulnerability Publication Date: 10/11/2022

Reference Information

CVE: CVE-2022-31766

CWE: 20

ICSA: 22-286-08