TOTOLINK X5000R Command Injection Vulnerability in cgi-bin/cstecgi.cgi

Vulnerability

A command injection vulnerability has been identified in the TOTOLINK X5000R router, specifically in version 9.1.0cu.2415_B20250515. The issue arises in the function sub_410C34 of the file cgi-bin/cstecgi.cgi, where manipulation of the 'pid' argument allows for remote command execution. This vulnerability has been publicly disclosed and is actively exploitable.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the affected device.

Reproduction

The vulnerability can be reproduced by sending a POST request to the cgi-bin/cstecgi.cgi endpoint. The request must include a 'pid' parameter with a crafted value that exploits the command injection flaw, such as a command followed by output redirection. Additional required parameters include 'topicurl' and 'token'.

Added: Sep 4, 2025, 10:50 AM
Updated: Sep 4, 2025, 3:58 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
6.2
remediation
7.7
relevance
0.5
threat
6.5
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.