Ruijie RG-EW1800GX CVE-2025-56106
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router management interface
-
DeliveryAuthenticate with low-privilege credentials
-
ExploitSend crafted POST to module_set
-
ExecutionInject OS command into nbr_cwmp.lua
-
PersistExecute arbitrary commands on device
-
ImpactFull device compromise
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 network access to the device management plane plus at least low-privilege authentication (CVSS PR:L) to the Ruijie RG-EW1800GX web/management interface, after which a crafted POST request to the 'module_set' endpoint handled by /usr/local/lua/dev_sta/nbr_cwmp.lua injects arbitrary OS commands. Limiting factors: the attacker must already hold a valid low-privilege session or credentials (default/weak credentials or session reuse would satisfy this), the management interface must be reachable from the attacker, and the affected firmware build (B11P226_EW1800GX_10223121 / 3.0(1)B11P226, and per CPE the RG-EST350 3.0(1)B11P221 build) must be in use. No end-user interaction is required (UI:N). |
| Impact | This is a credible, elevated-priority issue but not a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H, base 8.8) indicates network-reachable, low-complexity exploitation that yields full device compromise, but the PR:L component means some level of authentication to the router is required - it is NOT an unauthenticated remote takeover. Publicly available exploit code exists (a GitHub write-up plus hosted PoC files), which lowers the barrier to opportunistic abuse. The EPSS score of 2.76% (86th percentile) is moderate - above average but far from the high-probability tier - which is consistent with a PoC-available, authentication-gated router bug rather than a mass-exploited, pre-auth flaw. This CVE is NOT listed in CISA KEV, so there is no confirmed active exploitation. No SSVC decision data was supplied in the input, so exploitation/automatable/technical-impact classifications cannot be cross-referenced. Net: the signals are internally consistent (authenticated command injection with working PoC, moderate EPSS, no KEV), pointing to a real but likely targeted/opportunistic risk against exposed or default-credential devices rather than widespread automated exploitation. |
| Exploit ScenarioDerived | An attacker who can reach the router's management interface and possesses low-privilege credentials (or exploits default/weak credentials, or a victim's authenticated session) sends a crafted POST request to the module_set handler. Because input is passed unsafely to an OS shell in nbr_cwmp.lua, the attacker executes arbitrary commands and gains full control of the device. Publicly available exploit code (GitHub write-up and hosted PoC files) means a working attack path is already documented. |
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 Ruijie RG-EW1800GX firmware build B11P226_EW1800GX_10223121 (and, per CPE data, the RG-EST350 build 3.0(1)B11P221) lets remote attackers who already hold a low-privilege session execute arbitrary shell commands on the device by sending a crafted POST request to the module_set endpoint handled by /usr/local/lua/dev_sta/nbr_cwmp.lua, resulting in high confidentiality, integrity and availability impact. Publicly available exploit code exists (posted exploit references and a vendor-adjacent GitHub write-up), and EPSS rates the issue at 2.76% (86th percentile), but there is no CISA KEV confirmation of active exploitation. Our assessment classifies this as a credible, elevated-priority issue requiring remediation, but not a top-tier emergency, since the attacker must first reach the management plane with valid low-privilege credentials.
RemediationAI
Patch status: No vendor-released patch identified at time of analysis, so remediation must be compensating-control driven until Ruijie publishes fixed firmware. First, eliminate the exposure path: disable or firewall off remote/WAN management of the RG-EW1800GX and RG-EST350 and restrict the web management interface to a trusted management VLAN or jump host, accepting that this prevents remote administration. Second, close the authentication prerequisite by replacing all default and weak administrator credentials with strong unique passwords and invalidating stale or shared sessions, since the CVSS PR:L requirement means default or reused credentials are sufficient to trigger the injection. Third, monitor for anomalous POST requests to the module_set endpoint and for shell activity from the firmware's Lua/CWMP processes, and ingest alerts into the SIEM. Fourth, network-segment these devices so that post-exploitation command execution cannot pivot into broader infrastructure, at the cost of additional routing/firewall complexity. Where remote management is mandatory, terminate management access behind a hardened VPN with MFA and restrict source IPs, accepting the added operational overhead. Consult the public advisory at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56106.md and watch Ruijie's official support channels for a fixed firmware release, applying it as soon as it becomes available.
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 vulnerability is a classic CWE-78 OS command injection in the device's Lua-based management logic. Ruijie RG-EW1800GX and RG-EST350 devices run an embedded Linux firmware stack in which the CWMP/TR-069 neighbor-discovery handling is implemented in Lua; the file /usr/local/lua/dev_sta/nbr_cwmp.lua exposes a module_set routine that passes attacker-supplied request parameters into a shell invocation without adequate sanitization or escaping. Because the CVSS vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, exploitation is network-reachable and low-complexity but requires at least low-privilege authentication to the web/management interface; no user interaction is needed. The CPE strings pin the affected firmware precisely to ruijie:rg-ew1800gx_firmware 3.0(1)B11P226 and ruijie:rg-est350_firmware 3.0(1)B11P221, indicating a shared code lineage across these device families. Successful injection runs as the firmware's service account (typically root or a privileged daemon), so the CIA impact is total for the device.
Know when Rg Ew1800Gx 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 interface (AV:N) with simple crafted POST (AC:L) but requires low-privilege authentication to the router (PR:L); command injection yields full device compromise (C/I/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
OS Command Injection vulnerability in Ruijie RG-EW1800GX B11P226_EW1800GX_10223121 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 RG-EW1800GX and RG-EST350 wireless gateways running firmware builds B11P226_EW1800GX_10223121 and 3.0(1)B11P221 contain a command-injection flaw in the device management interface that permits arbitrary command execution once an attacker already holds a low-privilege management session, and publicly available exploit code exists. Because these devices commonly serve as branch and small-office network edge and management points, a compromise can expose or alter the traffic, configurations, and connected users they handle. No vendor-released patch is currently identified, so near-term risk reduction depends on network and access controls rather than software remediation, and leadership should treat this as an elevated-priority, time-bound exposure rather than a routine update.
No vendor patch is available. Interim mitigations: isolate affected devices on a dedicated, segmented management VLAN with strict firewall rules limiting management access to trusted administrative hosts; disable remote management, CWMP/TR-069, and any internet-exposed administrative services; enforce least privilege and rotate all device credentials; monitor and alert on POST requests to the module_set endpoint and on /usr/local/lua/dev_sta/nbr_cwmp.lua activity; deploy IDS/IPS signatures for the known exploit pattern; and replace or isolate units that must remain internet-reachable until vendor firmware is released.
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 Rg Ew1800Gx Firmware
View allOS command injection in the Ruijie RG-EW1800GX and RG-EW300R router firmware allows an authenticated attacker to execute
OS command injection in Ruijie RG-EW1800GX PRO (and related RG-EW1800GX / RG-EW300N) router firmware lets an attacker wh
Authenticated OS command injection in Ruijie RG-EW1800GX (firmware B11P226) and RG-EW300R (firmware B11P301) routers let
Remote code execution vulnerability in Ruijie Networks Product: RG-EW series home routers and repeaters EW_3.0(1)B11P204
NVD
CVE.org
EPSS
GitHub
Exploit-DB