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 Parameter Handler component, within the function setLanCfg of the file /cgi-bin/cstecgi.cgi. The vulnerability allows remote attackers to execute arbitrary operating system commands by manipulating the lanIp 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 lanIp parameter set to a command that you wish to execute. The router will execute the command and return the result. This can be done using a tool like curl or Postman, or through a simple Python script.

Added: Mar 29, 2026, 11:19 PM
Updated: Mar 29, 2026, 11:19 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
7.5
exploitability
7.6
remediation
0.0
relevance
4.7
threat
6.5
urgency
2.9
incentive
0.0

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