CVE-2025-56120CWE-78command-injection

CVE-2025-56120

High · published December 12, 2025

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

⚡ An OS Command Injection vulnerability in Ruijie X60 PRO lets attackers execute arbitrary commands with just a crafty POST request! This could spell trouble if you're not paying attention. 🔥 Think of it like a sneaky delivery person who shows up with a package and has full access to your building because no one checks their ID — they could drop off anything, including malicious commands! If exploited, this vulnerability could allow attackers to take full control of your device, execute unwanted commands, and potentially cause significant disruptions to your network. Imagine a rogue digital intruder wreaking havoc — they could change configurations, access sensitive data, or even disable critical services. This is absolutely devastating!

Put simply

Think of it like a sneaky delivery person who shows up with a package and has full access to your building because no one checks their ID — they could drop off anything, including malicious commands! This OS Command Injection vulnerability exists in the Ruijie X60 PRO's config_retain.lua file, allowing attackers to execute arbitrary commands through a specially crafted POST request to the module_set endpoint without any authentication checks.

What to do

If exploited, this vulnerability could allow attackers to take full control of your device, execute unwanted commands, and potentially cause significant disruptions to your network. Imagine a rogue digital intruder wreaking havoc — they could change configurations, access sensitive data, or even disable critical services. This is absolutely devastating! To protect yourself, immediately patch to the latest firmware version provided by Ruijie. Ensure that you have strict input validation in place for POST requests and monitor your network for any suspicious activity. This is key to keeping your system secure! You’ve got this! With these steps, you’ll be well on your way to securing your systems against this vulnerability. 🛡️

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.02643 · 85.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/rg-x60_pro_firmwareall versions—
ruijie/rg-ew1200_firmwareall versions—
References (3)
EPSS history
Timeline
  • 11 DEC 00:00Z
    OS Command Injection vulnerability in Ruijie X60 PRO X60_10212014RG-X60 PRO V1.00/V2.00 allowing attackers to execute arbitrary commands via a crafted POST…
    cvelistv5