TOTOLINK A7000R Stack-Based Buffer Overflow Vulnerability in WiFi Guest Configuration Function

Vulnerability

A stack-based buffer overflow vulnerability has been identified in the TOTOLINK A7000R router, affecting firmware versions through 9.1.0u.6115. The vulnerability arises in the function 'setWiFiEasyGuestCfg' within the file '/cgi-bin/cstecgi.cgi'. The issue occurs because the function does not properly validate the length of the 'ssid5g' parameter before copying it into a fixed-size buffer, allowing for remote exploitation.

Impact

Exploitation of this vulnerability leads to a stack-based buffer overflow, which can commonly result in arbitrary code execution or causing the device to crash.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/cgi-bin/cstecgi.cgi' with a crafted 'ssid5g' parameter that exceeds the buffer size of 128 bytes. This can be done using a web browser or a tool like curl, ensuring that the 'wifiOff5g' parameter is set to '0' and the 'topicurl' parameter is set to 'setWiFiEasyGuestCfg'.

Added: Apr 13, 2026, 9:09 AM
Updated: Apr 13, 2026, 9:09 AM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
7.5
exploitability
8.5
remediation
0.0
relevance
5.8
threat
6.4
urgency
2.9
incentive
8.3

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