TOTOLINK T6 Buffer Overflow Vulnerability in MQTT Service

Vulnerability

A critical buffer overflow vulnerability has been identified in the TOTOLINK T6 router, specifically in version 4.1.5cu.748_B20211015. The issue arises in the MQTT service's 'updateWifiInfo' function, where the 'serverIp' argument can be manipulated, leading to memory corruption. This vulnerability can be exploited remotely, with public knowledge of the exploit available.

Impact

Exploitation of this vulnerability allows for a buffer overflow, which can be used to overwrite the saved return address and potentially execute arbitrary code remotely.

Reproduction

The vulnerability can be reproduced by sending a crafted MQTT message to the router's open MQTT service on port 1883. The message should include a 'serverIp' argument that exceeds the buffer size of 128 bytes, without proper length validation. This will trigger the buffer overflow by overwriting the return address on the stack.

Added: Jul 21, 2025, 12:22 AM
Updated: Jul 21, 2025, 12:22 AM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.3
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.