Skip to main content

Ruijie X30-PRO CVE-2025-56094

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 web interface
  2. Delivery
    Craft malicious POST to module_get
  3. Exploit
    Inject shell command via host_access_delay.lua
  4. Execution
    Execute arbitrary OS commands on device
  5. Impact
    Full compromise of router

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 management interface over the network and send a crafted POST request to the module_get function in /usr/local/lua/dev_sta/host_access_delay.lua on affected Ruijie firmware (X30-PRO X30-PRO-V1_09241521 and RG-EW300 PRO 3.0(1)B11P219). Per the CVSS vector PR:L, at least low-privileged authentication to the device is needed, so this is not unauthenticated - valid, default, or weak credentials are the practical gating factor. No end-user interaction is required (UI:N). Exploitation is limited to these specific Ruijie router firmware builds and is most realistic where the management interface is reachable by the attacker and credentials are obtainable, which for most deployments means LAN-side or management-network access rather than arbitrary internet-wide reach unless the admin interface is exposed to the WAN.

Impact

This is a credible mid-to-high priority issue for the specific devices affected, but not a widespread emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity attack requiring low-level authentication, with full high impact to confidentiality, integrity, and availability (C:H/I:H/A:H) - consistent with OS command injection (CWE-78) yielding device takeover. Supporting signals partly reinforce this: publicly available exploit code exists (a documented PoC on GitHub), and EPSS is elevated at 3.27% (88th percentile), which is high relative to the overall CVE population and reflects the public PoC, though still an absolute minority probability of exploitation in any given 30-day window. Crucially, this is NOT on CISA KEV, so there is no confirmed active exploitation - the PoC availability and active exploitation are distinct signals and should not be conflated. The PR:L requirement is the main mitigating factor: an attacker needs at least low-privileged authenticated access (e.g., a valid/default web login) rather than fully unauthenticated reach, which meaningfully constrains opportunistic mass exploitation. No SSVC decision data was provided in the input, so automatable/technical-impact framing cannot be independently stated. Net: a real and PoC-backed device-takeover flaw on a regional consumer/SMB router line, worth prompt patching for affected Ruijie fleets, but lacking the KEV/ubiquity profile of an internet-wide crisis.

Exploit ScenarioDerived

An attacker with low-privileged access to the device's web/management interface (e.g., via default or weak credentials, or an authenticated user on the LAN) sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/host_access_delay.lua, injecting shell metacharacters that are passed to an OS command. The injected commands execute with the router's privileges, granting full control of the device. A public proof-of-concept documenting this request is available on GitHub, lowering the barrier to reproduction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 3.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 injection in Ruijie X30-PRO and RG-EW300 PRO router firmware allows an attacker with low-privileged credentials to execute arbitrary OS commands via a crafted POST request to the module_get function in /usr/local/lua/dev_sta/host_access_delay.lua. Publicly available exploit code exists, and the EPSS score of 3.27% (88th percentile) indicates a moderate likelihood of exploitation attempts. The vulnerability requires network access to the device management interface and valid credentials, limiting realistic risk to exposed management interfaces or LAN-side attackers.

RemediationAI

No vendor-released patch identified at time of analysis. Until a firmware update is available, mitigate by restricting access to the device management interface to trusted internal networks only - disable WAN-side administrative access if the feature exists, as this prevents remote exploitation. Change default and weak credentials to strong, unique passwords to satisfy the low-privilege requirement. Monitor network traffic for POST requests to /usr/local/lua/dev_sta/host_access_delay.lua and inspect for command injection patterns. Consider network segmentation to isolate affected devices. Trade-offs: disabling WAN management may hinder remote administration; restricting access may require additional VPN or jump-host setup. Check the GitHub report (https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56094.md) for updates and vendor communication.

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 an OS command injection (CWE-78) in the Lua module /usr/local/lua/dev_sta/host_access_delay.lua, specifically in the module_get function. An attacker can inject arbitrary OS commands through a crafted POST request, likely by manipulating parameters that are improperly sanitized before being passed to a shell. The affected firmware builds are Ruijie X30-PRO (X30-PRO-V1_09241521) and Ruijie RG-EW300 PRO (3.0(1)B11P219), as indicated by CPE strings: cpe:2.3:o:ruijie:x30_pro_firmware:-:*:*:*:*:*:*:* and cpe:2.3:o:ruijie:rg-ew300_pro_firmware:3.0\(1\)b11p219:*:*:*:*:*:*:*. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H confirms network exploitability with low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The root cause is insufficient input validation on user-supplied data before it is used in a system command call within the Lua script.

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

Network-reachable management endpoint (AV:N), simple crafted POST (AC:L), low-privileged login required so PR:L not PR:N, and command injection yields full device code execution (C/I/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/host_access_delay.lua.

Executive ViewAI

Why It Matters

Organizations using Ruijie X30-PRO or RG-EW300 PRO router firmware face a high-severity command injection risk (CVE-2025-56094) for which publicly available exploit code exists and no vendor-released patch identified at time of analysis. An attacker who reaches the device management interface with valid low-privileged credentials could execute arbitrary OS commands, potentially compromising the router and using it as a pivot point into the broader network. Leadership should prioritize this because these devices often sit at network edges, and the absence of a patch means mitigation depends on access controls, segmentation, and monitoring until a fix is released.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict management interface access to trusted networks or VPN, disable remote management and WAN-side access, enforce least privilege and strong credentials, segment routers from critical assets, and monitor for crafted POST requests to module_get in /usr/local/lua/dev_sta/host_access_delay.lua. Apply vendor patch when available.

Threat Intelligence Overview

EPSS Score
3.3%
Top 12% exploitable
Prevalence
Low
regional-vendor consumer/SMB WiFi router, limited global 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 3.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
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