Siemens SIMATIC S7-1500 TM MFP Linux Kernel Access of Resource Using Incompatible Type ('Type Confusion') (CVE-2022-34918)

high Tenable OT Security Plugin ID 502961

Synopsis

The remote OT asset is affected by a vulnerability.

Description

An issue was discovered in the Linux kernel through 5.18.9. A type confusion bug in nft_set_elem_init (leading to a buffer overflow) could be used by a local attacker to escalate privileges, a different vulnerability than CVE-2022-32250. (The attacker can obtain root access, but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.

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

Solution

Refer to the vendor advisory.

See Also

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

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

https://support.industry.siemens.com/cs/ww/en/view/109827684/

https://support.industry.siemens.com/cs/ww/en/view/109826613/

https://www.cisa.gov/news-events/ics-advisories/icsa-23-166-11

Plugin Details

Severity: High

ID: 502961

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 2/25/2025

Updated: 2/26/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Critical

Score: 9.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

CVSS Score Source: CVE-2022-34918

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

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

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

Vulnerability Information

CPE: cpe:/o:siemens:scalance_xcm332_firmware:2.4, cpe:/o:siemens:scalance_xrh334_%2824_v_dc%2c_8xfo%2c_cc%29_firmware:2.4, cpe:/o:siemens:scalance_xrm334_%28230_v_ac%2c_8xfo%29_firmware:2.4, cpe:/o:siemens:scalance_xch328_firmware:2.4, cpe:/o:siemens:scalance_xrm334_%2824_v_dc%2c_12xfo%29_firmware:2.4, cpe:/o:siemens:scalance_xrm334_%2824_v_dc%2c_8xfo%29_firmware:2.4, cpe:/o:siemens:scalance_xrm334_%282x230_v_ac%2c_12xfo%29_firmware:2.4, cpe:/o:siemens:scalance_xrm334_%28230_v_ac%2c_12xfo%29_firmware:2.4, cpe:/o:siemens:simatic_s7-1500_tm_mfp, cpe:/o:siemens:scalance_xrm334_%282x230_v_ac%2c_8xfo%29_firmware:2.4, cpe:/o:siemens:scalance_xcm328_firmware:2.4, cpe:/o:siemens:scalance_xcm324_firmware:2.4

Required KB Items: Tenable.ot/Siemens

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/13/2023

Vulnerability Publication Date: 6/13/2023

Exploitable With

Core Impact

Metasploit (Netfilter nft_set_elem_init Heap Overflow Privilege Escalation)

Reference Information

CVE: CVE-2022-34918

CWE: 843

ICSA: 23-166-11