Totolink A8000RU Command Injection Vulnerability (CVE-2026-9475)
Totolink A8000RU version 7.1cu.643_b20200521 is vulnerable to remote OS command injection via manipulation of the Comment argument in the setIpQosRules function, allowing unauthenticated attackers to execute arbitrary commands on the device.
A critical command injection vulnerability, CVE-2026-9475, affects Totolink A8000RU router version 7.1cu.643_b20200521. The vulnerability lies within the Web Management Interface component, specifically in the /cgi-bin/cstecgi.cgi file's setIpQosRules function. By manipulating the Comment argument, an unauthenticated attacker can inject and execute arbitrary operating system commands on the underlying system. Public exploits are available, increasing the risk of widespread exploitation. Successful exploitation allows for complete system compromise.
Attack Chain
- The attacker identifies a vulnerable Totolink A8000RU router running firmware version 7.1cu.643_b20200521.
- The attacker sends a crafted HTTP request to the
/cgi-bin/cstecgi.cgiendpoint, targeting thesetIpQosRulesfunction. - The HTTP request includes a malicious payload within the
Commentargument designed to inject OS commands. - The web server processes the request and passes the
Commentargument to the vulnerablesetIpQosRulesfunction without proper sanitization. - The injected OS commands are executed with the privileges of the web server process.
- The attacker gains remote code execution on the router.
- The attacker can then perform actions such as modifying router configurations, installing backdoors, or pivoting to other devices on the network.
- The attacker achieves complete control over the compromised router.
Impact
Successful exploitation of CVE-2026-9475 results in complete compromise of the Totolink A8000RU router. An attacker can gain full control of the device, potentially leading to data theft, network disruption, or use of the router as part of a botnet. Given the ease of exploitation and the availability of public exploits, a large number of devices could be targeted, impacting both home and small business networks.
Recommendation
- Apply the vendor patch as soon as it becomes available.
- Monitor web server logs for suspicious POST requests to
/cgi-bin/cstecgi.cgiwith unusual characters in theCommentparameter, as detected by the Sigma rule "Detect CVE-2026-9475 Exploitation Attempt via Web Logs". - Implement network intrusion detection system (IDS) rules to detect and block exploitation attempts targeting CVE-2026-9475.
- Disable remote administration access to the router to limit the attack surface.
- Deploy the Sigma rule "Detect CVE-2026-9475 Command Injection via Process Creation" to identify processes spawned from the web server with injected commands.
Detection coverage 2
Detect CVE-2026-9475 Exploitation Attempt via Web Logs
highDetects CVE-2026-9475 exploitation attempt - HTTP POST requests to cstecgi.cgi with command injection attempt in Comment parameter
Detect CVE-2026-9475 Command Injection via Process Creation
criticalDetects CVE-2026-9475 exploitation - Monitors for processes spawned by the web server that execute suspicious commands.
Detection queries are available on the platform. Get full rules →