Cyber Posture

CVE-2025-56114

HighPublic PoC

Published: 11 December 2025

Published
11 December 2025
Modified
07 January 2026
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.0105 77.6th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Description

OS Command Injection vulnerability in Ruijie M18 EW_3.0(1)B11P226_M18_10223116 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_config/config_retain.lua.

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly addresses the insufficient input validation in module_set that enables OS command injection via crafted POST requests.

prevent

Requires timely identification, reporting, and patching of the specific flaw in the Ruijie M18 firmware to remediate the vulnerability.

prevent

Restricts and scans inserted information such as POST request parameters to block malicious command payloads before processing.

Security SummaryAI

CVE-2025-56114 is an OS Command Injection vulnerability (CWE-78) affecting the Ruijie M18 device running firmware version EW_3.0(1)B11P226_M18_10223116. The flaw resides in the module_set function within the file /usr/local/lua/dev_config/config_retain.lua, where insufficient input validation allows attackers to inject and execute arbitrary operating system commands through a specially 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 high severity due to its network accessibility and potential for significant impact.

An attacker with low privileges (PR:L), such as an authenticated user, can exploit this vulnerability remotely over the network with low complexity and no user interaction required. By sending a malicious POST request to the vulnerable endpoint, the attacker can execute arbitrary commands on the underlying operating system, potentially leading to full system compromise with high impacts on confidentiality, integrity, and availability.

Mitigation details and further technical analysis are documented in vendor advisories and independent reports available at the following references: https://1drv.ms/f/c/12406a392c92914b/EmXarTTNPwFHjk8lLwQIqj8Ba9nlq-owLMBtEKpBwMrn5A?e=vvi2dM, https://1drv.ms/t/c/12406a392c92914b/EWfEhLkTSblOur72XhaQ7W4BsxQ1IWXZ-Wkcv9WC7AYb-g?e=LpMdqT, and https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56114.md. Security practitioners should consult these for patch availability, workaround guidance, and affected version confirmation.

Details

CWE(s)

Affected Products

ruijie
rg-ew1300g firmware
ew_3.0\(1\)b11p303
ruijie
m18-ew firmware
3.0\(1\)b11p226

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.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

CVE enables exploitation of a public-facing web application via crafted POST request for arbitrary OS command injection on a Unix-like system.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References