Ruijie X30-PRO CVE-2025-56108
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to web management interface
-
DeliverySend crafted POST to pwdmodify endpoint
-
ExploitInject OS command via parameter in common.lua
-
ExecutionExecute arbitrary commands with device privileges
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
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 pwdmodify in file /usr/lib/lua/luci/modules/common.lua.
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
OS command injection in Ruijie X30-PRO (firmware X30-PRO-V1_09241521) and Ruijie RG-EW300 Pro (firmware 3.0(1)b11p219) a
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