Totolink A3300R Command Injection Vulnerability

Vulnerability

A command injection vulnerability has been identified in the Totolink A3300R router, specifically in version 17.0.0cu.557_b20221024. The issue arises in the 'setStaticRoute' function within the '/cgi-bin/cstecgi.cgi' file. This vulnerability allows remote attackers to execute arbitrary operating system commands by manipulating the 'ip' parameter in a crafted request. The exploitation takes advantage of unsafe input handling, where the user-supplied 'ip' value is improperly sanitized before being executed as a command.

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 'ip' parameter set to a crafted command, such as 'wget' to download a file from a remote server. The router will execute the command, demonstrating the command injection vulnerability.

Added: Mar 30, 2026, 3:18 AM
Updated: Mar 30, 2026, 3:18 AM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
7.5
exploitability
9.1
remediation
0.0
relevance
4.9
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.