Skip to main content

Ruijie M18 CVE-2025-56101

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
    Reach web management interface
  2. Delivery
    Authenticate with low-privilege or default credentials
  3. Exploit
    Send crafted POST to module_get in networkConnect.lua
  4. Execution
    Inject shell metacharacters into OS command
  5. Persist
    Execute arbitrary commands on device
  6. Impact
    Full device compromise (C/I/A)

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 network access to the device's web/management interface and low-privilege authentication (CVSS PR:L), after which a crafted POST request to the module_get function in /usr/local/lua/dev_sta/networkConnect.lua injects arbitrary OS commands. The limiting factors are: (1) the management interface must be reachable by the attacker - risk is far higher if it is internet-exposed rather than LAN-only; and (2) valid low-level credentials are needed, though weak/default/shared credentials common on SOHO routers may substantially lower this barrier. Affected builds are specific Ruijie firmware versions (M18 EW 3.0(1)B11P226 and RG-EW1200R EW_3.0(1)B11P301); other products/versions are not implicated by the provided data.

Impact

This is a credible, moderately-high priority issue rather than an inflated CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) indicates a network-reachable, low-complexity attack that requires only low-level authenticated privileges and no user interaction, yielding full compromise (High C/I/A) of the device - consistent with an OS command injection (CWE-78) that runs arbitrary commands with the web management process's privileges. Reinforcing signals: a public exploit/PoC exists (GitHub advisory with reproduction steps), and EPSS is 2.76% at the 86th percentile - elevated relative to the average CVE and consistent with available exploit code, though not indicative of mass exploitation. The vulnerability is NOT in CISA KEV, so there is no evidence of confirmed active exploitation; status is 'publicly available exploit code exists,' which is distinct from in-the-wild use. The one genuine tension is PR:L: the CVSS requires some authentication, yet many SOHO/SMB routers ship with weak, default, or shared credentials, so the practical barrier may be lower than PR:L implies - verify default-credential posture for the affected Ruijie models. Net: prioritize patching/mitigation for any exposed management interfaces, but absence from KEV and only moderate EPSS argue against emergency same-day response unless the device's admin interface is internet-facing.

Exploit ScenarioDerived

An attacker with low-privileged access to the device's web management interface (or valid/default credentials) 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. Because AC:L and no user interaction are required, exploitation is reliable and scriptable, and a public PoC is already available on GitHub, lowering the effort needed to weaponize it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.8% 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 M18 (EW 3.0(1)B11P226) and RG-EW1200R (EW_3.0(1)B11P301) router firmware lets a remote attacker with low-privilege credentials execute 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 (a GitHub vulnerability report with technical details), though there is no CISA KEV confirmation of active exploitation; EPSS estimates a 2.76% chance of exploitation within 30 days (86th percentile). Exploitation requires network reachability to the router's web management interface and valid low-privilege credentials, but default or weak SOHO router passwords may lower that barrier, making this a credible moderately-high priority issue.

RemediationAI

No vendor-released patch or fixed firmware version was identified in the provided data at time of analysis, so mitigation must rely on compensating controls. Immediately restrict access to the router's web management interface to trusted LAN segments only by disabling WAN/remote administration and any UPnP port-forwarding that exposes the UI, accepting the trade-off that remote management becomes unavailable; also replace default or weak administrative credentials with strong, unique passwords on all accounts and enforce least privilege for any low-privilege users that could reach the interface, since the exploit requires authentication. If the device shares a network with untrusted users, isolate it on a separate VLAN or place it behind a firewall that blocks inbound POST requests to /usr/local/lua/dev_sta/networkConnect.lua from untrusted sources. Monitor router logs for unusual POST requests to the module_get endpoint and for child process spawning from the web server, recognizing that such detections may be noisy and require tuning. Periodically check the vendor and the linked advisories (https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56101.md and the OneDrive references cited by NVD) for an official firmware update.

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 OS command injection, where user-supplied input is passed to a system shell without adequate sanitization from a Lua-based web management module. Affected devices run Ruijie EW firmware (CPE: cpe:2.3:o:ruijie:m18-ew_firmware:3.0(1)b11p226 and cpe:2.3:o:ruijie:rg-ew1200r_firmware:ew_3.0(1)b11p301), and their management web UI exposes a module_get function inside /usr/local/lua/dev_sta/networkConnect.lua. A crafted POST request to that endpoint allows an attacker with network access (AV:N) and low-privilege authentication (PR:L) to inject and execute arbitrary OS commands as the underlying system user, with no user interaction (UI:N) and no scope change (S:U); the CVSS 3.1 base score of 8.8 reflects high confidentiality, integrity, and availability impact. Public exploit code and a detailed vulnerability report are available, but the issue is not confirmed as actively exploited in the wild.

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 endpoint (AV:N), reliable injection (AC:L), requires low-privilege authentication per the described POST handler (PR:L); OS command execution yields full High C/I/A on the device.

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 M18 EW_3.0(1)B11P226_M18_10223116 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 M18 (EW 3.0(1)B11P226) and RG-EW1200R (EW_3.0(1)B11P301) wireless routers, commonly deployed in small offices, retail branches, and home-office environments, can be induced to run attacker-supplied commands by anyone holding valid low-privilege device credentials, giving an intruder full control of a device that sits at the network edge. Because these units route and filter traffic for every user and system behind them, a compromised router exposes business communications, connected endpoints, and any trust relationships built on that network segment. No vendor-released patch is identified at time of analysis and publicly available exploit code exists, so leadership should treat this as a near-term exposure-management and network-isolation problem rather than a routine firmware update.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: remove the router web management interface from internet exposure and disable WAN-side remote management; restrict management access to a dedicated administrative VLAN or jump host with source-IP allowlisting; eliminate default credentials and enforce unique, strong passwords for all administrative and low-privilege accounts; monitor and alert on POST requests to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua; segment affected routers so that compromise cannot propagate to corporate systems; and replace or retire units that cannot be isolated. Exploitation requires network reachability to the management interface plus valid low-privilege credentials, so credential hygiene and exposure reduction materially lower risk.

Threat Intelligence Overview

EPSS Score
2.8%
Top 14% exploitable
Prevalence
Low
regional SOHO/SMB vendor router firmware, limited global enterprise 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.8%
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:m18-ew_firmware:3.0\(1\)b11p226:*:*:*:*:*:*:*
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