Ruijie RG-EW1200G PRO and RG-EW1200R OS Command Injection Vulnerability

Vulnerability

An OS command injection vulnerability has been identified in the Ruijie RG-EW1200G PRO (versions 1.00, 2.00, 3.00, and 4.00) and the RG-EW1200R running ReyeeOS301. This vulnerability allows authenticated remote attackers to execute arbitrary commands on the affected device by sending specially crafted POST requests to the 'module_set' in the file '/usr/local/lua/dev_config/config_retain.lua'.

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. This can be done using a tool like curl or Postman, ensuring that the request is sent with the appropriate authentication.

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

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.6
remediation
0.0
relevance
1.3
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.