Totolink A3300R Command Injection Vulnerability in VPN Parameter Handler

Vulnerability

A command injection vulnerability has been identified in the Totolink A3300R router, specifically in version 17.0.0cu.557_b20221024. The issue resides in the VPN parameter handler, within the function 'setVpnPassCfg' of the file '/cgi-bin/cstecgi.cgi'. This vulnerability allows remote attackers to execute arbitrary operating system commands by manipulating the 'pptpPassThru' parameter in a crafted request. The exploitation of this vulnerability could lead to a complete compromise of the affected device.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the affected device, potentially leading to full device compromise.

Reproduction

To reproduce this vulnerability, send a POST request to '/cgi-bin/cstecgi.cgi' with the 'pptpPassThru' parameter set to a command payload, such as a 'wget' command. The router will execute the injected command, as demonstrated in the proof-of-concept exploitation available on GitHub.

Added: Mar 30, 2026, 4:18 AM
Updated: Mar 30, 2026, 4: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.