CVE-2025-40947 Overview
CVE-2025-40947 is a command injection vulnerability [CWE-78] affecting multiple Siemens RUGGEDCOM ROX series devices running firmware versions below V2.17.1. The flaw resides in the feature key installation process, where the device fails to sanitize user-supplied input. An authenticated remote attacker can inject arbitrary operating system commands and achieve remote code execution with root privileges on the underlying Linux operating system. RUGGEDCOM ROX devices are deployed in industrial and critical infrastructure environments, including substations, transportation, and process control networks.
Critical Impact
Authenticated attackers can achieve root-level remote code execution on industrial routing devices managing operational technology networks.
Affected Products
- RUGGEDCOM ROX MX5000 and MX5000RE (all versions before V2.17.1)
- RUGGEDCOM ROX RX1400, RX1500, RX1501, RX1510, RX1511, RX1512, RX1524, RX1536 (all versions before V2.17.1)
- RUGGEDCOM ROX RX5000 (all versions before V2.17.1)
Discovery Timeline
- 2026-05-12 - CVE-2025-40947 published to NVD
- 2026-05-12 - Last updated in NVD database
Technical Details for CVE-2025-40947
Vulnerability Analysis
The vulnerability is an OS command injection flaw [CWE-78] in the feature key installation workflow of RUGGEDCOM ROX firmware. Feature keys are used to unlock licensed functionality on the device. During installation, user-controlled data is passed to a shell or system command interpreter without proper sanitization or argument escaping. An authenticated attacker with access to the management interface can embed shell metacharacters in the input to break out of the intended command context. The injected commands execute under the root account on the underlying operating system, giving the attacker full control over the device.
Root Cause
The root cause is improper neutralization of special elements used in an OS command [CWE-78]. The feature key installation handler concatenates attacker-controlled input into a command string that is then executed by the system shell. Shell metacharacters such as ;, |, &, and backticks are not filtered or escaped before execution.
Attack Vector
Exploitation requires network access to the device management interface and valid authentication credentials with privileges to install feature keys. The attack complexity is rated high, suggesting the exploit path may require specific conditions or knowledge of internal command formats. Successful exploitation grants root-level code execution, allowing attackers to modify firmware, pivot into OT networks, intercept traffic, or disable safety controls.
No verified public proof-of-concept code is available. Refer to the Siemens Security Advisory SSA-078743 for vendor-confirmed technical details.
Detection Methods for CVE-2025-40947
Indicators of Compromise
- Unexpected child processes spawned by the ROX management daemon or web interface during or after feature key installation operations.
- Audit log entries showing feature key installation events from unexpected source IP addresses or user accounts.
- Outbound network connections from the device to attacker-controlled infrastructure following administrative authentication.
- Unusual modifications to system files, cron entries, or startup scripts on the device file system.
Detection Strategies
- Monitor authentication logs for successful logins to RUGGEDCOM ROX management interfaces from non-administrative network segments.
- Inspect configuration management traffic for feature key installation requests containing shell metacharacters such as ;, |, &, $(), or backticks.
- Correlate device management sessions with subsequent anomalous network behavior originating from the device.
Monitoring Recommendations
- Forward RUGGEDCOM ROX syslog data to a centralized SIEM and alert on feature key installation events.
- Capture and inspect NETCONF, CLI, and web management traffic via network sensors positioned at OT/IT boundaries.
- Establish baselines of normal administrative activity on each ROX device and alert on deviations.
How to Mitigate CVE-2025-40947
Immediate Actions Required
- Upgrade all affected RUGGEDCOM ROX devices to firmware version V2.17.1 or later as published by Siemens.
- Restrict management interface access to dedicated administrative networks using firewall rules or VLAN segmentation.
- Rotate credentials for all accounts authorized to perform feature key installation on affected devices.
- Audit recent feature key installation activity in device logs for signs of exploitation.
Patch Information
Siemens has released firmware version V2.17.1 for all affected RUGGEDCOM ROX models. Patch details and download instructions are available in the Siemens Security Advisory SSA-078743.
Workarounds
- Limit access to device management interfaces to trusted hosts only, following Siemens operational guidelines for industrial security.
- Apply defense-in-depth measures including network segmentation between IT and OT environments per IEC 62443.
- Restrict the set of user accounts permitted to install feature keys to a minimal number of trusted administrators.
- Place affected devices behind VPN concentrators and require multi-factor authentication for administrative access.
# Example: restrict management access to a dedicated admin subnet
# Apply on upstream firewall protecting RUGGEDCOM ROX devices
iptables -A FORWARD -s 10.10.50.0/24 -d <rox_mgmt_ip> -p tcp --dport 443 -j ACCEPT
iptables -A FORWARD -d <rox_mgmt_ip> -p tcp --dport 443 -j DROP
iptables -A FORWARD -d <rox_mgmt_ip> -p tcp --dport 22 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


