Skip to main content

Ruijie RG-EW1800GX CVE-2025-56102

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 handler
  3. Exploit
    Inject shell metacharacters into OS command
  4. Execution
    Execute arbitrary commands on device
  5. Impact
    Pivot 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.

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

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

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
2.6%
Top 15% exploitable
Prevalence
Low
Ruijie SOHO/home WiFi routers, regional consumer footprint, not globally ubiquitous
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-ew300r_firmware:3.0\(1\)b11p301:*:*:*:*:*:*:*

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