Totolink A8000RU Command Injection Vulnerability in Web Management Interface

Vulnerability

A command injection vulnerability has been identified in the Totolink A8000RU router, specifically in version 7.1cu.643_b20200521. The issue resides within the Web Management Interface, in the function setOpenVpnCertGenerationCfg of the file /cgi-bin/cstecgi.cgi. This vulnerability allows remote attackers to execute arbitrary operating system commands by manipulating the servername parameter in a crafted request.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the affected device.

Reproduction

To reproduce this vulnerability, send a POST request to /cgi-bin/cstecgi.cgi with the topicurl parameter set to 'setOpenVpnCertGenerationCfg' and the servername parameter crafted to include the desired command, such as 'ls>./setOpenVpnCertGenerationCfg.txt'. The router will execute the command and create a text file with the command's output.

Added: May 26, 2026, 7:47 PM
Updated: May 26, 2026, 7:47 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
7.5
exploitability
9.1
remediation
0.0
relevance
9.4
threat
6.4
urgency
2.9
incentive
8.3

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.