Totolink A7100RU Command Injection Vulnerability
A command injection vulnerability exists in Totolink A7100RU firmware version 7.4cu.2313_b20191024, allowing remote attackers to execute arbitrary OS commands by manipulating the 'tz' argument in the setNtpCfg function within the /cgi-bin/cstecgi.cgi file.
CVE search metadata
CVE search record: CVE-2026-5689. Severity: high. CVSS: 7.3. EPSS: 1.46%. KEV: no. Brief: Totolink A7100RU Command Injection Vulnerability. Brief link: https://feed.craftedsignal.io/briefs/2026-04-06-totolink-command-injection/
Triage facts
Revision 2- Evidence
- Unknown
- Severity
- High
- Sources
- 3 public sources
- Freshness
- Revision 2Apr 6, 23:16 UTC
- Detection
- 2 rules
- Vulnerabilities
- 1 CVE
Revision history 1 entry · Revision 2
- Revision 2
Repaired a legacy canonical identity collision
Changed: slug
A command injection vulnerability, identified as CVE-2026-5689, affects Totolink A7100RU devices running firmware version 7.4cu.2313_b20191024. The vulnerability is located within the setNtpCfg function of the /cgi-bin/cstecgi.cgi file. An attacker can exploit this flaw by manipulating the tz argument, injecting and executing arbitrary operating system commands. Given that a public exploit is available, unpatched Totolink A7100RU devices are at high risk of compromise. This vulnerability allows unauthenticated remote attackers to gain unauthorized access and control over the affected device.
Attack Chain
- An unauthenticated attacker sends a crafted HTTP POST request to
/cgi-bin/cstecgi.cgi. - The request targets the
setNtpCfgfunction. - The attacker injects malicious OS commands within the
tzparameter of the HTTP POST request. - The
setNtpCfgfunction processes the request without proper sanitization of thetzparameter. - The injected OS commands are executed with the privileges of the web server process.
- The attacker gains remote code execution on the device.
- The attacker may then install persistent backdoors or malware to maintain access.
- The attacker can pivot to other devices on the network, exfiltrate sensitive data, or use the compromised device as part of a botnet.
Impact
Successful exploitation of CVE-2026-5689 allows a remote, unauthenticated attacker to execute arbitrary commands on the affected Totolink A7100RU device. This could lead to complete compromise of the router, allowing the attacker to control network traffic, access sensitive data stored on connected devices, or use the router as a launchpad for further attacks within the network. Given the widespread use of these routers in homes and small businesses, a successful attack could have a significant impact.
Recommendation
- Monitor web server logs for requests to
/cgi-bin/cstecgi.cgiwith unusual parameters in the query string, and deploy the Sigma ruleDetect Totolink A7100RU Command Injection Attemptto detect exploitation attempts. - Inspect network traffic for command execution patterns originating from the router's IP address, correlating them with requests to the
/cgi-bin/cstecgi.cgiendpoint using theDetect Totolink A7100RU Post Exploitation Activityrule. - Apply the latest firmware updates from Totolink as soon as they become available to patch CVE-2026-5689 (if a patch becomes available).
Detection coverage 2
Detect Totolink A7100RU Command Injection Attempt
highDetects attempts to exploit the command injection vulnerability (CVE-2026-5689) in Totolink A7100RU via crafted HTTP requests to cstecgi.cgi
Detect Totolink A7100RU Post Exploitation Activity
mediumDetects suspicious network connections originating from Totolink A7100RU devices after potential command injection exploitation.
Detection queries are available on the platform. Get full rules →