Skip to main content

Ruijie X60 PRO CVE-2025-56124

HIGH
OS Command Injection (CWE-78)
2025-12-11 cve@mitre.org
7.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach router management/web interface
  2. Delivery
    Authenticate with low-privilege credentials
  3. Exploit
    Send crafted POST to networkConnect.lua module_get
  4. Execution
    Inject shell metacharacters into parameter
  5. 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 the attacker to reach the device's web/management backend and submit a POST request to the module_get function in /usr/local/lua/dev_sta/networkConnect.lua; the injected shell commands run on the router OS. The input CVSS vector's PR:L indicates low-privilege authentication to the management interface is a prerequisite, which limits exploitation to actors who can both reach the interface and possess (or bypass to obtain) valid credentials. The practical blast radius also depends on whether the management interface is exposed only on the LAN or is remotely reachable - a key limiting factor not resolved by the available data. No user interaction is required (UI:N). Only the listed firmware builds (RG-X60 PRO V1.00/V2.00, firmware 1.021.2014; and RG-EW1200 firmware per CPE) are affected.

Impact

This is a CWE-78 OS command injection in Ruijie X60 PRO (and per CPE, RG-EW1200) router firmware. The signals are mixed. The input CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N) scores 7.8 and models a LOCAL, authenticated attacker, yet the description explicitly says the flaw is triggered 'via a crafted POST request' to a Lua web endpoint - behavior consistent with a NETWORK vector (AV:N). This is a direct conflict: if the POST can be delivered over the LAN/management interface, real-world attack vector is network, not local, and effective severity is higher than 7.8 (closer to 8.8) - verify delivery path with the vendor. A public exploit write-up exists on GitHub (publicly available exploit code exists), which materially raises actionable risk. However, EPSS is only 1.30% (70th percentile), indicating low modeled probability of broad opportunistic exploitation in the near term, and the CVE is NOT on the CISA KEV list, so there is no confirmed active exploitation. No SSVC decision record was provided. Net: a genuine, POC-backed command-injection flaw with full C/I/A impact against the affected device, but current data points to a targeted/manual exploitation profile (router-specific, likely authentication-gated) rather than mass exploitation. Prioritize patching for any exposed/managed Ruijie X60 PRO or EW1200 fleet, but it is not a drop-everything internet-worm scenario on present evidence.

Exploit ScenarioDerived

An attacker with access to the router's management interface (and, per the CVSS PR:L, low-level credentials) sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua, injecting shell metacharacters into an unsanitized parameter. The commands execute with the privileges of the web backend, yielding arbitrary command execution on the device. A public proof-of-concept write-up exists on GitHub, lowering the skill needed to reproduce; CVSS AC:L indicates the attack is reliable once the request can be delivered.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.3% 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 command execution in Ruijie X60 PRO router firmware (RG-X60 PRO V1.00/V2.00, build 1.021.2014, with RG-EW1200 firmware also listed via CPE) allows an attacker who can reach the device's web/m anagement backend to run arbitrary OS commands on the router by submitting a crafted POST request to the module_get routine in /usr/local/lua/dev_sta/networkConnect.lua. The flaw is a CWE-78 OS command injection; the assessed vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates low-privilege credentials on the management interface are required, but no user interaction is needed and successful exploitation yields full compromise of confidentiality, integrity, and availability on the device. Publicly available exploit code exists (a detailed GitHub write-up for CVE-2025-56124), and EPSS sits at 1.30% (70th percentile), so exploitation is plausible for attackers with management-plane access even though no confirmed in-the-wild activity is reported. No vendor-released patch was identified at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis, so defenders must rely on compensating controls until Ruijie publishes fixed firmware. Highest priority is to ensure the router's web management interface is never exposed to the WAN or the public internet; restrict administrative access to a trusted LAN/VLAN and, where the firmware permits, bind the management service to a specific internal interface or management subnet. Because exploitation requires low-privilege credentials (PR:L), rotate all default and shared admin credentials, enforce strong unique passwords, and disable any unnecessary accounts on the device; note that this only raises the bar and does not eliminate the underlying command injection. Network monitoring should flag anomalous POST requests targeting module_get or /usr/local/lua/dev_sta/networkConnect.lua, and outbound shell-like traffic from router management IPs, as these are practical detection signals; the trade-off is added alert volume and the need to tune for legitimate management traffic. Segmenting routers from high-value internal networks and restricting outbound traffic limits lateral movement and command-and-control should a device be compromised. Consult the public GitHub advisory and the NVD OneDrive references for any updated vendor guidance, and track Ruijie's security advisories for a firmware fix that can be applied once released.

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

This is an OS command injection (CWE-78) in the Ruijie router firmware's Lua-based web backend. The vulnerable logic lives in /usr/local/lua/dev_sta/networkConnect.lua, in a function named module_get that is invoked through the device's HTTP management API. When a POST request supplies parameters to module_get, user-controlled input is passed into a shell invocation without adequate sanitization, so an attacker who can submit the request can append or embed shell metacharacters and execute arbitrary commands with the privileges of the web/Lua service on the underlying router OS. The affected firmware is identified by CPE entries ruijie:rg-x60_pro_firmware:1.021.2014 and ruijie:rg-ew1200_firmware:3.0(1)b11p301, indicating the same code path is shared across the RG-X60 PRO and RG-EW1200 product families. The original CVSS entry scored the flaw at 7.8 with AV:L, but the independent assessment upgrades the attack vector to AV:N (7.8 -> 8.8 class impact), reflecting that the crafted request is delivered over the network to the device's web management interface rather than requiring local access. The PR:L component means an attacker must already hold valid low-privilege credentials on that interface, and UI:N confirms no victim interaction is required once the request is issued.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Delivery via a crafted POST to a web endpoint supports AV:N (not the input's AV:L); PR:L reflects required low-privilege auth, and command injection yields full C/I/A.

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
Local
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 X60 PRO X60_10212014RG-X60 PRO V1.00/V2.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

Organizations using Ruijie X60 PRO (RG-X60 PRO V1.00/V2.00, build 1.021.2014) and potentially RG-EW1200 routers face a high-severity risk because an authenticated attacker with low-privilege management access can execute arbitrary OS commands and fully compromise the device. Publicly available exploit code exists, and no vendor-released patch has been identified, so leadership should prioritize reducing management-plane exposure and planning mitigation or replacement. The impact extends to network confidentiality, integrity, and availability, potentially enabling lateral movement or service disruption if these devices are internet-facing or on sensitive network segments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting management access to trusted networks or VPN, disabling WAN-side administration, enforcing strong unique credentials and least privilege, monitoring logs for module_get/networkConnect.lua abuse, segmenting affected routers, and applying vendor patch when released.

Threat Intelligence Overview

EPSS Score
1.3%
Top 30% exploitable
Prevalence
Low
niche Chinese-vendor consumer/SMB router, limited 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 1.3%
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
Small
Automatable· derived
No
Human Impact
High

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +39
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-x60_pro_firmware:1.021.2014:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-ew1200_firmware:3.0\(1\)b11p301:*:*:*:*:*:*:*

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