TOTOLINK NR1800X Stack Overflow Vulnerability in WiFi Configuration

Vulnerability

A stack overflow vulnerability has been identified in the TOTOLINK NR1800X router, specifically in version V9.1.0u.6681_B20230703. The vulnerability arises in the setWiFiEasyCfg function, where the ssid5g parameter is processed without proper length validation. This oversight allows authenticated users to send excessively long SSID values, leading to a buffer overflow condition.

Impact

Exploitation of this vulnerability causes a stack-based buffer overflow, which can potentially be leveraged to execute arbitrary code or cause a denial-of-service condition by crashing the device.

Reproduction

To reproduce this vulnerability, send a POST request to the '/cgi-bin/cstecgi.cgi' endpoint with an excessively long 'ssid' and 'ssid5g' parameter. The request must include a valid 'token' in the header. This can be done using a tool like Burp Suite.

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
6.2
remediation
7.7
relevance
0.0
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.