CVE-2025-56130CWE-78command-injection

CVE-2025-56130

High · published December 12, 2025

CVSS v3.1
8.8
EPSS
2%
Percentile
81.3
In the wild
Unconfirmed
What it is

⚡ A crafty POST request can let attackers run commands on your Ruijie RG-S1930 switch! 🔥 Think of it like a dishonest waiter taking your order and substituting whatever they want without checking with you first — suddenly, your meal is a complete surprise, and not in a good way! This OS Command Injection vulnerability allows an attacker to execute arbitrary commands on the switch, potentially giving them control over the entire network device. With elevated privileges, they could manipulate settings, access sensitive data, or disrupt services—yikes!

Put simply

Think of it like a dishonest waiter taking your order and substituting whatever they want without checking with you first — suddenly, your meal is a complete surprise, and not in a good way! The flaw resides in the module_update function within the ace_sw.lua file, which fails to properly sanitize input from crafted POST requests, allowing malicious commands to be executed directly. It’s like letting someone order off the menu without checking their choices against the recipe!

What to do

This OS Command Injection vulnerability allows an attacker to execute arbitrary commands on the switch, potentially giving them control over the entire network device. With elevated privileges, they could manipulate settings, access sensitive data, or disrupt services—yikes! To protect against this, immediately update to the patched version of S1930SWITCH_3.0(1)B11P230. Additionally, configure strict input validation to block unauthorized commands and monitor for any unusual activity. 🛡️ You’ve got this! Act now, and you'll keep your network safe and sound! 🚀

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02071 · 81.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-12-12T00:15Z
Affected products (2)
ProductVersionsFixed in
ruijie/rg-nbs5100-24gt4sfp_firmwareall versions—
ruijie/rg-s1930_firmwareall versions—
References (2)
EPSS history
Timeline
  • 11 DEC 00:00Z
    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…
    cvelistv5