Ruijie X60 PRO
CVE-2025-56124
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router management/web interface
-
DeliveryAuthenticate with low-privilege credentials
-
ExploitSend crafted POST to networkConnect.lua module_get
-
ExecutionInject shell metacharacters into parameter
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in Rg Ew1200 Firmware
View allRuijie Networks RG-EW1200 Wireless Routers EW_3.0(1)B11P204 was discovered to contain a command injetion vulnerability v
Command injection in Ruijie RG-EW1200 and RG-EW300 Pro router firmware lets authenticated network attackers execute arbi
Authenticated OS command injection in Ruijie RG-EW1200 (firmware 3.0(1)B11P227) and RG-X60 (firmware 3.0(1)B11P237) rout
OS command injection in Ruijie X60 PRO firmware (V1.00/V2.00, build X60_10212014RG) lets an authenticated remote attacke
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 ser
Remote code execution vulnerability in Ruijie Networks Product: RG-EW series home routers and repeaters EW_3.0(1)B11P204
NVD
CVE.org
EPSS
GitHub
Exploit-DB