Skip to main content

Ruijie RG-EW1200 CVE-2025-56085

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. Exploit
    Send crafted POST to module_set handler
  3. Execution
    Inject shell metacharacters into config_retain.lua
  4. Impact
    Execute arbitrary OS commands on device

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 reachability to the device's web/management interface AND low-privilege authentication (CVSS PR:L), after which the attacker sends a crafted POST request targeting the module_set parameter processed by /usr/local/lua/dev_config/config_retain.lua on affected Ruijie RG-EW1200 (firmware 3.0(1)B11P227) and RG-EW300 Pro (firmware 3.0(1)B11P219) devices. The specific prerequisite is the ability to reach and submit to the config_retain.lua configuration-retention handler as an authenticated user; the primary limiting factor is that valid (even low-level) credentials are needed, so it is not exploitable fully unauthenticated - though exposed management interfaces and default/weak credentials on consumer routers can lower this barrier in practice. No special non-default feature toggle is indicated in the description.

Impact

This is a genuine elevated-priority issue for anyone operating the affected Ruijie SOHO routers, though not an emergency across the broad internet. The CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N) indicates a network-reachable, low-complexity attack requiring only low-level authentication, yielding full confidentiality, integrity, and availability impact - consistent with OS command injection (CWE-78) granting command execution on the device. Reinforcing this, publicly available exploit code exists and the EPSS score of 2.92% sits in the 87th percentile, which is comparatively high and reflects the published POC and ease of exploitation. However, the vulnerability is NOT listed in CISA KEV, so there is no confirmed active exploitation - the signals point to a credible, easily weaponizable flaw rather than one proven to be used in the wild. The key mitigating factor is PR:L: the CVSS vector states valid (low-privilege) authentication is required, so this is not an unauthenticated drive-by. On consumer routers, though, default or weak credentials and exposed management interfaces can effectively erode that barrier. Net assessment: a real priority to patch for owners of these devices, driven by POC availability and high EPSS, but tempered by the authentication requirement and absence of KEV/wild-exploitation confirmation.

Exploit ScenarioDerived

An attacker with low-privilege access to the router's management interface (e.g., valid or default credentials, or a reachable exposed admin panel) sends a crafted POST request to the module_set handler in /usr/local/lua/dev_config/config_retain.lua, injecting shell metacharacters that the device executes as OS commands. Because a public POC exists, exploitation is straightforward and repeatable, giving the attacker command execution to fully compromise the router, pivot into the internal network, or add persistence. The CVSS AV:N/AC:L vector confirms this is remotely reachable with low complexity once the low-privilege authentication condition is met.

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

Command injection in Ruijie RG-EW1200 and RG-EW300 Pro router firmware lets authenticated network attackers execute arbitrary operating system commands through a crafted POST request to the module_set handler in /usr/local/lua/dev_config/config_retain.lua. The vulnerable builds are RG-EW1200 firmware 3.0(1)B11P227 and RG-EW300 Pro firmware 3.0(1)B11P219, and exploitation requires network reachability to the web/management interface plus low-privilege credentials (CVSS PR:L). Publicly available exploit code exists, and EPSS is 2.92% (87th percentile), but there is no CISA KEV entry confirming active exploitation; the independent assessment rates this as elevated-priority for affected SOHO router operators rather than an internet-wide emergency.

RemediationAI

No vendor-released patch was identified in the provided data, so operators should treat mitigation as compensating controls until Ruijie publishes a fixed firmware version. Immediately disable WAN-side/remote management and restrict the router's web/management interface to trusted administrative VLANs or specific source IPs via firewall rules; this blocks the network precondition but prevents remote administration for legitimate users. Change default and weak administrative passwords and apply least-privilege accounts, since exploitation requires valid low-privilege credentials; this reduces the ease of the PR:L prerequisite but does not fix the command injection. Monitor or block POST requests that reference module_set or /usr/local/lua/dev_config/config_retain.lua at the management boundary where logging is available, recognizing that HTTPS/management traffic may need inspection and that false positives are possible. Consult the public vulnerability report at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56085.md and check Ruijie support advisories for a firmware update; if a fixed release becomes available, upgrade RG-EW1200 and RG-EW300 Pro to the vendor-specified version after validating hardware revision compatibility.

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 issue is CWE-78 OS command injection in the configuration-retention logic of Ruijie SOHO router firmware. The affected component is /usr/local/lua/dev_config/config_retain.lua, a Lua script that processes the module_set parameter from an HTTP POST request; because user-controlled input is not safely neutralized before being passed to a system shell, an attacker who can reach the management interface and authenticate at a low privilege level can inject shell metacharacters and run arbitrary commands with the router's privileges. CPE data identifies ruijie:rg-ew1200_firmware:3.0\(1\)b11p227 and ruijie:rg-ew300_pro_firmware:3.0\(1\)b11p219 as affected, consistent with the assessed CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H vector.

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 command injection via crafted POST requiring low-privilege authentication (PR:L), low complexity, no user interaction, yielding full OS command execution (C/I/A:H).

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_set in file /usr/local/lua/dev_config/config_retain.lua.

Executive ViewAI

Why It Matters

Organizations using Ruijie RG-EW1200 firmware 3.0(1)B11P227 or RG-EW300 Pro firmware 3.0(1)B11P219 face a high-severity command-injection risk that can let authenticated low-privilege users with network access to the management interface take full control of these routers. Publicly available exploit code exists, and no vendor-released patch has been identified, so affected edge devices require immediate mitigation while a fix or replacement is arranged. Leadership should care because compromised SOHO routers can expose internal networks, disrupt connectivity, and serve as a foothold for broader attacks.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; restrict management access to trusted VLANs/IPs, disable WAN/remote administration, enforce unique strong credentials, segment affected routers from sensitive assets, monitor/IDS for module_set POST abuse, and replace or isolate devices that cannot be secured.

Threat Intelligence Overview

EPSS Score
2.9%
Top 13% exploitable
Prevalence
Low
niche SOHO/consumer Ruijie WiFi routers, regional footprint, no broad enterprise deployment
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
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-ew1200_firmware:3.0\(1\)b11p227:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-ew300_pro_firmware:3.0\(1\)b11p219:*:*:*:*:*:*:*

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