Skip to main content

Ruijie RG-EW1800GX CVE-2025-56106

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
    Reach router management interface
  2. Delivery
    Authenticate with low-privilege credentials
  3. Exploit
    Send crafted POST to module_set
  4. Execution
    Inject OS command into nbr_cwmp.lua
  5. Persist
    Execute arbitrary commands on device
  6. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.8% 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 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

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 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).

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
2.8%
Top 14% exploitable
Prevalence
Low
regional SMB/consumer Wi-Fi router, limited global production footprint
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 2.8%
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:rg-ew1800gx_firmware:3.0\(1\)b11p226:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-est350_firmware:3.0\(1\)b11p221:*:*:*:*:*:*:*

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