CVE-2025-56085
BaseFortify
Publication date: 2025-12-11
Last updated on: 2025-12-12
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ruijie | rg-ew1200 | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for crafted POST requests targeting the module_set in the /usr/local/lua/dev_config/config_retain.lua file on Ruijie RG-EW1200 devices. Network detection can involve inspecting HTTP POST traffic for unusual or suspicious payloads directed at this endpoint. On the device, checking logs for unexpected command executions or unusual activity related to the config_retain.lua module may help. Specific commands are not provided in the available resources. [1]
How can this vulnerability impact me? :
An attacker exploiting this vulnerability could execute arbitrary commands on the affected device, potentially gaining unauthorized control, disrupting device functionality, or accessing sensitive information.
Can you explain this vulnerability to me?
This vulnerability is an OS Command Injection in the Ruijie RG-EW1200 device. It allows attackers to execute arbitrary operating system commands by sending a specially crafted POST request to the module_set in the file /usr/local/lua/dev_config/config_retain.lua.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the affected device's management interfaces to trusted networks only, applying any available patches or firmware updates from Ruijie addressing this vulnerability, and monitoring for suspicious POST requests to the module_set endpoint. If patches are not yet available, consider disabling or restricting the vulnerable functionality if possible. [1]