CVE-2025-14586
BaseFortify
Publication date: 2025-12-13
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| totolink | x5000r_firmware | 9.1.0cu.2089_b20211224 |
| totolink | x5000r | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-77 | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |
| 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 exists in the TOTOLINK X5000R firmware version 9.1.0cu.2089_B20211224, specifically in the snprintf function of the file /cgi-bin/cstecgi.cgi?action=exportOvpn&type=user. It allows an attacker to manipulate the User argument to perform OS command injection, enabling remote exploitation.
How can this vulnerability impact me? :
The vulnerability can allow a remote attacker to execute arbitrary operating system commands on the affected device, potentially leading to unauthorized control, data compromise, or disruption of service.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring HTTP requests to the vulnerable endpoint /cgi-bin/cstecgi.cgi with parameters action=exportOvpn and type=user. Suspicious or unexpected values in the 'user' parameter that include shell metacharacters or command injection patterns may indicate exploitation attempts. Network intrusion detection systems (NIDS) can be configured to alert on such patterns. Additionally, you can use curl or wget commands to test the endpoint with crafted inputs to see if command injection is possible. For example, sending a request like: curl 'http://<router-ip>/cgi-bin/cstecgi.cgi?action=exportOvpn&type=user&User=;id' and observing if the output includes command execution results. However, no specific detection commands are provided in the resources. [2, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include replacing the affected product or upgrading the firmware to a version that is not vulnerable, if available. Since no known mitigations or countermeasures currently exist for this vulnerability, it is recommended to restrict access to the device's management interface from untrusted networks, implement network-level filtering to block access to the vulnerable CGI endpoint, and monitor for exploitation attempts. Applying network segmentation and limiting administrative access can reduce risk until a patch or fix is available. [2]