Ruijie RG-EW1200G PRO
CVE-2025-56095
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv management access
-
DeliveryCraft POST to module_set in nbr_cwmp.lua
-
ExploitInject shell metacharacters into parameter
-
ExecutionCommand runs as root on router
-
ImpactFull device takeover and 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 network reachability to the device's management/web interface AND low-privilege authenticated access (CVSS PR:L), after which a crafted POST request to the module_set action in /usr/local/lua/dev_sta/nbr_cwmp.lua injects OS commands. Affected scope is specifically the Ruijie RG-EW1200G PRO across firmware V1.00/V2.00/V3.00/V4.00 (CPE also lists rg-eap602 firmware 3.0(1)B2P55). Limiting factors: this is NOT pre-authentication - an attacker needs valid (even low-level) credentials or exposed/default login, and the management interface must be reachable from the attacker's position; routers with management restricted to the LAN and strong credentials materially reduce exposure. No user interaction is required (UI:N). |
| Impact | This is a credible, actionable priority for anyone running the affected Ruijie hardware, though signals are moderately - not maximally - alarming. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity OS command injection requiring only low privileges, yielding full C:H/I:H/A:H impact (effectively root on an embedded router) for an 8.8 HIGH score. A public exploit/PoC exists (vendor-independent writeup on GitHub plus OneDrive artifacts), which raises practical risk. EPSS is 2.76% (86th percentile) - elevated relative to the overall CVE population but still an absolute low probability, consistent with a device-specific flaw that has a PoC but is not yet subject to mass automated exploitation. The CVE is NOT on CISA KEV, so there is no confirmed active exploitation. Signals are internally consistent: PR:L (authenticated) aligns with the description's authenticated POST to an administrative Lua handler, so this is not a fully pre-auth internet-wormable bug. Net: treat as a real patch-now item for exposed/affected devices, but it reads as a targeted-exploitation profile (PoC + authenticated access) rather than an imminent mass-exploitation event. No SSVC decision data was provided in the input. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access to the router's web/management interface (or who has obtained/guessed credentials, including common defaults) sends a crafted POST request to the module_set endpoint handled by /usr/local/lua/dev_sta/nbr_cwmp.lua, injecting shell metacharacters into a parameter that is passed to an OS command. The injected command executes with the router's (typically root) privileges, giving full device takeover. A public PoC and writeup for CVE-2025-56095 exist, lowering the skill required to reproduce the attack. |
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 routers running firmware V1.00, V2.00, V3.00 or V4.00 lets a remote attacker with low-privilege credentials execute arbitrary operating-system commands on the device by sending a crafted POST request to the module_set action handled in /usr/local/lua/dev_sta/nbr_cwmp.lua. Publicly available exploit code exists (a GitHub vulnerability report plus linked OneDrive proof-of-concept artifacts), and EPSS rates the flaw at 2.76% (86th percentile), but it is not listed in CISA KEV, so active exploitation is not confirmed. Because the CVSS vector is AV:N/PR:L/UI:N with high C/I/A impact, the attacker must first reach the router's management interface and hold valid (even low-level) credentials, meaning LAN-restricted management and strong unique credentials materially reduce exposure.
RemediationAI
No vendor-released patch version is identified in the available data, so treat firmware updates from Ruijie as the only true fix and check the vendor support portal and the referenced advisory for a corrected RG-EW1200G PRO build covering V1.00-V4.00 (and for rg-eap602 3.0(1)B2P55) before assuming any specific release resolves the issue. Until then, apply compensating controls that directly remove the two prerequisites: (1) restrict the web/management interface to a trusted LAN or management VLAN and disable WAN-side/remote administration and cloud-style remote management so the crafted POST to module_set in nbr_cwmp.lua is unreachable from untrusted networks - the trade-off is loss of remote administration, which must be replaced by VPN or out-of-band access; (2) rotate all default and shared credentials and enforce unique, strong admin passwords, since the vector requires low-privilege authentication (PR:L) and default or reused logins lower that bar further - the trade-off is added credential-management overhead and potential lockout if recovery paths are not documented; and (3) monitor router logs and upstream IDS/IPS for POST requests targeting the module_set action or the dev_sta/nbr_cwmp.lua handler as a detection signal, accepting that embedded devices often log minimally. Network segmentation of these routers away from sensitive segments limits blast radius if a device is compromised, and the advisory at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56095.md should be tracked for updated patch and mitigation guidance.
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 flaw is a classic CWE-78 improper neutralization of special elements used in an OS command, rooted in the device's Lua-based web management code: the module_set handler in /usr/local/lua/dev_sta/nbr_cwmp.lua accepts attacker-controlled parameters from an HTTP POST body and passes them into a shell invocation without adequate escaping or allow-listing. Because the vulnerable component sits in the device's own Lua device-station/CWMP management logic rather than a third-party library, exploitation is not dependent on an upstream dependency and does not require user interaction (UI:N) - only network reachability to the web/management interface plus low-privilege authentication (PR:L, AV:N, AC:L) - after which injected shell metacharacters run with the privileges of the web service, typically root on embedded router firmware, giving full read/write control of configuration and firmware. CPE data associates the issue with Ruijie RG-EW1200G PRO firmware (cpe:2.3:o:ruijie:rg-ew1200g_pro_firmware:-:*:*:*:*:*:*:*) and also lists rg-eap602 firmware 3.0\(1\)b2p55, suggesting the same Vuln class of unsanitized command construction may be shared across Ruijie embedded firmware builds, though the authoritative report and versions center on the RG-EW1200G PRO V1.00-V4.00 line.
Know when Rg Ew1200G 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 endpoint (AV:N), simple request (AC:L), requires authenticated low-priv access per the described admin POST (PR:L); command injection yields root, so C/I/A all High.
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_sta/nbr_cwmp.lua.
Executive ViewAI
Ruijie RG-EW1200G PRO routers running firmware V1.00, V2.00, V3.00, or V4.00 are affected by an authenticated OS command injection flaw that can give an attacker with low-privilege credentials full control of the device when the management interface is reachable; publicly available exploit code exists, though it is not listed in CISA KEV. This matters to the organization because a compromised router can disrupt connectivity, intercept or alter network traffic, and provide a foothold for lateral movement, especially if remote management is exposed or credentials are weak or shared. Leadership should treat this as a high-priority exposure and reduce management access and credential risk immediately while no vendor-released patch has been identified.
No vendor-released patch identified at time of analysis; interim mitigations include restricting management access to trusted LAN/VLAN, disabling WAN/remote management, enforcing strong unique credentials and least privilege, removing default/low-privilege accounts, monitoring and alerting on POST requests to module_set or /usr/local/lua/dev_sta/nbr_cwmp.lua, segmenting affected routers, and evaluating replacement or vendor workarounds if 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 Ew1200G Pro 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 RG-EW1200G PRO wireless routers (firmware V1.00, V2.00, V3.00 and V4.00) al
OS command injection in Ruijie RG-EW1200G PRO router firmware (V1.00/V2.00/V3.00/V4.00, with the related RG-EW1300G also
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 ser
RG-EW1200G PRO Wireless Routers EW_3.0(1)B11P204, RG-EW1800GX PRO Wireless Routers EW_3.0(1)B11P204, and RG-EW3200GX PRO
NVD
CVE.org
EPSS
GitHub
Exploit-DB