CVE-2022-25753 in SCALANCE X302-7 EECinfo

Summary

by MITRE • 04/12/2022

A vulnerability has been identified in SCALANCE X302-7 EEC (230V), SCALANCE X302-7 EEC (230V, coated), SCALANCE X302-7 EEC (24V), SCALANCE X302-7 EEC (24V, coated), SCALANCE X302-7 EEC (2x 230V), SCALANCE X302-7 EEC (2x 230V, coated), SCALANCE X302-7 EEC (2x 24V), SCALANCE X302-7 EEC (2x 24V, coated), SCALANCE X304-2FE, SCALANCE X306-1LD FE, SCALANCE X307-2 EEC (230V), SCALANCE X307-2 EEC (230V, coated), SCALANCE X307-2 EEC (24V), SCALANCE X307-2 EEC (24V, coated), SCALANCE X307-2 EEC (2x 230V), SCALANCE X307-2 EEC (2x 230V, coated), SCALANCE X307-2 EEC (2x 24V), SCALANCE X307-2 EEC (2x 24V, coated), SCALANCE X307-3, SCALANCE X307-3, SCALANCE X307-3LD, SCALANCE X307-3LD, SCALANCE X308-2, SCALANCE X308-2, SCALANCE X308-2LD, SCALANCE X308-2LD, SCALANCE X308-2LH, SCALANCE X308-2LH, SCALANCE X308-2LH+, SCALANCE X308-2LH+, SCALANCE X308-2M, SCALANCE X308-2M, SCALANCE X308-2M PoE, SCALANCE X308-2M PoE, SCALANCE X308-2M TS, SCALANCE X308-2M TS, SCALANCE X310, SCALANCE X310, SCALANCE X310FE, SCALANCE X310FE, SCALANCE X320-1 FE, SCALANCE X320-1-2LD FE, SCALANCE X408-2, SCALANCE XR324-12M (230V, ports on front), SCALANCE XR324-12M (230V, ports on front), SCALANCE XR324-12M (230V, ports on rear), SCALANCE XR324-12M (230V, ports on rear), SCALANCE XR324-12M (24V, ports on front), SCALANCE XR324-12M (24V, ports on front), SCALANCE XR324-12M (24V, ports on rear), SCALANCE XR324-12M (24V, ports on rear), SCALANCE XR324-12M TS (24V), SCALANCE XR324-12M TS (24V), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (24V, ports on front), SCALANCE XR324-4M EEC (24V, ports on front), SCALANCE XR324-4M EEC (24V, ports on rear), SCALANCE XR324-4M EEC (24V, ports on rear), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (2x 24V, ports on front), SCALANCE XR324-4M EEC (2x 24V, ports on front), SCALANCE XR324-4M EEC (2x 24V, ports on rear), SCALANCE XR324-4M EEC (2x 24V, ports on rear), SCALANCE XR324-4M PoE (230V, ports on front), SCALANCE XR324-4M PoE (230V, ports on rear), SCALANCE XR324-4M PoE (24V, ports on front), SCALANCE XR324-4M PoE (24V, ports on rear), SCALANCE XR324-4M PoE TS (24V, ports on front), SIPLUS NET SCALANCE X308-2. The handling of arguments such as IP addresses in the CLI of affected devices is prone to buffer overflows. This could allow an authenticated remote attacker to execute arbitrary code on the device.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 04/14/2022

The vulnerability identified as CVE-2022-25753 affects a wide range of industrial network devices manufactured by Siemens, specifically targeting the SCALANCE X series switches and related equipment. These devices operate within critical infrastructure environments where reliability and security are paramount. The vulnerability resides within the command line interface implementation of these industrial network switches, making it particularly concerning given the operational technology (OT) context in which they function. The affected models span various power configurations and port layouts, indicating a systemic issue rather than an isolated defect in specific hardware variants.

The technical flaw manifests as a buffer overflow vulnerability in how the command line interface processes input arguments, particularly IP addresses. This type of vulnerability falls under CWE-121, which describes stack-based buffer overflow conditions that occur when a program writes data beyond the boundaries of a fixed-length buffer. The flaw enables an authenticated remote attacker to exploit this weakness by crafting malicious input parameters that exceed the allocated buffer space. When such input is processed, it can overwrite adjacent memory locations, potentially leading to arbitrary code execution on the target device.

From an operational perspective, this vulnerability presents a significant risk to industrial control systems and network infrastructure. The ability to execute arbitrary code remotely on network switches can lead to complete system compromise, allowing attackers to manipulate network traffic, gain unauthorized access to connected devices, or disrupt critical operations. The authenticated requirement means that an attacker must first obtain valid credentials, but this is often achievable through social engineering, credential theft, or other attack vectors common in industrial environments. The impact extends beyond individual device compromise to potentially affecting entire network segments and operational technology environments.

The vulnerability aligns with ATT&CK technique T1059.001, which covers command and scripting interpreter, as attackers could leverage this flaw to execute commands on the compromised device. Additionally, it corresponds to the broader ATT&CK tactic of Execution, where adversaries establish persistence and escalate privileges through compromised network infrastructure. Organizations using these devices should implement immediate mitigations including firmware updates from Siemens, network segmentation to limit access to these devices, and enhanced monitoring of CLI usage patterns for suspicious activities. The vulnerability highlights the importance of secure coding practices in industrial equipment and demonstrates why OT security requires specialized attention beyond traditional IT security measures.

Reservation

02/22/2022

Disclosure

04/12/2022

Moderation

accepted

CPE

ready

EPSS

0.01552

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!