Skip to main content

Ruijie RG-EW1200G PRO CVE-2025-56095

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
    Obtain low-priv management access
  2. Delivery
    Craft POST to module_set in nbr_cwmp.lua
  3. Exploit
    Inject shell metacharacters into parameter
  4. Execution
    Command runs as root on router
  5. Impact
    Full device takeover and 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 reachability to the device's management/web interface AND low-privilege authenticated access (CVSS PR:L), after which a crafted POST request to the module_set action in /usr/local/lua/dev_sta/nbr_cwmp.lua injects OS commands. Affected scope is specifically the Ruijie RG-EW1200G PRO across firmware V1.00/V2.00/V3.00/V4.00 (CPE also lists rg-eap602 firmware 3.0(1)B2P55). Limiting factors: this is NOT pre-authentication - an attacker needs valid (even low-level) credentials or exposed/default login, and the management interface must be reachable from the attacker's position; routers with management restricted to the LAN and strong credentials materially reduce exposure. No user interaction is required (UI:N).

Impact

This is a credible, actionable priority for anyone running the affected Ruijie hardware, though signals are moderately - not maximally - alarming. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity OS command injection requiring only low privileges, yielding full C:H/I:H/A:H impact (effectively root on an embedded router) for an 8.8 HIGH score. A public exploit/PoC exists (vendor-independent writeup on GitHub plus OneDrive artifacts), which raises practical risk. EPSS is 2.76% (86th percentile) - elevated relative to the overall CVE population but still an absolute low probability, consistent with a device-specific flaw that has a PoC but is not yet subject to mass automated exploitation. The CVE is NOT on CISA KEV, so there is no confirmed active exploitation. Signals are internally consistent: PR:L (authenticated) aligns with the description's authenticated POST to an administrative Lua handler, so this is not a fully pre-auth internet-wormable bug. Net: treat as a real patch-now item for exposed/affected devices, but it reads as a targeted-exploitation profile (PoC + authenticated access) rather than an imminent mass-exploitation event. No SSVC decision data was provided in the input.

Exploit ScenarioDerived

An attacker with low-privilege authenticated access to the router's web/management interface (or who has obtained/guessed credentials, including common defaults) sends a crafted POST request to the module_set endpoint handled by /usr/local/lua/dev_sta/nbr_cwmp.lua, injecting shell metacharacters into a parameter that is passed to an OS command. The injected command executes with the router's (typically root) privileges, giving full device takeover. A public PoC and writeup for CVE-2025-56095 exist, lowering the skill required to reproduce the attack.

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

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Authenticated OS command injection in Ruijie RG-EW1200G PRO routers running firmware V1.00, V2.00, V3.00 or V4.00 lets a remote attacker with low-privilege credentials execute arbitrary operating-system commands on the device by sending a crafted POST request to the module_set action handled in /usr/local/lua/dev_sta/nbr_cwmp.lua. Publicly available exploit code exists (a GitHub vulnerability report plus linked OneDrive proof-of-concept artifacts), and EPSS rates the flaw at 2.76% (86th percentile), but it is not listed in CISA KEV, so active exploitation is not confirmed. Because the CVSS vector is AV:N/PR:L/UI:N with high C/I/A impact, the attacker must first reach the router's management interface and hold valid (even low-level) credentials, meaning LAN-restricted management and strong unique credentials materially reduce exposure.

RemediationAI

No vendor-released patch version is identified in the available data, so treat firmware updates from Ruijie as the only true fix and check the vendor support portal and the referenced advisory for a corrected RG-EW1200G PRO build covering V1.00-V4.00 (and for rg-eap602 3.0(1)B2P55) before assuming any specific release resolves the issue. Until then, apply compensating controls that directly remove the two prerequisites: (1) restrict the web/management interface to a trusted LAN or management VLAN and disable WAN-side/remote administration and cloud-style remote management so the crafted POST to module_set in nbr_cwmp.lua is unreachable from untrusted networks - the trade-off is loss of remote administration, which must be replaced by VPN or out-of-band access; (2) rotate all default and shared credentials and enforce unique, strong admin passwords, since the vector requires low-privilege authentication (PR:L) and default or reused logins lower that bar further - the trade-off is added credential-management overhead and potential lockout if recovery paths are not documented; and (3) monitor router logs and upstream IDS/IPS for POST requests targeting the module_set action or the dev_sta/nbr_cwmp.lua handler as a detection signal, accepting that embedded devices often log minimally. Network segmentation of these routers away from sensitive segments limits blast radius if a device is compromised, and the advisory at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56095.md should be tracked for updated patch and mitigation guidance.

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 flaw is a classic CWE-78 improper neutralization of special elements used in an OS command, rooted in the device's Lua-based web management code: the module_set handler in /usr/local/lua/dev_sta/nbr_cwmp.lua accepts attacker-controlled parameters from an HTTP POST body and passes them into a shell invocation without adequate escaping or allow-listing. Because the vulnerable component sits in the device's own Lua device-station/CWMP management logic rather than a third-party library, exploitation is not dependent on an upstream dependency and does not require user interaction (UI:N) - only network reachability to the web/management interface plus low-privilege authentication (PR:L, AV:N, AC:L) - after which injected shell metacharacters run with the privileges of the web service, typically root on embedded router firmware, giving full read/write control of configuration and firmware. CPE data associates the issue with Ruijie RG-EW1200G PRO firmware (cpe:2.3:o:ruijie:rg-ew1200g_pro_firmware:-:*:*:*:*:*:*:*) and also lists rg-eap602 firmware 3.0\(1\)b2p55, suggesting the same Vuln class of unsanitized command construction may be shared across Ruijie embedded firmware builds, though the authoritative report and versions center on the RG-EW1200G PRO V1.00-V4.00 line.

Know when Rg Ew1200G 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 request (AC:L), requires authenticated low-priv access per the described admin POST (PR:L); command injection yields root, so C/I/A all High.

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 RG-EW1200G PRO RG-EW1200G PRO V1.00/V2.00/V3.00/V4.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

Ruijie RG-EW1200G PRO routers running firmware V1.00, V2.00, V3.00, or V4.00 are affected by an authenticated OS command injection flaw that can give an attacker with low-privilege credentials full control of the device when the management interface is reachable; publicly available exploit code exists, though it is not listed in CISA KEV. This matters to the organization because a compromised router can disrupt connectivity, intercept or alter network traffic, and provide a foothold for lateral movement, especially if remote management is exposed or credentials are weak or shared. Leadership should treat this as a high-priority exposure and reduce management access and credential risk immediately while no vendor-released patch has been identified.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting management access to trusted LAN/VLAN, disabling WAN/remote management, enforcing strong unique credentials and least privilege, removing default/low-privilege accounts, monitoring and alerting on POST requests to module_set or /usr/local/lua/dev_sta/nbr_cwmp.lua, segmenting affected routers, and evaluating replacement or vendor workarounds if available.

Threat Intelligence Overview

EPSS Score
2.8%
Top 14% exploitable
Prevalence
Medium
regional-vendor SOHO/SMB router, meaningful Asia-Pacific footprint, 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.8%
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-ew1200g_pro_firmware:-:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-eap602_firmware:3.0\(1\)b2p55:*:*:*:*:*:*:*

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