Siemens SCALANCE XCM332 Incorrect Default Permissions (CVE-2022-32207)

critical Tenable OT Security Plugin ID 501080

Synopsis

The remote OT asset is affected by a vulnerability.

Description

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended.

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 an update for the SCALANCE XCM332 and recommends updating to the latest version:

- SCALANCE XCM332 (6GK5332-0GA01-2AC2): Update to V2.2 or later 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 the recommendations in the product manuals. Additional information on Industrial Security by Siemens can be found at the Siemens Industrial Security web page.

For further inquiries on security vulnerabilities in Siemens products and solutions, users should contact the Siemens ProductCERT.

For more information see the associated Siemens security advisory SSA-558014 in HTML and CSAF.

See Also

http://www.nessus.org/u?4af41997

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

https://hackerone.com/reports/1573634

http://www.nessus.org/u?59ba3f3e

https://www.debian.org/security/2022/dsa-5197

https://security.netapp.com/advisory/ntap-20220915-0003/

https://support.apple.com/kb/HT213488

https://www.cisa.gov/news-events/ics-advisories/icsa-23-103-09

http://seclists.org/fulldisclosure/2022/Oct/41

http://seclists.org/fulldisclosure/2022/Oct/28

https://security.gentoo.org/glsa/202212-01

Plugin Details

Severity: Critical

ID: 501080

Version: 1.3

Type: remote

Family: Tenable.ot

Published: 5/2/2023

Updated: 9/4/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2022-32207

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

Vulnerability Information

CPE: cpe:/o:siemens:scalance_xcm332_firmware

Required KB Items: Tenable.ot/Siemens

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/7/2022

Vulnerability Publication Date: 7/7/2022

Reference Information

CVE: CVE-2022-32207

CWE: 276

DSA: DSA-5197

FEDORA: FEDORA-2022-1b3d7f6973

GLSA: GLSA-202212-01

ICSA: 23-103-09