Skip to main content

Ruijie RG-EW1200G PRO CVE-2025-56090

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 router management interface
  2. Delivery
    Send crafted POST to module_set in config_retain.lua
  3. Exploit
    Inject OS command via unsanitized parameter
  4. Execution
    Execute arbitrary commands on device
  5. Impact
    Full 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.

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

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

Alert me

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

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
2.9%
Top 13% 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.9%
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-ew1200g_pro_firmware:-:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-ew1200r_firmware:ew_3.0\(1\)b11p301:*:*:*:*:*:*:*

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