Skip to main content

Ruijie X60 PRO CVE-2025-56118

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
    Send crafted POST to module_set in nbr_cwmp.lua
  3. Exploit
    Inject shell metacharacters into command parameter
  4. Execution
    Execute arbitrary OS commands on device
  5. Impact
    Full compromise of router (traffic interception, pivot)

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 management interface and a low-privilege authenticated session (CVSS PR:L), after which a single crafted POST request to the module_set function in /usr/local/lua/dev_sta/nbr_cwmp.lua injects OS commands - no user interaction is needed (UI:N) and attack complexity is low (AC:L). Limiting factors: the attacker must first reach the management interface (typically LAN-side or an exposed/forwarded admin port) and must hold at least low-level credentials; the flaw is specific to Ruijie X60 PRO firmware (V1.00/V2.00, CPE 1.021.2014) and, per CPE, RG-EW3200GX firmware 3.0(1)b11p219, so unaffected models/versions and devices not exposing the management interface to the attacker are not reachable. Default or weak router credentials would materially reduce the authentication barrier in practice.

Impact

CVSS 3.1 base score is 8.8 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating a network-reachable, low-complexity command injection that requires low-privilege authentication (PR:L) but no user interaction, yielding full confidentiality, integrity, and availability impact - consistent with arbitrary OS command execution on an embedded router. Publicly available exploit code exists (GitHub advisory plus two hosted PoC files), which raises practical risk above a theoretical High. The EPSS score of 2.57% sits at the 85th percentile - elevated relative to the overall CVE population but not indicative of mass automated exploitation, suggesting opportunistic or targeted use rather than widespread campaigns at this time. There is no CISA KEV listing, so there is no confirmed active exploitation; the combination of available PoC + moderate-high EPSS percentile + low-privilege (not unauthenticated) prerequisite points to a credible but conditional threat. No SSVC decision data was provided in the input, so exploitation-status/automatable/technical-impact framing could not be cross-referenced. Key caveat: the CVSS vector specifies PR:L (authentication required), yet the description does not state what credential or access level enables the POST request - defenders should verify whether default/weak router credentials effectively lower this barrier.

Exploit ScenarioDerived

An attacker with low-privilege access to the device's web/management interface (e.g., a valid or default user session) sends a crafted POST request to the module_set handler in /usr/local/lua/dev_sta/nbr_cwmp.lua, injecting shell metacharacters that are passed unsanitized to an OS command. The injected commands execute with the router's service privileges, enabling full device takeover. Publicly available PoC material lowers the skill barrier, and the low attack complexity (AC:L) means the request is reliable once the authentication prerequisite is met.

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

Authenticated OS command injection in Ruijie X60 PRO router firmware (V1.00/V2.00, build 1.021.2014) allows an attacker holding low-privilege credentials to run arbitrary system commands via a crafted POST request to the module_set function in /usr/local/lua/dev_sta/nbr_cwmp.lua, yielding full compromise of confidentiality, integrity, and availability (CVSS 3.1 8.8, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The same flaw is reported against Ruijie RG-EW3200GX firmware 3.0(1)b11p219. Publicly available exploit code exists (including a GitHub write-up and hosted PoC artifacts), and EPSS places the CVE at roughly 2.57% (85th percentile), so it is a realistically attractive target for exploitation once an attacker can reach the management interface, though it requires at least low-level authentication and is not confirmed as actively exploited (no CISA KEV listing).

RemediationAI

No vendor-released patch with an exact fixed firmware version is identified in the available data at this time; Ruijie users should check the Ruijie support/security pages for an updated X60 PRO and RG-EW3200GX firmware and apply the first release that supersedes 1.021.2014 / 3.0(1)b11p219 as soon as it is published, and reference the vulnerability write-up at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56118.md to track affected models. Until a fixed build is confirmed, apply compensating controls: disable WAN-side/remote administration and any port-forwarding that exposes the router management interface to untrusted networks (this removes the AV:N attack path, at the cost of losing remote management), rotate all default and weak administrator credentials and use unique strong passwords because PR:L is the only authentication barrier and default credentials would effectively lower it (side effect: credential rotation requires updating stored configs/scripts), restrict management access to a trusted LAN/VLAN or specific administrative source IPs via ACLs, and segment the router from sensitive internal networks so that successful command execution cannot pivot further. Because publicly available exploit code exists, monitor router logs and outbound traffic for command-injection indicators and anomalous processes, and treat any unpatched device reachable from an untrusted network as compromised until verified.

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

Ruijie X60 PRO is an embedded wireless router whose web/management stack is partly implemented in Lua. The affected component, /usr/local/lua/dev_sta/nbr_cwmp.lua, relates to TR-069/CWMP (CPE WAN Management Protocol) neighbor/station handling, and its module_set routine passes request-derived data into a shell invocation without adequate neutralization - the classic CWE-78 OS Command Injection pattern in which untrusted input is concatenated into a command line executed by the underlying Linux shell. Because the vector is AV:N with AC:L, a single POST request over the network is sufficient to inject commands; PR:L indicates the endpoint is gated behind at least a low-privilege authenticated session, and UI:N confirms no victim interaction is needed. The CPE data pins the affected code to Ruijie X60 PRO firmware versions 1.021.2014 and RG-EW3200GX firmware 3.0(1)b11p219, meaning only devices running these specific firmware builds (or equivalent code paths) are in scope; other models or updated builds are not covered by the available evidence.

Know when Rg Ew3200Gx 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) with low-privilege auth required (PR:L) per vector; unsanitized command injection gives full OS-level C/I/A on the device with no scope change.

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 X60 PRO X60_10212014RG-X60 PRO V1.00/V2.00 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_sta/nbr_cwmp.lua.

Executive ViewAI

Why It Matters

Organizations using Ruijie X60 PRO (firmware V1.00/V2.00 build 1.021.2014) or RG-EW3200GX (firmware 3.0(1)b11p219) routers face a high-severity command injection flaw that, once an attacker obtains any low-privilege credentials, allows full control of the device. Although no vendor patch is available and publicly available exploit code exists, the requirement for authentication reduces the immediate risk of mass exploitation, yet a compromised router can serve as a pivot point for network-wide attacks, data interception, and service disruption. Leadership should prioritize access restrictions and monitoring for these devices to protect critical network infrastructure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting management interface access to trusted networks, disabling remote management and CWMP if not needed, enforcing strong credentials and least privilege, segmenting affected routers from critical assets, enabling logging and monitoring for exploitation attempts, and applying vendor workarounds as available.

Threat Intelligence Overview

EPSS Score
2.6%
Top 15% exploitable
Prevalence
Medium
Ruijie SOHO/SMB router firmware, common in some regional markets, not globally ubiquitous
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:rg-ew3200gx_firmware:3.0\(1\)b11p219:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-x60_pro_firmware:1.021.2014:*:*:*:*:*:*:*

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