TOTOLINK X5000R OS Command Injection Vulnerability in WiFi Schedule Configuration

Vulnerability

An OS command injection vulnerability has been identified in the TOTOLINK X5000R router, specifically in firmware version 9.1.0cu.2350_B20230313. The vulnerability arises in the 'setWiFiScheduleCfg' function within the '/web/cgi-bin/cstecgi.cgi' file. Authenticated attackers can exploit this issue by sending crafted requests that include malicious commands in the 'desc' parameter, which are then executed on the operating system.

Impact

Exploitation of this vulnerability allows authenticated attackers to execute arbitrary commands on the router's operating system.

Reproduction

To reproduce this vulnerability, send a POST request to '/cgi-bin/cstecgi.cgi' with the 'desc' parameter containing a command injection payload, such as a command followed by output redirection to a file. Include additional parameters required by the 'setWiFiScheduleCfg' function, such as 'week', 'sHour', 'sMinute', 'eHour', and 'eMinute'.

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

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
10.0
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.