Totolink A3300R Command Injection Vulnerability in setSmartQosCfg Function

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 'setSmartQosCfg' function within the '/cgi-bin/cstecgi.cgi' file, where the 'qos_up_bw' parameter can be manipulated to execute arbitrary operating system commands. This vulnerability can be exploited remotely, and a public proof-of-concept exploit is available.

Impact

Exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the router's operating system.

Reproduction

To reproduce this vulnerability, send a POST request to '/cgi-bin/cstecgi.cgi' with the 'qos_up_bw' parameter set to a command payload, such as a 'wget' command that retrieves a file from a remote server. The router will execute the command, demonstrating the command injection vulnerability.

Added: Mar 30, 2026, 12:19 AM
Updated: Mar 30, 2026, 12:19 AM

Vulnerability Rating

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