Skip to main content
CVE Vulnerability Database

CVE-2026-9384: Totolink A8000RU RCE Vulnerability

CVE-2026-9384 is a remote code execution vulnerability in Totolink A8000RU router affecting the setDiagnosisCfg function. Attackers can exploit this flaw to execute OS commands remotely. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

CVE-2026-9384 Overview

CVE-2026-9384 is an OS command injection vulnerability affecting the Totolink A8000RU router running firmware version 7.1cu.643_b20200521. The flaw resides in the setDiagnosisCfg function within /cgi-bin/cstecgi.cgi, a component of the Web Management Interface. Attackers can manipulate the ip argument to inject arbitrary operating system commands. The vulnerability is remotely exploitable over the network without authentication or user interaction. A public exploit has been disclosed, increasing the likelihood of opportunistic attacks against exposed devices.

Critical Impact

Unauthenticated remote attackers can execute arbitrary OS commands on affected Totolink A8000RU routers, leading to full device compromise.

Affected Products

  • Totolink A8000RU router
  • Firmware version 7.1cu.643_b20200521
  • Web Management Interface component (/cgi-bin/cstecgi.cgi)

Discovery Timeline

  • 2026-05-24 - CVE-2026-9384 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-9384

Vulnerability Analysis

The vulnerability is classified as OS Command Injection [CWE-77]. It exists in the setDiagnosisCfg handler exposed through /cgi-bin/cstecgi.cgi on the router's Web Management Interface. The handler accepts an ip parameter intended to specify a target address for diagnostic operations such as ping or traceroute. The router passes this parameter into a shell command without sanitization or argument escaping. An attacker who appends shell metacharacters to the ip value can break out of the intended command and execute arbitrary commands in the router's operating system context.

Because embedded router daemons typically run as root, successful exploitation yields full administrative control over the device. Attackers can pivot into internal networks, modify routing and DNS settings, deploy persistent malware, or recruit the router into botnets. The EPSS score of 0.89% reflects measurable exploit interest given the public proof of concept.

Root Cause

The root cause is improper neutralization of special elements used in an OS command. The setDiagnosisCfg function concatenates user-supplied input directly into a system shell invocation rather than using safe argument passing or strict input validation against a permitted character set.

Attack Vector

Exploitation requires only network access to the router's web interface and no credentials. An attacker sends a crafted HTTP POST request to /cgi-bin/cstecgi.cgi targeting the setDiagnosisCfg topic with shell metacharacters embedded in the ip field. Routers with the management interface exposed to the WAN are exploitable from the public internet. See the GitHub Repository README and VulDB #365347 for technical specifics on the request structure.

Detection Methods for CVE-2026-9384

Indicators of Compromise

  • HTTP POST requests to /cgi-bin/cstecgi.cgi containing the setDiagnosisCfg topic with shell metacharacters (;, |, `, $(), &&) inside the ip parameter.
  • Unexpected outbound connections from the router to unknown hosts following web interface requests.
  • New or modified processes, cron entries, or iptables rules on the device.
  • Configuration changes to DNS resolvers or administrative credentials without authorized activity.

Detection Strategies

  • Inspect web server and reverse proxy logs for requests to cstecgi.cgi containing non-IP characters in the ip field.
  • Deploy network IDS signatures that flag command injection patterns in HTTP request bodies destined for the router management interface.
  • Baseline router behavior and alert on anomalous outbound traffic, especially to non-RFC1918 destinations on uncommon ports.

Monitoring Recommendations

  • Forward router syslog and access logs to a centralized logging platform for retention and correlation.
  • Monitor for management interface exposure on WAN-facing interfaces using external attack surface scanning.
  • Track DNS query patterns originating from the router for indicators of redirection or C2 communication.

How to Mitigate CVE-2026-9384

Immediate Actions Required

  • Disable remote (WAN-side) administration on affected Totolink A8000RU devices until a vendor patch is available.
  • Restrict LAN-side access to the Web Management Interface to a dedicated management VLAN or specific administrator IP addresses.
  • Rotate administrator credentials and audit router configuration for unauthorized modifications.
  • Inventory all Totolink A8000RU units running firmware 7.1cu.643_b20200521 and prioritize them for replacement or isolation.

Patch Information

At the time of publication, no vendor patch has been listed in the available references. Consult the Totolink Official Website for firmware updates and check VulDB #365347 for advisory updates.

Workarounds

  • Place the router behind a perimeter firewall that blocks inbound HTTP/HTTPS to the management interface from untrusted networks.
  • Segment the router's management plane from user networks using ACLs to limit which hosts can reach /cgi-bin/cstecgi.cgi.
  • Where feasible, replace the affected device with a supported model that receives current security updates.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.