Skip to main content

Ruijie RG-EW1800GX PRO CVE-2025-56122

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_get (networkConnect.lua)
  3. Exploit
    Inject shell metacharacters into parameter
  4. Execution
    Execute arbitrary OS commands on device
  5. Impact
    Full compromise of router

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 authenticated access (PR:L) to the device's web management interface and the ability to reach the module_get endpoint backed by /usr/local/lua/dev_sta/networkConnect.lua; the attacker submits a crafted POST request whose parameter is passed unsanitized into an OS command (CWE-78). No user interaction is needed. Key limiting factors: valid low-privilege credentials (or a hijacked session) are required, and on these consumer/SOHO routers the management interface is typically LAN-only - so remote (WAN) exploitation generally depends on remote administration being explicitly enabled or the panel being internet-exposed. Risk is highest where default/weak credentials are in use or remote management is turned on.

Impact

Signals are largely consistent and point to a genuine but conditionally-gated risk. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes a low-complexity, network-reachable command injection requiring only low privileges and no user interaction, yielding full confidentiality/integrity/availability impact - consistent with CWE-78 arbitrary command execution on an embedded router. Exploitation status is 'publicly available exploit code exists' (POC=YES) but this is NOT confirmed active exploitation: the CVE is not in CISA KEV, so POC availability and in-the-wild use must not be conflated. EPSS of 2.64% (85th percentile) is moderate - elevated above background but far from the high-probability tier, suggesting interest but no evidence of mass automated exploitation yet. The PR:L requirement is the single largest risk-dampener: an attacker needs authenticated access to the router's management interface, which on consumer/SOHO routers is frequently LAN-restricted unless remote administration is enabled. Net: a real priority for exposed or remote-managed devices and for defense-in-depth, but not a drop-everything emergency for devices with management confined to the LAN and non-default credentials. Verify remote-management exposure before assigning emergency priority.

Exploit ScenarioDerived

An attacker with low-privileged access to the router's web management interface (e.g., stolen/default credentials, or reaching an internet-exposed admin panel) sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua, injecting shell metacharacters into an unsanitized parameter. The injected commands execute with the device's privileges, giving full control of the router. Public exploit code is available, lowering the skill barrier to weaponize this.

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

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

Alert me

AnalysisAIv1 – Oct 14, 2026

OS command injection in Ruijie RG-EW1800GX PRO (and related RG-EW1800GX / RG-EW300N) router firmware lets an attacker who already holds valid low-privilege credentials execute arbitrary OS commands on the device by sending a crafted POST request to the module_get handler backed by /usr/local/lua/dev_sta/networkConnect.lua. Because the CVSS vector is AV:N/AC:L/PR:L/UI:N, exploitation is remote but gated on authenticated access - on these consumer/SOHO routers the management panel is normally LAN-only, so WAN exploitation depends on remote administration being enabled or the panel being internet-exposed. Publicly available exploit code exists (a GitHub PoC writeup plus OneDrive payload links), and EPSS sits at ~2.64% (85th percentile), indicating elevated but not top-tier predicted exploitation; it is not a confirmed actively exploited (CISA KEV) issue.

RemediationAI

No vendor-released patch was identified at time of analysis; check Ruijie's official support/security pages for updated firmware for RG-EW1800GX PRO (1.022.3117), RG-EW1800GX (3.0(1)b11p226) and RG-EW300N (3.0(1)b11p300) before applying anything from third-party mirrors. Until a fixed build is published, apply compensating controls that directly close the PR:L / exposure gate: (1) Disable remote/WAN management and UPnP-triggered port mappings so the web panel is reachable only from the trusted LAN - trade-off is loss of remote administration, requiring VPN for off-site access. (2) Replace all default and weak admin credentials and, where supported, create least-privilege accounts - trade-off is operational overhead, and it does not help against session hijacking. (3) Segment IoT/guest traffic onto a separate SSID/VLAN that cannot reach the router management interface - trade-off is added network complexity. (4) Enable HTTPS-only admin access and log/monitor POST requests to module_get or /dev_sta/networkConnect.lua for shell metacharacters as a detection tripwire - trade-off is log noise and no prevention. As a last resort for high-value deployments, replace the affected units with models receiving active firmware support. Public PoC code exists, so treat unpatched, internet-exposed or default-credentialed devices as effectively compromised-capable and audit them for unauthorized changes.

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 OS command injection in the Lua-based web management stack of Ruijie EW-series home/SOHO routers. The handler function module_get in /usr/local/lua/dev_sta/networkConnect.lua takes an HTTP POST parameter and passes it into a shell invocation without sanitization or escaping, so shell metacharacters in the crafted request are interpreted by the underlying OS. The affected CPE strings cover three firmware trains: ruijie:rg-ew1800gx_pro_firmware:1.022.3117, ruijie:rg-ew1800gx_firmware:3.0(1)b11p226, and ruijie:rg-ew300n_firmware:3.0(1)b11p300, spanning both the EW1800GX PRO and its sibling models built on the same Lua dev_sta code path. Exploitation gives the command context of the web process, which on embedded router firmware is effectively full device control (C:H/I:H/A:H). The authenticated precondition (PR:L) reflects that the endpoint sits behind the management login, but the boundary is thin: default/weak credentials, session hijacking, or CSRF-style abuse of an authenticated browser can supply the required access.

Know when Rg Ew1800Gx 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

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

Router web management requires login, so PR:L; command injection is low-complexity and network-reachable with no user interaction, yielding full device-level C/I/A 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-EW1800GX PRO B11P226_EW1800GX-PRO_10223117 allowing attackers to execute arbitrary commands via a crafted POST request to the module_get in file /usr/local/lua/dev_sta/networkConnect.lua.

Executive ViewAI

Why It Matters

Ruijie RG-EW1800GX PRO, RG-EW1800GX, and RG-EW300N routers used in branch or home-office networks are affected by a high-severity OS command injection flaw that allows an authenticated low-privilege user to take full control of the device. No vendor-released patch identified at time of analysis, and publicly available exploit code exists, so organizations relying on these routers face elevated risk of network compromise, traffic interception, or lateral movement if the management interface is reachable from untrusted networks. Leadership should prioritize identifying exposed devices and tightening access controls until a fixed firmware release is available.

Business Impact: High
Compensating Controls

Disable remote/WAN administration and internet exposure of the management interface; restrict administrative access to trusted LAN/VLAN; enforce strong unique credentials and least privilege; segment affected routers; monitor for crafted POST requests to module_get or /usr/local/lua/dev_sta/networkConnect.lua; replace or isolate internet-exposed devices until a vendor patch is released.

Threat Intelligence Overview

EPSS Score
2.6%
Top 15% exploitable
Prevalence
Low
niche-vendor consumer/SOHO WiFi router line, limited global 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.6%
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-ew300n_firmware:3.0\(1\)b11p300:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-ew1800gx_pro_firmware:1.022.3117:*:*:*:*:*:*:*

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