Cyber Posture

CVE-2025-56122

HighPublic PoCRCE

Published: 11 December 2025

Published
11 December 2025
Modified
23 December 2025
KEV Added
Patch
CVSS Score 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0060 69.6th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-56122 is a high-severity OS Command Injection (CWE-78) vulnerability in Ruijie Rg-Ew1800Gx Firmware. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 30.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly requires validation and sanitization of untrusted inputs like crafted POST requests to prevent OS command injection in the Lua script.

prevent

Ensures timely remediation of known flaws such as this command injection vulnerability through patching the affected firmware version.

prevent

Limits potential damage from command injection by enforcing least privilege on low-privilege accounts accessing the vulnerable endpoint.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.008 Network Device CLI Execution
Adversaries may abuse scripting or built-in command line interpreters (CLI) on network devices to execute malicious command and payloads.
Why these techniques?

OS command injection via crafted POST to web interface (/usr/local/lua/dev_sta/networkConnect.lua) on network device enables exploitation of public-facing application for arbitrary command execution on the device CLI.

NVD Description

OS Command Injection vulnerability in Ruijie RG-EW1800GX PRO B11P226_EW1800GX-PRO_10223117 allowing attackers to execute arbitrary commands via a crafted POST request to the module_get in file /usr/local/lua/dev_sta/networkConnect.lua.

Deeper analysisAI

CVE-2025-56122, published on 2025-12-11, is an OS Command Injection vulnerability (CWE-78) in the Ruijie RG-EW1800GX PRO device running firmware version B11P226_EW1800GX-PRO_10223117. The issue affects the module_get function in the file /usr/local/lua/dev_sta/networkConnect.lua, enabling attackers to execute arbitrary operating system commands through a crafted POST request.

The vulnerability carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating network accessibility, low attack complexity, and exploitation requiring only low privileges without user interaction or scope changes. Attackers with such privileges can remotely inject and execute commands, resulting in high impacts to confidentiality, integrity, and availability, potentially allowing full device compromise.

Advisories and detailed reports on this vulnerability, including potential mitigations and patches, are available in the referenced sources: https://1drv.ms/f/c/12406a392c92914b/Eohr-0awt6VAuiLCNhCG0rgBLQip6nJpl-9Hy0OqB4MvFg?e=DIfBxi, https://1drv.ms/t/c/12406a392c92914b/EZOBtzLwlmBKschv6sxT_LcBBKnMP_OXO7d24321UD8x8g?e=Dpui5j, and https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56122.md.

Details

CWE(s)

Affected Products

ruijie
rg-ew1800gx firmware
3.0\(1\)b11p226
ruijie
rg-ew300n firmware
3.0\(1\)b11p300
ruijie
rg-ew1800gx pro firmware
1.022.3117

CVEs Like This One

CVE-2025-56097Same product: Ruijie Rg-Ew1800Gx Pro
CVE-2025-56091Same product: Ruijie Rg-Ew1800Gx
CVE-2025-56085Same vendor: Ruijie
CVE-2025-56129Same vendor: Ruijie
CVE-2025-56120Same vendor: Ruijie
CVE-2025-56087Same vendor: Ruijie
CVE-2025-56109Same vendor: Ruijie
CVE-2025-56111Same vendor: Ruijie
CVE-2025-56118Same vendor: Ruijie
CVE-2025-56123Same vendor: Ruijie

References