Totolink A7100RU Command Injection Vulnerability
Totolink A7100RU version 7.4cu.2313_b20191024 is vulnerable to command injection due to improper neutralization of special elements within the setLedCfg function in the /cgi-bin/cstecgi.cgi file, allowing a remote attacker to execute arbitrary commands.
CVE search metadata
CVE search record: CVE-2026-6132. Severity: critical. CVSS: 9.8. EPSS: 3.25%. KEV: no. Brief: Totolink A7100RU Command Injection Vulnerability. Brief link: https://feed.craftedsignal.io/briefs/2026-04-12-totolink-command-injection/
Triage facts
Revision 2- Evidence
- Unknown
- Severity
- Critical
- Sources
- 3 public sources
- Freshness
- Revision 2Apr 12, 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 exists in Totolink A7100RU router with firmware version 7.4cu.2313_b20191024. The vulnerability resides within the CGI handler component, specifically in the /cgi-bin/cstecgi.cgi file's setLedCfg function. By manipulating the enable argument, an attacker can inject and execute arbitrary operating system commands on the affected device. This vulnerability is remotely exploitable without authentication and has a publicly available exploit, making it a critical risk for users of the specified Totolink A7100RU firmware. This allows attackers to potentially gain complete control of the router.
Attack Chain
- The attacker identifies a vulnerable Totolink A7100RU router running firmware 7.4cu.2313_b20191024.
- The attacker crafts a malicious HTTP request targeting the
/cgi-bin/cstecgi.cgiendpoint. - The attacker injects an OS command into the
enableargument of thesetLedCfgfunction within the CGI request. For example,enable=;reboot;. - The webserver processes the CGI request and passes the attacker-controlled
enableargument to thesetLedCfgfunction without proper sanitization. - The injected OS command is executed with the privileges of the web server process.
- The attacker achieves arbitrary code execution on the router's operating system.
- Depending on the injected command, the attacker can modify router settings, exfiltrate sensitive information, install malware, or cause a denial-of-service condition.
- The attacker may use the compromised router as a pivot point for further attacks within the local network or to participate in botnet activities.
Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the affected Totolink A7100RU router. This could lead to complete compromise of the device, allowing the attacker to modify router configurations, intercept network traffic, or use the router as part of a botnet. Given the wide use of these routers in home and small business networks, a large number of devices could be vulnerable if left unpatched. The CVSS v3.1 score of 9.8 highlights the critical severity of this vulnerability.
Recommendation
- Monitor web server logs for requests to
/cgi-bin/cstecgi.cgicontaining suspicious characters or command sequences within theenableparameter to detect exploitation attempts (see Sigma ruleDetect Totolink A7100RU Command Injection Attempt). - Apply available firmware updates from Totolink to patch CVE-2026-6132 if available.
- Implement web application firewall (WAF) rules to filter out malicious requests targeting
/cgi-bin/cstecgi.cgiand theenableparameter. - Disable remote administration access to the router to reduce the attack surface.
Detection coverage 2
Detect Totolink A7100RU Command Injection Attempt
criticalDetects potential command injection attempts targeting the Totolink A7100RU router via the cstecgi.cgi endpoint.
Detect Totolink A7100RU Reboot Command Injection
highDetects reboot command injection attempts targeting the Totolink A7100RU router via the cstecgi.cgi endpoint.
Detection queries are available on the platform. Get full rules →