Ruijie X30-PRO
CVE-2025-56098
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to router management interface
-
DeliveryCraft malicious POST to module_get in networkConnect.lua
-
ExploitInject shell metacharacters into parameter
-
ExecutionExecute arbitrary OS commands
-
ImpactFull device compromise
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 interface and send a crafted POST request to the module_get function in /usr/local/lua/dev_sta/networkConnect.lua, injecting OS command metacharacters. The CVSS vector's PR:L indicates a low-privilege authenticated session is needed, so an attacker must possess or obtain valid (even unprivileged) credentials or an authenticated session to the router - this is the primary limiting factor and means default-credential or exposed-management-interface scenarios are the realistic enablers. No user interaction is required (UI:N). Risk is amplified where the management interface is exposed to untrusted networks or the Internet; it is constrained to the specific Ruijie X30-PRO (firmware X30-PRO-V1_09241521) and RG-EW300 Pro firmware builds identified in the CPEs. |
| Impact | This is a credible operational priority, though not a top-tier emergency. The CVSS 3.1 base score of 8.8 is driven by a fully remote network vector (AV:N), low attack complexity (AC:L), and complete compromise of confidentiality, integrity, and availability (C:H/I:H/A:H) - consistent with OS command injection (CWE-78) that typically yields code execution with the web service's privileges on an embedded router. The one meaningful brake is PR:L: the vector indicates the attacker needs some level of authentication, so this is not a zero-interaction unauthenticated takeover. Publicly available exploit code exists (POC=YES), which materially raises real-world risk by lowering the skill barrier. EPSS reinforces a measured view: 2.57% (85th percentile) is elevated relative to the average CVE but still a low absolute probability, suggesting observed/predicted exploitation activity is not yet widespread. The vulnerability is NOT in CISA KEV, so there is no confirmed active exploitation. Net: a network-reachable, low-complexity RCE with public exploit code on consumer/SMB networking gear - treat as high priority to patch where these devices are exposed, but the PR:L requirement and absence of KEV temper it below a drop-everything unauthenticated-wild-exploitation scenario. No SSVC decision data was provided in the input. |
| Exploit ScenarioDerived | An attacker with low-privilege access to the router's management interface sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua, injecting shell metacharacters into a parameter that is passed to an OS command. The injected command executes with the web service's privileges on the device, granting arbitrary command execution. Public exploit code for this flaw is available, lowering the effort required to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
OS command injection in Ruijie X30-PRO (firmware X30-PRO-V1_09241521) and Ruijie RG-EW300 Pro (firmware 3.0(1)b11p219) allows a low-privilege authenticated attacker to execute arbitrary OS commands via a crafted POST request to the module_get function in /usr/local/lua/dev_sta/networkConnect.lua. Publicly available exploit code exists, and the EPSS score is 2.57% (85th percentile), indicating a moderate likelihood of exploitation, though no active exploitation has been confirmed (not listed in CISA KEV). The vulnerability is remotely exploitable with low complexity but requires valid credentials to the device's web management interface.
RemediationAI
No vendor-released patch was identified in the available intelligence at time of analysis. Until an official fix is published, restrict access to the router's web management interface: disable remote management (WAN access) and ensure the interface is reachable only from trusted internal networks. Change default credentials and enforce strong, unique passwords for all administrative and low-privilege accounts since the vulnerability requires authentication (PR:L). Segment affected devices into isolated VLANs or networks to limit lateral movement if compromised. Monitor for POST requests to the module_get endpoint or unusual command execution patterns; consider blocking access to /usr/local/lua/dev_sta/networkConnect.lua at the web server level if possible, though this may break legitimate functionality. The public exploit code and technical details are available at the GitHub reference (https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56098.md); monitor Ruijie's security advisories 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 vulnerability is a classic OS command injection (CWE-78) in the Lua-based network configuration module of Ruijie router firmware. The affected function, module_get in /usr/local/lua/dev_sta/networkConnect.lua, processes user-supplied input from a POST request without proper sanitization before passing it to a system shell, allowing an attacker to append or inject arbitrary commands. The web management interface, typically exposed on the local network or potentially the WAN if remote access is enabled, is the attack vector. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) indicates that an attacker must first authenticate with at least low privileges (PR:L), which limits exploitation to scenarios where credentials are known, default, or otherwise obtained. Affected products are identified by CPE as Ruijie X30-PRO firmware (cpe:2.3:o:ruijie:x30_pro_firmware:-:*:*:*:*:*:*:*) and Ruijie RG-EW300 Pro firmware version 3.0(1)b11p219 (cpe:2.3:o:ruijie:rg-ew300_pro_firmware:3.0\(1\)b11p219:*:*:*:*:*:*:*). Public exploit code and a detailed writeup are available on GitHub (flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE).
Know when Rg Ew300 Pro 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:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Remotely reachable command injection (AV:N/AC:L) requiring a low-privilege authenticated session (PR:L) and no user interaction, yielding full device code execution (C:H/I:H/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
OS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 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
Ruijie X30-PRO and RG-EW300 Pro wireless routers - commonly deployed as the sole network gateway at branch offices, retail locations, and small-to-midsize sites - contain a high-severity OS command injection flaw (CVE-2025-56098, CVSS 8.8) that allows an attacker with valid management-interface credentials to run arbitrary operating-system commands on the device. No vendor patch is currently available and publicly available exploit code exists, so any site running firmware X30-PRO-V1_09241521 or 3.0(1)b11p219 with an exposed management interface presents a realistic path to full device takeover. Because these units sit at the network perimeter, a compromise can expose internal traffic, stored credentials, and downstream systems, while leaving leadership without a vendor-supplied fix and dependent on interim containment.
No vendor-released patch identified at time of analysis. Interim mitigations: disable remote/WAN management and remove internet exposure of the web management interface; restrict administrative access to a segmented VLAN reachable only via VPN or a hardened jump host; enforce strong unique credentials and remove default or shared accounts; apply firewall ACLs limiting who can reach the device UI; enable logging and alerting for anomalous POST requests to module_get in /usr/local/lua/dev_sta/networkConnect.lua; monitor device and upstream network traffic for signs of command execution or lateral movement; and plan replacement of X30-PRO and RG-EW300 Pro units at exposed or sensitive sites if a vendor fix is not delivered.
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 Ew300 Pro Firmware
View allAuthenticated command injection in Ruijie X30-PRO and RG-EW300 PRO router firmware allows an attacker with low-privilege
OS command injection in Ruijie X30-PRO firmware (build X30-PRO-V1_09241521) and related RG-EW300 PRO and RG-EAP602 build
Command injection in Ruijie RG-EW1200 and RG-EW300 Pro router firmware lets authenticated network attackers execute arbi
Authenticated OS command injection in Ruijie X30-PRO wireless routers and related Ruijie wireless firmware (RG-EAP602, R
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 ser
NVD
CVE.org
EPSS
GitHub
Exploit-DB