Ruijie X30-PRO
CVE-2025-56117
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to device web/management interface
-
DeliveryCraft POST to module_set in nbr_cwmp.lua
-
ExploitInject shell metacharacters into parameter
-
ExecutionTrigger OS command injection (CWE-78)
-
ImpactExecute arbitrary commands on router
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access at a low privilege level (CVSS PR:L) to the Ruijie X30-PRO management service, after which a single crafted POST request to the 'module_set' operation handled by /usr/local/lua/dev_sta/nbr_cwmp.lua injects attacker-controlled input into an OS command. No user interaction is needed (UI:N) and attack complexity is low (AC:L). The primary limiting factors are the need for valid (even low-level) credentials and network reachability of the management interface - devices whose administrative interface is not exposed to untrusted networks substantially reduce real-world exposure. The nbr_cwmp.lua path suggests the handler is associated with CWMP/TR-069 neighbor-device functionality, so deployments using that management plane are most relevant. |
| Impact | Signals are largely consistent and point to a genuine but second-tier priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity command injection requiring only low-privilege authentication, with full impact to confidentiality, integrity and availability - appropriate for an OS command injection (CWE-78) that typically yields code execution as the device service account. A public POC exists (GitHub advisory by researcher 'flegoity'), which raises practical risk since a working reproduction lowers the bar for attackers. However, EPSS is only 3.05% (87th percentile) - elevated versus the median but not indicative of imminent mass exploitation. The CVE is NOT in CISA KEV and there is no evidence of active exploitation. No SSVC decision data was provided in the input. The authentication requirement (PR:L) is the main mitigating factor and tempers the otherwise high CVSS; this is a real issue worth patching promptly on exposed Ruijie devices, but it is not a drop-everything zero-day. Note the vendor/firmware ambiguity: the CPE list pairs the X30-PRO with an 'rg-est310_firmware' entry, which should be confirmed against the actual affected model inventory. |
| Exploit ScenarioDerived | An attacker who has obtained low-privilege authenticated access to a Ruijie X30-PRO's management interface sends a crafted POST request to the 'module_set' handler in /usr/local/lua/dev_sta/nbr_cwmp.lua, injecting shell metacharacters into a parameter that is passed unsanitized to an OS command. This yields arbitrary command execution on the device, enabling full compromise of the router. A public proof-of-concept is available, making reproduction straightforward for an authenticated attacker; low attack complexity (AC:L) means no special timing or race conditions are needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Authenticated OS command injection in the Ruijie X30-PRO (and RG-EST310) firmware allows a low-privileged user to execute arbitrary commands on the device by sending a single crafted POST request to the 'module_set' operation handled by /usr/local/lua/dev_sta/nbr_cwmp.lua. According to the CVSS vector (AV:N/AC:L/PR:L/UI:N), exploitation is remote, low complexity, and requires only valid low-level credentials against the management service, with high impact to confidentiality, integrity, and availability. Publicly available exploit code exists, and the EPSS score of 3.05% (87th percentile) indicates elevated relative risk, though there is no confirmation of active exploitation.
RemediationAI
No vendor-released patch was identified at time of analysis, so administrators must rely on compensating controls until Ruijie publishes an advisory or firmware update; the third-party report at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56117.md documents the flaw for tracking purposes. The most effective mitigation is to remove the management interface from untrusted networks: block external access to the device web/management service at the firewall and require access only through a trusted management VLAN or VPN, accepting that this limits remote administration convenience. Where CWMP/TR-069 and neighbor-discovery management features are not required, disable them or restrict the module_set/nbr_cwmp functionality if the firmware permits, understanding that this may break centralized management. Because exploitation requires valid low-privilege credentials, rotate default and shared administrative passwords, enforce strong unique credentials, and audit accounts for unnecessary privileges. Monitor device management logs for anomalous POST requests to the module_set endpoint or unexpected outbound connections that could indicate command execution post-compromise.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), specifically an OS command injection reachable through the CWMP/TR-069-related Lua handler /usr/local/lua/dev_sta/nbr_cwmp.lua on Ruijie X30-PRO firmware. As indicated by the nbr_cwmp.lua path and the module_set operation, the vulnerable code belongs to the device's neighbor/CWMP management functionality, which passes attacker-controlled input from a POST request into an OS command without sanitization. Because the flaw is in firmware executed on the device, successful injection yields command execution in the context of the web/management service, typically with the privileges of that process (often root on embedded network gear). The CPE data lists Ruijie X30-PRO firmware (cpe:2.3:o:ruijie:x30_pro_firmware) and Ruijie RG-EST310 firmware version 3.0(1)b11p211 (cpe:2.3:o:ruijie:rg-est310_firmware:3.0\(1\)b11p211) as affected, and the linked GitHub report describes multiple Ruijie devices, suggesting the vulnerable Lua module is shared across firmware builds.
Know when X30 Pro Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable management handler (AV:N) with a working POST POC (AC:L) needs valid low-privilege credentials (PR:L); command injection grants full device code execution, so C/I/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
OS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_sta/nbr_cwmp.lua.
Executive ViewAI
Ruijie X30-PRO and RG-EST310 wireless access point firmware contains an authenticated command injection flaw (CVE-2025-56117, CVSS 8.8) that lets anyone holding even low-privilege device credentials execute arbitrary commands on the hardware, giving them full control of the device. Because these are network edge devices, a compromised unit can expose the traffic and credentials of everyone connected to it, and the widespread deployment of Ruijie equipment in retail, hospitality, education, and branch-office environments means a single overlooked device can serve as a pivot into the wider corporate network. Leadership should treat this as a priority remediation item for any site running this hardware, particularly since no vendor patch is currently available and public exploit code is already circulating.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict the management interface to trusted networks via VLAN segmentation and IP allowlisting; disable remote/WAN-side management and CWMP where not required; enforce strong unique credentials and remove unnecessary low-privilege accounts; monitor and alert on crafted POST requests to the module_set operation in /usr/local/lua/dev_sta/nbr_cwmp.lua; isolate affected access points from internal subnets; and plan hardware replacement if isolation cannot be guaranteed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in X30 Pro Firmware
View allAuthenticated command injection in Ruijie X30-PRO and RG-EW300 PRO router firmware allows an attacker with low-privilege
OS command injection in Ruijie X30-PRO firmware (build X30-PRO-V1_09241521) and related RG-EW300 PRO and RG-EAP602 build
Authenticated OS command injection in Ruijie X30 Pro (firmware X30-PRO-V1_09241521) and RG-EW300T router firmware lets a
Authenticated OS command injection in Ruijie X30-PRO wireless routers and related Ruijie wireless firmware (RG-EAP602, R
OS command injection in Ruijie X30-PRO (firmware X30-PRO-V1_09241521) and Ruijie RG-EW300 Pro (firmware 3.0(1)b11p219) a
NVD
CVE.org
EPSS
GitHub
Exploit-DB