CVE-2025-56117CWE-78command-injection

CVE-2025-56117

High · published December 12, 2025

CVSS v3.1
8.8
EPSS
3%
Percentile
87.5
In the wild
Unconfirmed
What it is

⚡ An OS Command Injection vulnerability in Ruijie X30-PRO could let attackers run arbitrary commands with just a crafted POST request — that's like a rogue chef taking control of the kitchen! 🔥 Picture a restaurant where the kitchen accepts orders without checking the menu. If a mischievous customer sends in a bizarre request, they might end up sizzling something totally unexpected! In this case, the vulnerable lua script is the chef who doesn’t verify the authenticity of the ingredients before cooking. An attacker exploiting this vulnerability could execute any command they wish, potentially compromising the device entirely — think of it as someone sneaking into the restaurant and swapping the chef's signature dish for a disaster. Full control over the device opens the door to unauthorized data access, system tampering, or even network breaches.

Put simply

Picture a restaurant where the kitchen accepts orders without checking the menu. If a mischievous customer sends in a bizarre request, they might end up sizzling something totally unexpected! In this case, the vulnerable lua script is the chef who doesn’t verify the authenticity of the ingredients before cooking. This vulnerability allows attackers to execute arbitrary commands through unsanitized inputs in a crafted POST request targeted at the module_set function within the specified lua script (nbr_cwmp.lua). This oversight means the system trusts inputs that should be tightly controlled.

What to do

An attacker exploiting this vulnerability could execute any command they wish, potentially compromising the device entirely — think of it as someone sneaking into the restaurant and swapping the chef's signature dish for a disaster. Full control over the device opens the door to unauthorized data access, system tampering, or even network breaches. To mitigate this issue, patch your Ruijie X30-PRO to the latest version as soon as it's available. Additionally, implement input validation and sanitization to ensure that only legitimate commands are executed. Monitoring incoming requests for suspicious patterns can also help catch any attempted exploitation in real-time. You've got this! Just follow these steps, and you'll have your systems secured in no time! 🛡️

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.03051 · 87.5th 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/x30_pro_firmwareall versions—
ruijie/rg-est310_firmwareall versions—
References (3)
EPSS history
Timeline
  • 11 DEC 00:00Z
    OS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POST request to the…
    cvelistv5