Ruijie RG-EW1800GX
CVE-2025-56102
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_get handler
-
ExploitInject shell metacharacters into OS command
-
ExecutionExecute arbitrary commands on device
-
ImpactPivot or intercept LAN traffic
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_get action served by /usr/local/lua/dev_sta/networkConnect.lua on the affected firmware (RG-EW1800GX B11P226 / RG-EW300R B11P301). Per the CVSS vector, PR:L means the attacker must hold some level of authentication to the router (not anonymous), which is the primary limiting factor; no user interaction (UI:N) and low complexity (AC:L) are needed. Practical exposure depends on whether the management interface is reachable from the attacker's position - typically LAN-side or via remote management if enabled - so devices with WAN-exposed admin interfaces or weak/default credentials are at materially higher risk than LAN-only, strongly-authenticated deployments. |
| Impact | This is a credible, above-average-priority issue for anyone operating the affected Ruijie SOHO routers, though not a top-tier internet-wide emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity attack that requires only low-level authentication and yields full C:H/I:H/A:H impact - consistent with OS command injection (CWE-78) granting command execution on the device. Reinforcing signals: a POC is publicly available, and EPSS of 2.57% at the 85th percentile is notably elevated relative to the average CVE, indicating meaningful real-world exploitation interest. Tempering signals: the flaw is NOT listed in CISA KEV, so there is no confirmed active exploitation, and the PR:L requirement means an attacker needs some valid authentication (or a session/default credential) rather than fully anonymous access. There are no directly conflicting signals in the data; the main gap is that KEV/SSVC exploitation-status and automatability fields are absent, so prioritization rests on POC existence plus the elevated-but-moderate EPSS. Net: treat as a prioritized patch for exposed devices, not a drop-everything zero-day. |
| Exploit ScenarioDerived | An attacker with low-privileged access to the router's web/management interface (e.g., a logged-in user, default/weak credentials, or a foothold on the LAN) sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua, injecting shell metacharacters that are passed to an OS command. Because a public POC exists and attack complexity is low, this executes attacker-chosen commands on the device with full confidentiality, integrity, and availability impact. The result is effective takeover of the router, enabling traffic interception, pivoting, or botnet enrollment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Authenticated OS command injection in Ruijie RG-EW1800GX (firmware B11P226) and RG-EW300R (firmware B11P301) routers lets an attacker who already holds credentials on the device execute arbitrary shell commands by sending a crafted POST request to the module_get action handled by /usr/local/lua/dev_sta/networkConnect.lua. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) confirms network reachability and low attack complexity but requires some form of authentication (PR:L), which is the main practical barrier; publicly available exploit code exists (no CISA KEV listing, so active exploitation is not confirmed), and EPSS sits at 2.57% (85th percentile), indicating a modest but above-average likelihood of exploitation relative to the wider CVE population. Devices with a WAN-exposed management interface, remote management enabled, or weak/default admin credentials are materially more exposed than LAN-only, strongly-authenticated deployments.
RemediationAI
No vendor-released patch or fixed firmware version is identified in the available data, so remediation must currently rely on reducing exposure while a fix is awaited; track Ruijie's firmware download/support pages for RG-EW1800GX and RG-EW300R updates and the referenced report at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56102.md for any vendor response. Immediately disable remote/WAN management of the router web UI and restrict administrative access to the trusted LAN only, accepting that this blocks legitimate off-site administration; if remote admin is operationally required, place it behind a VPN or an IP-allowlisted management path rather than exposing the interface directly. Replace default or weak administrator credentials with strong unique passwords and enable any available account lockout/throttling, since the PR:L prerequisite means valid credentials are the attacker's entry point - note that this reduces but does not eliminate risk if credentials are already compromised. Monitor router logs for anomalous POST requests to module_get or unexpected outbound connections that could indicate injected commands, and where the risk cannot be tolerated, replace or isolate the affected devices on a segmented network segment with no path to sensitive internal assets. Because publicly available exploit code exists, prioritize these compensating controls for any device that is internet-reachable or still using factory-default credentials; no reliable mitigation removes the underlying command-injection flaw short of vendor firmware.
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 class is CWE-78, OS Command Injection, occurring in the Lua-based web/management subsystem of Ruijie's SOHO router firmware. The affected component, /usr/local/lua/dev_sta/networkConnect.lua, exposes a module_get action that takes user-supplied input from an HTTP POST request and passes it into a shell execution path without adequate sanitization or escaping, so metacharacters from the request body are interpreted by the underlying OS shell rather than treated as inert data. Because the Lua scripts run with the privileges of the router's web management daemon (typically root on embedded firmware), successful injection yields full command execution in the device context. CPE data identifies the affected firmware images as cpe:2.3:o:ruijie:rg-ew1800gx_firmware:3.0\(1\)b11p226 and cpe:2.3:o:ruijie:rg-ew300r_firmware:3.0\(1\)b11p301, meaning the flaw is a firmware-level issue shared across at least two device families rather than a standalone application bug. The CVSS vector's PR:L qualifier means exploitation is reachable over the network but gated behind some level of authenticated access to the management interface; no user interaction is required.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable management endpoint with low complexity; PR:L because a crafted authenticated POST is required; command injection yields full C/I/A on the device, scope unchanged.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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_get in file /usr/local/lua/dev_sta/networkConnect.lua.
Executive ViewAI
Ruijie RG-EW1800GX (firmware B11P226) and RG-EW300R (firmware B11P301) routers are affected by an authenticated OS command injection vulnerability that allows an attacker with existing credentials to execute arbitrary shell commands on the device. Publicly available exploit code exists, and no vendor-released patch identified at time of analysis, so organizations with these routers exposed to WAN management or weak credentials face elevated risk of network compromise, credential abuse, and lateral movement. Leadership should prioritize immediate exposure reduction because these edge devices can undermine broader network security if compromised.
No vendor-released patch identified at time of analysis; interim mitigations include disabling WAN/remote management, restricting admin access to trusted networks or VPN, enforcing strong unique credentials, monitoring for module_get/networkConnect.lua exploitation attempts, and segmenting affected routers.
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 Ew1800Gx Firmware
View allOS command injection in the Ruijie RG-EW1800GX and RG-EW300R router firmware allows an authenticated attacker to execute
Authenticated OS command injection in Ruijie RG-EW1800GX firmware build B11P226_EW1800GX_10223121 (and, per CPE data, th
OS command injection in Ruijie RG-EW1800GX PRO (and related RG-EW1800GX / RG-EW300N) router firmware lets an attacker wh
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