Siemens SIMATIC and SCALANCE Use After Free (CVE-2023-3776)

high Tenable OT Security Plugin ID 504445

Synopsis

The remote OT asset is affected by a vulnerability.

Description

A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation.
If tcf_change_indev() fails, fw_set_parms() will immediately return an error after incrementing or decrementing the reference counter in tcf_bind_filter(). If an attacker can control the reference counter and set it to zero, they can cause the reference to be freed, leading to a use-after-free vulnerability.

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 update V2.4 for SCALANCE X-300 and recommends updating to the latest version.

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 the associated Siemens security advisory SSA-806742 in HTML and CSAF.

See Also

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

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

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

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

https://www.cisa.gov/news-events/ics-advisories/icsa-24-046-11

Plugin Details

Severity: High

ID: 504445

File Name: tenable_ot_siemens_CVE-2023-3776.nasl

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 11/14/2025

Updated: 2/14/2026

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

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

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-2023-3776

CWE: 416

ICSA: 24-046-11