Skip to main content

Ruijie RG-EW1200 CVE-2025-56086

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 web interface
  2. Delivery
    Send crafted POST to module_get in networkConnect.lua
  3. Exploit
    Inject shell metacharacters into OS command
  4. Execution
    Execute arbitrary commands on device
  5. Impact
    Full device compromise

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

Requires authenticated access (PR:L) to the device management interface to reach the vulnerable module_get handler in /usr/local/lua/dev_sta/networkConnect.lua via a crafted POST request; exploitation is network-reachable and needs no user interaction. Limiting factors: the attacker must first obtain at least low-privilege credentials or a valid session, so exposure is materially higher where the web/management interface is internet-facing or protected only by default/weak credentials; impact is confined to the affected Ruijie RG-EW1200 (firmware 3.0(1)B11P227) and RG-X60 (firmware 3.0(1)B11P237) models.

Impact

This is a credible mid-tier priority rather than an emergency. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes remote, low-complexity exploitation requiring only low-level authentication (PR:L) and no user interaction, with total compromise of confidentiality, integrity, and availability - consistent with OS command injection (CWE-78) yielding device-level code execution. Signals partially reinforce each other: publicly available exploit code exists (POC), and the EPSS score of 2.91% sits at the 87th percentile - elevated relative to most CVEs, indicating above-average exploitation interest, but still an absolute probability under 3%. There is no CISA KEV listing, so there is no confirmation of active exploitation in the wild; POC availability and a moderately high EPSS percentile are distinct from confirmed exploitation and should not be conflated. The main mitigating factor is PR:L: an attacker needs valid (even low-privilege) credentials or an authenticated session to the device management interface, which tempers the 'network' vector. Net assessment: a real and patchable risk for exposed Ruijie consumer/SMB routers - especially where default or weak credentials or internet-exposed management are present - but not a mass-exploitation crisis absent KEV confirmation.

Exploit ScenarioDerived

An attacker with low-privilege access to the router's web management interface (e.g., via default/weak credentials or an exposed management port) sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua, injecting shell metacharacters that are passed unsanitized to an OS command. This yields arbitrary command execution on the device, enabling full takeover. Public exploit code is available, lowering the barrier to reproduction.

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 14, 2026

Authenticated OS command injection in Ruijie RG-EW1200 (firmware 3.0(1)B11P227) and RG-X60 (firmware 3.0(1)B11P237) routers lets a network-reachable attacker who already holds low-privilege credentials run arbitrary commands on the device by sending a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua. Publicly available exploit code exists and the EPSS score is 2.91% (87th percentile), but there is no confirmed active exploitation (the CVE is not in CISA KEV). Impact per the assessed vector is high - full loss of confidentiality, integrity, and availability on the affected device - yet exploitation first requires valid credentials or a session, so this is a credible mid-tier priority rather than an emergency.

RemediationAI

No vendor-released patch was identified at time of analysis, so operators should treat this as a mitigation-only situation until Ruijie publishes fixed firmware for the RG-EW1200 and RG-X60. Track the public report at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56086.md and Ruijie's advisories for a corrected build. Specific compensating controls, with trade-offs: (1) immediately change default/weak administrative credentials and enforce strong unique passwords, since the flaw requires authenticated access (PR:L) - this raises the bar but does not protect against stolen or shared accounts; (2) remove the management/web interface from internet exposure by disabling remote/WAN web administration and restricting access to a trusted internal management VLAN or by IP allow-list - this blocks remote exploitation but also limits legitimate remote administration; (3) on RG-X60 devices, verify whether the vulnerable module_get/networkConnect.lua path can be disabled or blocked at the web server layer if it is not required for normal operation, understanding that disabling handlers may break status/network-connectivity pages; (4) segment and monitor router management traffic, and log POST requests to the module_get endpoint for command-injection indicators, since detection is the fallback when no patch exists. Reassess exposure urgently only if the management interface is internet-facing or still using default credentials.

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 vulnerability is a CWE-78 OS command injection in Ruijie's embedded router web stack. The affected code lives in /usr/local/lua/dev_sta/networkConnect.lua, a Lua handler that is reached through the module_get action, and it passes attacker-influenced input into a shell command without adequate sanitization, allowing command execution with the privileges of the web service. The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H shows the attack is network-reachable, low complexity, requires low privileges, needs no user interaction, and stays scoped to the device while fully compromising confidentiality, integrity, and availability. CPE data pins the affected firmware to cpe:2.3:o:ruijie:rg-ew1200_firmware:3.0(1)b11p227 and cpe:2.3:o:ruijie:rg-x60_firmware:3.0(1)b11p237, i.e. two distinct router models sharing the vulnerable Lua codebase. This class of flaw is common in embedded device management planes, where Lua or CGI handlers wrap user input into system() style calls and expose the router to full takeover once the management interface is reachable.

Know when Rg Ew1200 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 POST to a web handler with low-privilege auth (PR:L) and no user interaction; command injection yields full device code execution, so C/I/A all High.

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-EW1200 EW_3.0(1)B11P227_EW1200_11130208RG-EW1200 V1.00 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-EW1200 and RG-X60 wireless routers - networking gear commonly deployed in branch offices, retail sites, and home-office setups - contain a high-severity flaw (CVE-2025-56086) that allows a user with valid low-privilege credentials to run arbitrary commands on the device, resulting in complete loss of confidentiality, integrity, and availability on that unit. Publicly available exploit code exists and no vendor patch has been identified, so any exposed device remains exploitable by anyone who can reach it and obtain or guess credentials. Leadership should care because these devices typically sit inside the trusted network perimeter: an attacker who gains control can pivot, intercept traffic, or establish persistence well beyond a single access point.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: segregate affected routers onto dedicated VLANs isolated from corporate and OT networks; disable WAN-side and remote management, exposing the administrative interface only from a trusted management segment; enforce strong, unique credentials and remove default or shared accounts to deny the low-privilege foothold the exploit requires; restrict which roles can reach the /usr/local/lua/dev_sta/networkConnect.lua module_get handler; monitor and alert on anomalous POST requests to that handler and on unexpected command execution or outbound connections from router management IPs; and prioritize replacement with vendor-supported hardware where isolation cannot be guaranteed.

Threat Intelligence Overview

EPSS Score
2.9%
Top 13% exploitable
Prevalence
Low
regional consumer/SMB router vendor, specific Ruijie home router models
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
Medium

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-ew1200_firmware:3.0\(1\)b11p227:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-x60_firmware:3.0\(1\)b11p237:*:*:*:*:*:*:*

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