Skip to main content

Ruijie RG-EW1300G CVE-2025-56079

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
    Obtain low-privileged web credentials
  2. Delivery
    Send crafted POST to networkConnect.lua module_get
  3. Exploit
    Inject shell metacharacters into parameter
  4. Execution
    Execute arbitrary OS commands on router
  5. Impact
    Full device compromise and network pivot

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 to the RG-EW1300G web management interface with at least low-privileged credentials (CVSS PR:L), used to send a crafted POST request to the module_get function in /usr/local/lua/dev_sta/networkConnect.lua, where a parameter is passed to an OS command without sanitization. Exploitation is limited by the need for valid credentials and network reachability of the management interface; it does NOT require user interaction (UI:N) or high privileges, and no non-default configuration is indicated. Affected firmware is EW1300G V1.00, V2.00, and V4.00. Real-world risk is reduced where the admin interface is not exposed to untrusted networks and strong unique credentials are enforced.

Impact

This is a credible operational priority but short of an emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity attack that nonetheless requires some level of authentication (PR:L), yielding full confidentiality, integrity and availability loss via command injection (CWE-78). A public proof-of-concept exists (GitHub write-up plus two hosted exploit artifacts), which materially raises exploitability. However, the EPSS score of 2.84% (86th percentile) indicates only moderate near-term exploitation probability - elevated relative to the average CVE but far from the >30% range typical of mass-exploited flaws - and the vulnerability is NOT in CISA KEV, so there is no confirmed active exploitation. The PR:L requirement is the key risk limiter: an attacker needs valid (even low-privileged) web-interface credentials, which tempers the 'network unauthenticated' worst case. No SSVC decision data was supplied in the input, so automatable/exploitation-status cannot be independently derived beyond the signals above. Net: a real, POC-backed vulnerability on an edge device (high impact if exploited), but gated by authentication and with no evidence of in-the-wild use - prioritize patching for exposed/shared-credential deployments rather than treating it as a zero-day.

Exploit ScenarioDerived

An attacker with low-privileged credentials to the Ruijie RG-EW1300G web management interface - obtained via default/weak passwords, credential reuse, or a shared network - sends a crafted POST request to the module_get handler in networkConnect.lua, embedding shell metacharacters in a parameter that is passed unsanitized to an OS command. Because publicly available exploit code exists, the barrier to reproduction is low, and successful injection grants arbitrary command execution on the router (typically as root), enabling full device takeover and pivoting into the internal network.

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

OS command injection in the Ruijie RG-EW1300G router firmware (V1.00, V2.00, and V4.00) allows an attacker who holds valid low-privileged credentials on the web management interface to run arbitrary shell commands on the device by sending a crafted POST request that reaches the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua. Exploitation requires network reachability of the management interface plus valid credentials (CVSS 3.1 base 8.8, AV:N/AC:L/PR:L/UI:N), and publicly available exploit code exists, though the issue is not listed as confirmed actively exploited (CISA KEV). EPSS sits at 2.84% (86th percentile), so the vulnerability warrants prioritized patching but is not an emergency-level, mass-exploitation event.

RemediationAI

No vendor-released patch for CVE-2025-56079 was identified in the available intelligence, so the primary action is to check Ruijie's support portal and the reporter's advisory (https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56079.md) for an updated RG-EW1300G/BE50 firmware image and apply it as soon as one is published; until then, rely on compensating controls rather than assuming the risk is closed. The most effective interim mitigation is to stop exposing the web management interface to untrusted networks: disable remote/WAN administration and cloud management features, bind administration to the LAN only, and firewall or ACL the management port (typically TCP 80/443 on the admin interface) so only a dedicated management VLAN or jump host can reach it - the trade-off is that remote troubleshooting and ISP-assisted support will no longer work without a VPN or on-site access. Enforce strong, unique administrator passwords and avoid shared or default credentials, since exploitation requires authenticated access (PR:L); rotate any credentials that may already be known to third parties, and this will not help if an attacker already holds valid low-privileged accounts. Segment the router's management plane from user/IoT networks and monitor for unexpected outbound connections or shell-like traffic from the device, as successful command injection grants complete device control. Disabling Lua-based diagnostic or device-status features is not a reliable workaround here because the vulnerable module_get path is part of the normal management workflow, so network isolation of the admin interface is the safer compensating measure.

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 (Improper Neutralization of Special Elements used in an OS Command), a classic command-injection class in which user-supplied input is concatenated into a shell command without sanitization or escaping. On the RG-EW1300G, the affected logic lives in the Lua-based web management stack at /usr/local/lua/dev_sta/networkConnect.lua, where the module_get function hands an HTTP POST parameter directly to an OS command execution primitive. Because the vulnerable component sits behind the device's administrative web server, the attacker must first reach that service and authenticate, which is reflected in the CVSS vector's PR:L and explains why the assessed impact is high on confidentiality, integrity, and availability (C:H/I:H/A:H) without scope change (S:U). The supplied CPE data identifies affected firmware as cpe:2.3:o:ruijie:rg-ew1300g_firmware and also lists cpe:2.3:o:ruijie:be50_firmware:ew_3.0(1)b11p258, suggesting the same or a closely related code path may be present in the Ruijie BE50 firmware build EW_3.0(1)B11P258; the advisory references are limited to a GitHub vulnerability report and OneDrive-hosted exploit material rather than a vendor technical bulletin.

Know when Rg Ew1300G 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 web handler with low complexity but requiring low-privileged authentication (PR:L); command injection yields root-level command 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-EW1300G EW1300G V1.00/V2.00/V4.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-EW1300G routers running firmware V1.00, V2.00, or V4.00 can be remotely compromised by someone holding only routine, low-privileged web-management credentials, who can then execute arbitrary shell commands and potentially pivot into the network segment that the router serves. Publicly available exploit code exists, though there is no confirmed actively exploited (CISA KEV) status and no vendor-released patch identified at time of analysis. These devices typically sit at the edge of branch, retail, or remote-office environments, so a single compromise can expose an entire site's traffic and internal systems, making this a priority remediation item for any organization with these models deployed or resold to customers.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: never expose the web management interface to the internet or untrusted networks; restrict management access to a dedicated VLAN or specific trusted source IPs; remove unnecessary low-privileged accounts and rotate all management credentials; monitor management-interface POST traffic, new accounts, and unusual outbound connections from these devices; and isolate affected routers from sensitive internal segments until a fixed firmware release is available.

Threat Intelligence Overview

EPSS Score
2.8%
Top 14% exploitable
Prevalence
Low
consumer/SMB Ruijie mesh router, niche footprint outside China
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:rg-ew1300g_firmware:-:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:be50_firmware:ew_3.0\(1\)b11p258:*:*:*:*:*:*:*

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