Ruijie RG-EW1200G PRO
CVE-2025-56090
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to router management interface
-
DeliverySend crafted POST to module_set in config_retain.lua
-
ExploitInject OS command via unsanitized parameter
-
ExecutionExecute arbitrary commands on device
-
ImpactFull compromise of router (traffic interception, pivot)
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 reaching the device management interface and sending a crafted POST request to the module_set function in /usr/local/lua/dev_config/config_retain.lua on affected Ruijie RG-EW1200G PRO firmware (V1.00/V2.00/V3.00/V4.00; CPE also lists RG-EW1200R firmware ew_3.0(1)b11p301). Per the CVSS vector (PR:L), the attacker must hold at least low-level authenticated access to the management interface - this is the primary limiting factor, meaning strong/changed admin credentials and restricting management-interface exposure (not reachable from WAN/Internet) materially reduce risk. No end-user interaction is required (UI:N), and attack complexity is low (AC:L). |
| Impact | This is a genuine high-priority vulnerability, though not a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity flaw requiring only low-level authenticated privileges, with full high impact to confidentiality, integrity, and availability (C:H/I:H/A:H) - consistent with OS command injection (CWE-78) yielding device takeover on a router. Signals align: a public exploit exists (POC=YES) and the write-up/PoC artifacts are referenced, raising practical exploitability. EPSS is moderate at 2.91% (87th percentile) - elevated above baseline but not indicative of mass automated exploitation yet. The vulnerability is NOT listed in CISA KEV, so there is no confirmation of active in-the-wild exploitation; the available PoC indicates capability, not confirmed campaigns. The main limiting factor is PR:L: the attacker needs at least low-privilege authenticated access to the device management interface, which tempers the real-world risk for internet-exposed devices with changed default credentials, but is weak protection given routers frequently retain default/weak credentials and management interfaces are sometimes exposed. No SSVC decision data was provided in the input, so automatable/technical-impact framing cannot be independently stated. Net: a real, actionable priority for anyone running the affected Ruijie firmware, driven by public PoC plus full impact, but auth requirement and absence of KEV keep it below drop-everything urgency. |
| Exploit ScenarioDerived | An attacker with low-privilege access to the Ruijie RG-EW1200G PRO web/management interface (e.g., via weak or default credentials, or an exposed management port) sends a crafted POST request to the module_set handler in /usr/local/lua/dev_config/config_retain.lua, injecting shell metacharacters that are passed to an OS command. Because publicly available exploit code exists, this can be reproduced reliably, resulting in arbitrary command execution on the router, typically with elevated/root-level privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated OS command injection in Ruijie RG-EW1200G PRO wireless routers (firmware V1.00, V2.00, V3.00 and V4.00) allows a low-privileged user of the device management interface to execute arbitrary operating-system commands through a crafted POST request to the module_set handler in /usr/local/lua/dev_config/config_retain.lua, yielding high confidentiality, integrity and availability impact (CVSS 8.8). Per the assessed vector (AV:N/AC:L/PR:L/UI:N), the attacker must first reach the management interface and hold at least low-level authenticated access, which is the primary limiting factor; no user interaction is required and attack complexity is low. Publicly available exploit code exists (a dedicated GitHub proof-of-concept write-up plus mirrored exploit artifacts), and EPSS is 2.91% (87th percentile), indicating elevated but not top-tier predicted exploitation likelihood; there is no CISA KEV entry confirming active exploitation, and no vendor-released patch has been identified at time of analysis.
RemediationAI
No vendor-released patch was identified at time of analysis, so remediation must be compensating-control driven. The single most effective control is to remove the prerequisite: change all default and weak administrative credentials, use unique strong passwords, and ensure the router management interface is not reachable from the WAN/Internet - disable remote/cloud management and any port-forwarding or UPnP rules that expose the administrative HTTP service, accepting that this prevents legitimate remote administration and requires on-site or VPN-based access. Where remote administration is required, restrict it to a trusted management VLAN or VPN and block management ports at the network perimeter with an ACL, understanding that a misconfigured ACL (or an internal attacker already on the LAN) restores exposure. Segment IoT/guest clients away from the router's management plane and from each other, since a low-privileged authenticated session is sufficient to trigger the injection (PR:L in the assessed vector). Monitor and alert on anomalous POST requests targeting /usr/local/lua/dev_config/config_retain.lua or the module_set handler, and on unexpected shell/child process spawning from the web service, with the caveat that detection is post-compromise and log retention on consumer-class firmware is limited. Because public exploit code exists, prioritize inventorying RG-EW1200G PRO units (V1.00-V4.00) and RG-EW1200R units on firmware ew_3.0(1)b11p301, and monitor https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56090.md plus vendor channels for a fixed firmware release; if one becomes available, upgrade immediately and plan for device replacement if the vendor does not ship a fix.
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, in the Lua-based device configuration subsystem of the Ruijie RG-EW1200G PRO firmware. The affected component is /usr/local/lua/dev_config/config_retain.lua, a configuration-retention module exposed through the router's management/HTTP interface; the module_set entry point accepts attacker-influenced parameters and passes them into a shell invocation without adequate sanitization or allow-listing, so command separators or shell metacharacters embedded in a POST body are interpreted by the underlying shell. Because this is an embedded Linux firmware image, successful injection runs in the context of the management web service, typically with elevated (often root) privileges on the device, which is why all three impact metrics are rated High. CPE data identifies the affected software as cpe:2.3:o:ruijie:rg-ew1200g_pro_firmware:-:*:*:*:*:*:*:* (all listed firmware versions) and also cpe:2.3:o:ruijie:rg-ew1200r_firmware:ew_3.0(1)b11p301, suggesting the same code path is shared with at least one RG-EW1200R firmware build in addition to the primary RG-EW1200G PRO V1.00-V4.00 range. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H confirms network reachability, low complexity, a low-privilege authenticated prerequisite, no user interaction, and scope unchanged.
Know when Rg Ew1200R 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 function with low complexity; PR:L because an authenticated session is required, and OS command injection on a router yields full C/I/A (root-level) impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
OS Command Injection vulnerability in Ruijie RG-EW1200G PRO RG-EW1200G PRO V1.00/V2.00/V3.00/V4.00 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_config/config_retain.lua.
Executive ViewAI
Ruijie RG-EW1200G PRO wireless routers running firmware V1.00, V2.00, V3.00 or V4.00 contain an authenticated OS command injection flaw (CVE-2025-56090, CVSS 8.8) that allows anyone with even low-level access to the device management interface to execute arbitrary commands and take full control of the unit. Any site relying on these routers as branch, retail, or remote-office gateways is exposed, and because publicly available exploit code exists with no vendor-released patch identified, the window for an attacker to abuse an already-credentialed foothold is open indefinitely. Leadership should care because a compromised edge router can silently redirect, intercept, or disrupt business traffic while the device itself is repurposed as a persistent foothold inside the network.
No vendor-released patch identified at time of analysis. Interim mitigations: disable or firewall remote/WAN management so only trusted administrative hosts on an isolated management VLAN can reach the interface; enforce unique strong admin credentials and rotate any shared or default passwords; minimize the number of authenticated management accounts, since the flaw requires low-level authenticated access; segment affected routers away from sensitive internal networks so a compromised device cannot pivot; centralize and alert on device logs, particularly crafted POST requests to the module_set handler; and plan replacement or decommissioning of the affected RG-EW1200G PRO units until a fixed firmware release is available.
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 Ew1200R Firmware
View allRuijie Networks RG-EW1200 Wireless Routers EW_3.0(1)B11P204 was discovered to contain a command injetion vulnerability v
Authenticated OS command injection in Ruijie M18 (EW 3.0(1)B11P226) and RG-EW1200R (EW_3.0(1)B11P301) router firmware le
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 ser
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