CVE-2025-56097
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-ew1800gx_pro | * |
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
Can you explain this vulnerability to me?
This vulnerability is an OS Command Injection in the Ruijie RG-EW1800GX PRO 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.
How can this vulnerability impact me? :
An attacker exploiting this vulnerability could execute arbitrary commands on the affected device, potentially leading to unauthorized control, data theft, disruption of services, or further compromise of the network where the device is deployed.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability can be performed by monitoring for crafted POST requests targeting the module_set in the /usr/local/lua/dev_config/config_retain.lua file on Ruijie RG-EW1800GX PRO devices. Network intrusion detection systems (NIDS) can be configured to look for unusual POST requests to this endpoint. Additionally, manual inspection or automated scripts can be used to check for suspicious POST payloads that attempt to inject OS commands. Specific commands are not provided in the available resources. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the affected device's management interface, especially limiting POST requests to the vulnerable module_set endpoint. Applying any available patches or firmware updates from Ruijie is recommended once released. If patches are not yet available, consider disabling the vulnerable service or applying firewall rules to block malicious POST requests. Specific mitigation commands or patches are not detailed in the provided resources. [1]