Tenda AC21 Buffer Overflow Vulnerability in HTTP Reboot Time Parameter Allowing Command Execution

Vulnerability

A buffer overflow vulnerability has been identified in the Tenda AC21 router running firmware version V16.03.08.16. The issue arises in the HTTP daemon within the 'formSetRebootTimer' function, which handles the 'rebootTime' parameter of the '/goform/SetSysAutoRebbotCfg' endpoint. This stack-based buffer overflow can lead to a denial-of-service condition and allow arbitrary command execution on the device.

Impact

Exploitation of this vulnerability causes a segmentation fault, leading to a denial-of-service condition. Additionally, the buffer overflow can be leveraged to execute arbitrary commands on the router.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/goform/SetSysAutoRebbotCfg' with a 'rebootTime' parameter that exceeds the buffer limit. The 'rebootTime' value can be crafted to include excessive data, causing a stack-based buffer overflow. After the request is processed, the device will experience a segmentation fault, indicating successful exploitation.

Added: Nov 20, 2025, 3:20 PM
Updated: Nov 20, 2025, 4:29 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
2.5
exploitability
9.1
remediation
0.0
relevance
1.1
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.