Skip to main content

Ruijie X30-PRO CVE-2025-56098

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. Delivery
    Craft malicious POST to module_get in networkConnect.lua
  3. Exploit
    Inject shell metacharacters into parameter
  4. Execution
    Execute arbitrary OS commands
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

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

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).

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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
2.6%
Top 15% exploitable
Prevalence
Low
consumer/SMB Ruijie wireless router, limited global 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 2.6%
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:x30_pro_firmware:-:*:*:*:*:*:*:*
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