Skip to main content

Ruijie X30-PRO CVE-2025-56108

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 web management interface
  2. Delivery
    Send crafted POST to pwdmodify endpoint
  3. Exploit
    Inject OS command via parameter in common.lua
  4. Execution
    Execute arbitrary commands with device privileges
  5. Impact
    Full compromise of network 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 network access to the device's web management interface AND a valid low-privilege authenticated session (CVSS PR:L), after which a crafted POST request to the pwdmodify function handled by common.lua triggers injection of OS commands. No user interaction is needed (UI:N). Limiting factors: the attacker must first obtain credentials or an authenticated session, and the management interface must be reachable - devices whose admin interface is not exposed to attacker-controlled networks (e.g., LAN-only or firewalled management) substantially reduce exposure. Applies to the listed Ruijie firmware builds (X30-PRO X30-PRO-V1_09241521 and related RG-EAP602/RG-EST350/RG-EW300 PRO/RG-EST310 firmware per CPE).

Impact

Signals are largely consistent and point to a genuine, actionable risk. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity flaw requiring only low-privilege authentication, with full C:H/I:H/A:H impact - appropriate for an OS command injection on an embedded network device where injected commands typically run with high/root privileges. Publicly available exploit code (including a detailed write-up and PoC on GitHub) meaningfully lowers the barrier to weaponization. EPSS of 2.66% (85th percentile) is moderate-to-elevated relative to the overall CVE population, indicating above-average but not extreme near-term exploitation likelihood. This CVE is NOT in CISA KEV, so there is no confirmation of active in-the-wild exploitation; the PoC availability and KEV absence together suggest opportunity exists but widespread automated exploitation is not yet confirmed. The main caveat limiting raw risk is PR:L - exploitation requires valid (even if low-privilege) credentials or an authenticated session to the device management interface, so this is not a pure pre-auth remote flaw. For organizations running the affected Ruijie devices with management interfaces exposed, this is a real patching priority; for others it is lower due to limited deployment footprint.

Exploit ScenarioDerived

An attacker with low-privilege authenticated access to the Ruijie device's web management interface sends a crafted POST request to the pwdmodify handler, injecting shell metacharacters into a parameter processed by common.lua. A public PoC and write-up exist, so the request format is documented; the injected command executes on the device, giving the attacker command execution (typically root) on the access point/router.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.7% 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 OS command injection in Ruijie X30-PRO wireless routers and related Ruijie wireless firmware (RG-EAP602, RG-EST350, RG-EW300 PRO, RG-EST310) allows a low-privileged, logged-in user to execute arbitrary system commands by sending a crafted POST request to the pwdmodify handler implemented in /usr/lib/lua/luci/modules/common.lua. The issue is rated CVSS 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, CWE-78), and publicly available exploit code exists - including a dedicated GitHub vulnerability report (flegoity) and accompanying proof-of-concept links - while EPSS sits at 2.66% (roughly the 85th percentile), indicating elevated relative likelihood rather than confirmed active exploitation. Risk concentrates on devices whose web management interface is reachable from untrusted networks; LAN-only or firewalled management interfaces substantially reduce exposure.

RemediationAI

No vendor-released patch is identified in the available data for CVE-2025-56108, so remediation currently depends on exposure reduction and compensating controls rather than a confirmed fixed firmware image; check Ruijie's official support and security advisory channels directly for updated X30-PRO, RG-EAP602, RG-EST350, RG-EW300 PRO, and RG-EST310 firmware, and apply it as soon as it is published. Because exploitation requires an authenticated low-privilege session (CVSS PR:L) against a reachable web management interface, the highest-value control is to isolate that interface: bind management access to a dedicated trusted VLAN or LAN segment, block the device's HTTP/HTTPS management ports at the WAN/edge firewall, and disable any remote or cloud management feature - the trade-off is loss of convenient remote administration, which should be replaced by VPN-based access. Enforce strong, unique administrative credentials and rotate any default or shared passwords to make the required authenticated foothold harder to obtain, and restrict or remove unnecessary low-privilege accounts that could be abused for the pwdmodify injection. Where feasible, segment IoT/access-point management traffic away from user and guest networks so a compromised endpoint cannot reach the admin UI, and monitor web logs for anomalous POST requests to the pwdmodify endpoint or unexpected shell-like characters in request bodies as a detection measure; note that these controls reduce but do not eliminate risk while unpatched firmware remains deployed, and detailed exploitation context is available in the GitHub advisory at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56108.md.

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 vulnerable component is common.lua, a Lua module belonging to the LuCI-style web management framework (an OpenWrt-derived Lua web UI bundled in Ruijie firmware) that handles administrative functions such as password modification through the pwdmodify endpoint. The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), meaning user-supplied input reaching the pwdmodify handler is passed into a shell invocation without adequate sanitization, allowing command chaining and execution with the privileges of the underlying web/management process. CPE data binds the flaw to Ruijie firmware images - X30-PRO (X30-PRO-V1_09241521), RG-EAP602 firmware 3.0(1)B2P55, RG-EST350 firmware 3.0(1)B11P221, RG-EW300 PRO firmware 3.0(1)B11P219, and RG-EST310 firmware 3.0(1)B11P211 - indicating the same shared Lua code path is reused across multiple Ruijie wireless access point, router, and extender platforms. The CVSS vector confirms network reachability (AV:N) and low complexity (AC:L) but requires a valid low-privilege authenticated session (PR:L) with no user interaction (UI:N), so the injection primitive is gated behind successful authentication to the management interface.

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), no special conditions (AC:L), requires an authenticated low-privilege session (PR:L), no user interaction (UI:N); root-level command execution yields full C/I/A impact.

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 pwdmodify in file /usr/lib/lua/luci/modules/common.lua.

Threat Intelligence Overview

EPSS Score
2.7%
Top 15% exploitable
Prevalence
Medium
Ruijie enterprise/SMB APs and routers, common regionally but not universally deployed
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.7%
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· derived
Medium

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-eap602_firmware:3.0\(1\)b2p55:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-est350_firmware:3.0\(1\)b11p221:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-ew300_pro_firmware:3.0\(1\)b11p219:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-est310_firmware:3.0\(1\)b11p211:*:*:*:*:*:*:*

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