Ruijie RG-S1930
CVE-2025-56130
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege access to switch management interface
-
DeliveryCraft malicious POST to module_update endpoint
-
ExploitInject OS command via ace_sw.lua parameter
-
ExecutionDevice executes arbitrary commands
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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.
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
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.
NVD
CVE.org
EPSS
GitHub
Exploit-DB