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

Vulnerability

A critical command injection vulnerability has been identified in the TOTOLINK N300RH router, specifically in the firmware version 6.1c.1390_B20191101. The issue arises in the '/cgi-bin/cstecgi.cgi' file, within the 'setUnloadUserData' function. The vulnerability allows remote attackers to inject and execute arbitrary commands by manipulating the 'plugin_name' argument. This exploitation does not require authentication.

Impact

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

Reproduction

To reproduce this vulnerability, send an HTTP POST request to the '/cgi-bin/cstecgi.cgi' endpoint. Include the 'plugin_name' argument with a payload that exploits the command injection flaw. The request can be made without authentication, and the injected commands will be executed on the router's operating system.

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

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
5.0

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