Siemens SIMATIC S7-1500 Improper Limitation of a Pathname to a Restricted Directory (CVE-2023-27534)

high Tenable OT Security Plugin ID 504267

Synopsis

The remote OT asset is affected by a vulnerability.

Description

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.

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/pdf/ssa-943925.pdf

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

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

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

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

Plugin Details

Severity: High

ID: 504267

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 11/13/2025

Updated: 11/13/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/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:siplus_s7-1500_cpu_firmware:3.1.5, 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, cpe:/o:siemens:simatic_s7-1500_cpu_firmware:3.1.5

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

CWE: 22