TOTOLINK A7000R Stack Overflow Vulnerability Leading to Denial-of-Service

Vulnerability

A stack overflow vulnerability has been identified in the TOTOLINK A7000R router, specifically in version 9.1.0u.6115_B20201022. The issue arises in the 'urldecode' function, where the 'ssid5g' parameter is processed without proper length validation. This flaw allows attackers to send crafted requests that cause a buffer overflow, overwriting adjacent stack data or the return address, and ultimately leading to a denial-of-service condition by causing the router to crash and fail to provide services correctly.

Impact

Exploitation of this vulnerability causes the router to crash, disrupting its normal service and causing a persistent failure to function correctly.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/cgi-bin/cstecgi.cgi' with an excessively long 'ssid5g' parameter. This can be done using a tool like QEMU to emulate the router's firmware or on a real device. The crafted request should include the long 'ssid5g' value, which triggers the stack overflow by overwriting the return address on the stack.

Added: Oct 31, 2025, 5:23 PM
Updated: Oct 31, 2025, 5:23 PM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
2.5
exploitability
9.1
remediation
0.0
relevance
0.8
threat
6.4
urgency
2.9
incentive
9.2

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