CVE-2025-56111
Published: 11 December 2025
Description
OS Command Injection vulnerability in Ruijie RG-BCR RG-BCR860 allowing attackers to execute arbitrary commands via a crafted POST request to the network_set_wan_conf in file /usr/lib/lua/luci/controller/admin/netport.lua.
Mitigating Controls (NIST 800-53 r5)AI
Directly mitigates OS command injection by requiring validation and sanitization of crafted POST request inputs to the network_set_wan_conf function, preventing arbitrary command execution.
Addresses the specific flaw in /usr/lib/lua/luci/controller/admin/netport.lua through timely identification, reporting, and remediation via patches or code fixes.
Limits damage from low-privilege (PR:L) authenticated attackers by enforcing least privilege on access to the vulnerable administrative network configuration function.
Security SummaryAI
CVE-2025-56111 is an OS command injection vulnerability (CWE-78) affecting Ruijie RG-BCR RG-BCR860 network devices. The flaw resides in the network_set_wan_conf function within the file /usr/lib/lua/luci/controller/admin/netport.lua, where attackers can execute arbitrary operating system commands by sending 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 high severity due to its potential for significant impact.
An attacker with low privileges, such as an authenticated user (PR:L), can exploit this vulnerability remotely over the network with low complexity and no user interaction required. Successful exploitation allows arbitrary command execution on the underlying OS, potentially leading to full device compromise, including high impacts on confidentiality, integrity, and availability.
Detailed advisories and reports on mitigation are available in the referenced sources, including https://1drv.ms/f/c/12406a392c92914b/EqEQemupso9DldgG-EcUI8IBLpEWP_S-f6vpeUtYztYYCg?e=gX4A10, https://1drv.ms/t/c/12406a392c92914b/ERJa0DnnR29MqtbLLRQirGYB4qA9dAdpn6eIJH9LwNlBmw?e=y6KkGo, and https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56111.md.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
OS command injection via web interface on network device enables arbitrary command execution (T1059.008 Network Device CLI) and exploitation of public-facing application (T1190).