Siemens SIMATIC S7-1500 Use After Free (CVE-2024-49982)

high Tenable OT Security Plugin ID 504212

Synopsis

The remote OT asset is affected by a vulnerability.

Description

In the Linux kernel, the following vulnerability has been resolved:
aoe: fix the potential use-after-free problem in more places For fixing CVE-2023-6270, f98364e92662 (aoe: fix the potential use-after- free problem in aoecmd_cfg_pkts) makes tx() calling dev_put() instead of doing in aoecmd_cfg_pkts(). It avoids that the tx() runs into use- after-free. Then Nicolai Stange found more places in aoe have potential use-after-free problem with tx(). e.g. revalidate(), aoecmd_ata_rw(), resend(), probe() and aoecmd_cfg_rsp(). Those functions also use aoenet_xmit() to push packet to tx queue. So they should also use dev_hold() to increase the refcnt of skb->dev. On the other hand, moving dev_put() to tx() causes that the refcnt of skb->dev be reduced to a negative value, because corresponding dev_hold() are not called in revalidate(), aoecmd_ata_rw(), resend(), probe(), and aoecmd_cfg_rsp(). This patch fixed this issue.

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/html/ssa-398330.html

https://cert-portal.siemens.com/productcert/html/ssa-355557.html

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

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

Plugin Details

Severity: High

ID: 504212

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 11/13/2025

Updated: 11/18/2025

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_xc-400_series_firmware, cpe:/o:siemens:scalance_xc-300_series_firmware, cpe:/o:siemens:scalance_xr-300_series_firmware, cpe:/o:siemens:scalance_xr-500wg_series_firmware, cpe:/o:siemens:simatic_s7-1500_cpu_firmware:3.1.5, cpe:/o:siemens:scalance_xrm-300_series_firmware, cpe:/o:siemens:ruggedcom_rst2428p_firmware:3.2, cpe:/o:siemens:scalance_xcm-300_series_firmware, cpe:/o:siemens:scalance_xrh-300_series_firmware, cpe:/o:siemens:scalance_xr-500_series_firmware, cpe:/o:siemens:siplus_s7-1500_cpu_firmware:3.1.5, cpe:/o:siemens:scalance_xch-300_series_firmware

Required KB Items: Tenable.ot/Siemens

Exploit Ease: No known exploits are available

Patch Publication Date: 12/12/2023

Vulnerability Publication Date: 12/12/2023

Reference Information

CVE: CVE-2024-49982

CWE: 416