CVE-2025-56122CWE-78command-injection

CVE-2025-56122

High · published December 12, 2025

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

🚨 A crafty POST request can let attackers execute arbitrary commands on your Ruijie RG-EW1800GX PRO! ⚡ This vulnerability in networkConnect.lua could turn your network device into an unwitting accomplice! Think of this as a hotel receptionist who doesn’t check IDs and lets anyone into the secure areas based on a single request. An attacker could simply ask, and boom, they have access to the back office and everything inside! If exploited, an attacker could unleash chaos by executing any command they desire, potentially compromising sensitive data or disrupting network operations. It's like handing over the keys to your entire hotel to a stranger, leaving you completely vulnerable!

Put simply

Think of this as a hotel receptionist who doesn’t check IDs and lets anyone into the secure areas based on a single request. An attacker could simply ask, and boom, they have access to the back office and everything inside! This OS Command Injection vulnerability arises from insufficient input validation in the networkConnect.lua file, allowing attackers to send crafted POST requests that the server unwittingly executes as commands.

What to do

If exploited, an attacker could unleash chaos by executing any command they desire, potentially compromising sensitive data or disrupting network operations. It's like handing over the keys to your entire hotel to a stranger, leaving you completely vulnerable! To protect your system, immediately patch to the latest firmware version provided by Ruijie. Ensure input validation is robust and restrict command execution to authorized actions only. Regularly audit your network devices for potential vulnerabilities! You've got this! By taking these steps, you can safeguard your network and earn your security hero badge! 🛡️

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 (3)
ProductVersionsFixed in
ruijie/rg-ew1800gx_firmwareall versions—
ruijie/rg-ew300n_firmwareall versions—
ruijie/rg-ew1800gx_pro_firmwareall versions—
References (3)
EPSS history
Timeline
  • 11 DEC 00:00Z
    OS Command Injection vulnerability in Ruijie RG-EW1800GX PRO B11P226_EW1800GX-PRO_10223117 allowing attackers to execute arbitrary commands via a crafted POST…
    cvelistv5