Skip to main content

Ruijie RG-S1930 CVE-2025-56130

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-privilege access to switch management interface
  2. Delivery
    Craft malicious POST to module_update endpoint
  3. Exploit
    Inject OS command via ace_sw.lua parameter
  4. Execution
    Device executes arbitrary commands
  5. Impact
    Full switch compromise and network 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 targets the module_update function handled in /usr/local/lua/dev_config/ace_sw.lua and is triggered by a crafted POST request to that endpoint on the device management interface. The CVSS vector's PR:L means the attacker must hold at least a low-privilege authenticated account (or valid credentials) on the switch - this authentication requirement is the primary limiting factor, as the endpoint is not reachable fully unauthenticated. No user interaction is required (UI:N). Known-affected builds are RG-S1930 firmware 3.0(1)B11P230 and RG-NBS5100-24GT4SFP firmware 3.0(1)B11P248; exposure is further limited by whether the management plane is reachable by the attacker (segmented/management-VLAN-only deployments reduce the realistic attack surface).

Impact

This is a credible, actionable priority rather than a paper tiger. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) indicates network-reachable exploitation at low attack complexity requiring only low-privilege authentication, with full confidentiality, integrity, and availability impact (C:H/I:H/A:H) on an unchanged scope - consistent with command injection yielding OS-level control of a network switch. Reinforcing signals: a public exploit/PoC exists (GitHub write-up by flegoity), and the EPSS score of 2.07% sits at the 81st percentile, which is elevated relative to the CVE population and signals above-average predicted exploitation interest, though not the near-certainty seen with mass-exploited bugs. The one tempering factor is the PR:L requirement - an attacker needs some authenticated foothold (e.g., a low-privilege device account or credentials), which limits fully anonymous internet-wide mass exploitation and points toward exploitation by insiders, credentialed attackers, or those chaining a prior auth bypass. The CVE is NOT on CISA KEV, so there is no confirmed active exploitation despite public exploit code; treat PoC availability and active in-the-wild exploitation as distinct. Net: high-impact, low-complexity, remotely reachable, with working exploit code - patch/mitigate promptly, but the authentication prerequisite makes it somewhat less wormable than a PR:N equivalent.

Exploit ScenarioDerived

An attacker with low-privilege credentials (or who has otherwise reached the device management interface) sends a crafted POST request to the module_update handler in /usr/local/lua/dev_config/ace_sw.lua, injecting OS commands that the switch executes with device-level privileges. Publicly available exploit code (GitHub PoC) lowers the skill barrier, enabling full device takeover - traffic interception, configuration tampering, or using the switch as a network pivot.

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

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

Alert me

AnalysisAIv1 – Oct 14, 2026

OS command injection in Ruijie RG-S1930 switch firmware 3.0(1)B11P230 (and the related RG-NBS5100-24GT4SFP firmware 3.0(1)B11P248) allows an authenticated low-privilege attacker to execute arbitrary operating-system commands through a crafted POST request to the module_update handler in /usr/local/lua/dev_config/ace_sw.lua. Successful exploitation yields full compromise of the device's confidentiality, integrity, and availability, and publicly available exploit code exists (EPSS 2.07%, 81st percentile), making this an actionable priority for any organization with these switches exposed on a reachable management plane.

RemediationAI

No vendor-released patch was identified at the time of analysis; affected organizations should confirm current advisory status directly with Ruijie before assuming a fix is available. As the primary compensating control, restrict access to the switch management interface to a dedicated, trusted management VLAN and enforce strict firewall/ACL rules so that only authorized administrative hosts can reach the module_update endpoint - this reduces exposure but does not remove risk if an authenticated attacker already has management-plane access. Disable remote management (WAN-facing HTTP/HTTPS/Telnet/SSH) on these switches where operationally possible, and rotate and minimize low-privilege accounts, since the CVSS vector requires only PR:L credentials to exploit. Monitor device and network logs for anomalous POST requests targeting /usr/local/lua/dev_config/ace_sw.lua or the module_update function, and treat any such activity as a potential compromise indicator. Until a patched firmware is confirmed, consider isolating affected units or replacing them in high-value network segments; the trade-off is reduced manageability and possible operational disruption, but it is preferable to leaving a command-injection endpoint reachable.

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 OS command injection (CWE-78) rooted in the Lua-based configuration module /usr/local/lua/dev_config/ace_sw.lua, which implements the module_update function on the Ruijie switch management interface. User-supplied input arriving via a crafted POST request is passed to a shell without adequate sanitization or escaping, allowing an attacker to append or substitute arbitrary shell commands that execute with the privileges of the underlying device process. The reported CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) confirms a network-reachable, low-complexity attack that requires only low-privilege credentials and no user interaction, with high impact across all three security objectives. CPE records tie the issue to Ruijie RG-S1930 firmware 3.0(1)B11P230 and RG-NBS5100-24GT4SFP firmware 3.0(1)B11P248, both of which share the affected Lua configuration framework.

Know when Rg Nbs5100 24Gt4Sfp 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 timing (AC:L), requires a low-privilege authenticated account (PR:L), no user interaction; command injection yields full OS-level C/I/A on the device.

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-S1930 S1930SWITCH_3.0(1)B11P230 allowing attackers to execute arbitrary commands via a crafted POST request to the module_update in file /usr/local/lua/dev_config/ace_sw.lua.

Executive ViewAI

Why It Matters

Ruijie RG-S1930 series switches and the closely related RG-NBS5100-24GT4SFP model, when running firmware versions 3.0(1)B11P230 and 3.0(1)B11P248 respectively, contain a high-severity command injection flaw in the device's module_update handling code that allows an attacker to run arbitrary operating system commands and take full control of the switch. No vendor-released patch has been identified at time of analysis, and publicly available exploit code exists, so any organization with these devices reachable from an untrusted network segment carries elevated risk. Because these are access-layer switching platforms, a compromised unit can be used to intercept or disrupt traffic, pivot deeper into the network, and undermine segmentation controls that other security investments depend on.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: isolate affected switches on a dedicated management VLAN with strict ACLs and firewall rules limiting management access to authorized administrator hosts; disable or block external reachability of the web management interface and the module_update handler; rotate credentials and eliminate shared accounts; deploy IDS/IPS or network monitoring to detect crafted POST requests targeting /usr/local/lua/dev_config/ace_sw.lua; segment affected devices to limit lateral movement; monitor vendor advisory channels for a fixed firmware release and apply it as soon as available.

Threat Intelligence Overview

EPSS Score
2.1%
Top 19% exploitable
Prevalence
Medium
Specific enterprise network-switch vendor, significant footprint but not 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.1%
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

66
Low Medium High Critical
KEV: 0
EPSS: +2
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-nbs5100-24gt4sfp_firmware:3.0\(1\)b11p248:*:*:*:*:*:*:*
cpe:2.3:o:ruijie:rg-s1930_firmware:3.0\(1\)b11p230:*:*:*:*:*:*:*

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