Totolink A8000RU Remote Command Injection Vulnerability
A remote command injection vulnerability exists in the Totolink A8000RU router, specifically in the setAppFilterCfg function, allowing attackers to execute arbitrary commands by manipulating the 'enable' argument.
CVE search metadata
CVE search record: CVE-2026-7823. Severity: critical. CVSS: 9.8. EPSS: 3.25%. KEV: no. Product: A8000RU 7.1cu.643_b20200521. Brief: Totolink A8000RU Remote Command Injection Vulnerability. Brief link: https://feed.craftedsignal.io/briefs/2026-05-05-totolink-rce/
Triage facts
Revision 2- Applicability
- A8000RU 7.1cu.643_b20200521
- Evidence
- Unknown
- Severity
- Critical
- Sources
- 1 public source
- Freshness
- Revision 2May 5, 05: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 critical security flaw, CVE-2026-7823, has been identified in the Totolink A8000RU router, version 7.1cu.643_b20200521. The vulnerability resides within the setAppFilterCfg function located in the /cgi-bin/cstecgi.cgi file. An attacker can exploit this vulnerability by remotely manipulating the enable argument, leading to arbitrary OS command injection. This exploit is publicly available, increasing the risk of widespread exploitation. Successful exploitation grants the attacker the ability to execute commands with elevated privileges on the affected device, potentially leading to full system compromise. The vulnerable device is a widely used home router model.
Attack Chain
- The attacker identifies a vulnerable Totolink A8000RU router exposed to the internet.
- The attacker crafts a malicious HTTP request targeting the
/cgi-bin/cstecgi.cgiendpoint. - The request includes the
setAppFilterCfgfunction call with a manipulatedenableargument containing an OS command injection payload. - The router processes the request without proper input validation.
- The injected OS command is executed by the router's operating system.
- The attacker gains remote code execution on the router.
- The attacker can then use the compromised router as a pivot point to attack other devices on the network or establish a persistent backdoor.
- The attacker can exfiltrate sensitive data or disrupt network services.
Impact
Successful exploitation of CVE-2026-7823 allows a remote attacker to execute arbitrary commands on the affected Totolink A8000RU router. This can lead to complete compromise of the device, including the ability to modify router settings, intercept network traffic, or use the router as a bot in a botnet. Given the widespread use of Totolink routers, a large number of devices are potentially vulnerable, making this a high-impact security issue.
Recommendation
- Monitor web server logs for requests to
/cgi-bin/cstecgi.cgicontaining suspicious characters or command injection attempts in theenableparameter (see Sigma rule: "Detect Totolink RCE Attempt via setAppFilterCfg"). - Apply any available firmware updates from Totolink to patch CVE-2026-7823 when they become available.
- Implement network segmentation to limit the impact of a compromised router on other devices on the network.
- Deploy the Sigma rule "Detect Common Command Injection Payloads in URI" to identify generic command injection attempts against web applications.
Detection coverage 2
Detect Totolink RCE Attempt via setAppFilterCfg
criticalDetects potential remote command injection attempts targeting the setAppFilterCfg function in Totolink routers.
Detect Common Command Injection Payloads in URI
highDetects common command injection payloads within URI parameters, which may indicate exploitation attempts.
Detection queries are available on the platform. Get full rules →