Siemens SIMATIC S7-1500 TM MFP Linux Kernel Improper Access Control (CVE-2021-4037)

high Tenable OT Security Plugin ID 502933

Synopsis

The remote OT asset is affected by a vulnerability.

Description

A vulnerability was found in the fs/inode.c:inode_init_owner() function logic of the LInux kernel that allows local users to create files for the XFS file-system with an unintended group ownership and with group execution and SGID permission bits set, in a scenario where a directory is SGID and belongs to a certain group and is writable by a user who is not a member of this group. This can lead to excessive permissions granted in case when they should not. This vulnerability is similar to the previous CVE-2018-13405 and adds the missed fix for the XFS.

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: 502933

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 2/25/2025

Updated: 2/25/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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:P/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 Ease: No known exploits are available

Patch Publication Date: 6/13/2023

Vulnerability Publication Date: 6/13/2023

Reference Information

CVE: CVE-2021-4037

CWE: 284

ICSA: 23-166-11