Skip to main content

Ruijie X30-PRO CVE-2025-56117

HIGH
OS Command Injection (CWE-78)
2025-12-11 cve@mitre.org
8.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to device web/management interface
  2. Delivery
    Craft POST to module_set in nbr_cwmp.lua
  3. Exploit
    Inject shell metacharacters into parameter
  4. Execution
    Trigger OS command injection (CWE-78)
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 3.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
3.1%
Top 13% exploitable
Prevalence
Low
niche SMB/consumer networking vendor, limited footprint outside Asia
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 3.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:o:ruijie:x30_pro_firmware:-:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-est310_firmware:3.0\(1\)b11p211:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy