Totolink A3300R OS 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 function vsetTr069Cfg within the file /cgi-bin/cstecgi.cgi. The vulnerability is triggered by manipulating the stun_pass parameter, which is improperly sanitized before being passed to a command execution function. This flaw allows authenticated attackers to inject and execute arbitrary operating system commands on the device.

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 stun_pass parameter included in the request body. The value of the stun_pass parameter should be crafted to include shell command syntax, which will be executed on the device's operating system. This can be done by appending a command, such as a wget request, to the stun_pass value. Once the request is processed, the injected command will be executed, demonstrating the command injection vulnerability.

Added: Apr 6, 2026, 8:21 PM
Updated: Apr 6, 2026, 8:21 PM

Vulnerability Rating

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