TOTOLINK CA300-POE Command Injection Vulnerability in Firmware Upgrade Function

Vulnerability

A command injection vulnerability has been identified in the TOTOLINK CA300-POE router, specifically in the firmware version V6.2c.884_B20180522. The issue arises in the 'recvUpgradeNewFw' function, where the 'fwUrl' parameter can be manipulated to execute arbitrary commands on the device. This vulnerability can be exploited by sending a crafted request that includes the malicious command in the 'fwUrl' parameter.

Impact

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

Reproduction

To reproduce this vulnerability, send a POST request to '/cgi-bin/cstecgi.cgi' on the device's IP address. Include the 'topicurl' parameter set to 'recvUpgradeNewFw' and the 'fwUrl' parameter with a crafted value that includes the desired command, such as '1;pwd;'.

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

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
7.5
exploitability
4.8
remediation
0.0
relevance
0.0
threat
6.6
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.