TOTOLINK A6000R Command Injection Vulnerability in WSH Enable Function

Vulnerability

A command injection vulnerability has been identified in the TOTOLINK A6000R router, specifically in firmware version V1.0.1-B20201211.2000. The vulnerability arises in the 'enable_wsh' function within the 'system.lua' file, where the 'modifyOne' parameter can be exploited to inject arbitrary commands.

Impact

Exploitation of this vulnerability allows for command injection, where an attacker can execute arbitrary commands on the device.

Reproduction

To reproduce this vulnerability, send a GET request to the '/cgi-bin/luci/admin/mtk/wsh_enable_submit' endpoint. Include the 'modifyOne' parameter with a payload that injects a command, such as listing directory contents and redirecting the output to a file. The injection can be verified by checking for the presence of the output file.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
0.8

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