Ruijie RG-EW1200 and RG-EW300 PRO OS Command Injection Vulnerability

Vulnerability

An OS command injection vulnerability has been identified in Ruijie RG-EW1200 and RG-EW300 PRO devices. This vulnerability allows authenticated remote attackers to execute arbitrary system commands by sending specially crafted POST requests to a vulnerable Lua service. The issue is present in the RG-EW1200 EW_3.0(1)B11P227_EW1200_11130208 and RG-EW300 PRO ReyeeOS219 versions.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the affected device.

Reproduction

To reproduce this vulnerability, send a POST request to the 'module_set' endpoint in the '/usr/local/lua/dev_config/config_retain.lua' file. The request must be crafted to include the desired commands for execution.

Added: Dec 11, 2025, 6:26 PM
Updated: Dec 11, 2025, 6:26 PM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
7.5
exploitability
6.2
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.