Tenda AC18 Stack Overflow Vulnerability in formSetClientState Function

Vulnerability

A stack overflow vulnerability has been identified in the Tenda AC18 router, specifically in the V15.03.05.19 firmware. The issue arises in the formSetClientState function, where the limitSpeedUp parameter is extracted from a POST request without proper input validation. This parameter is then passed to a sprintf function, which writes the formatted string into a local stack-based buffer. If the limitSpeedUp value exceeds the buffer's capacity, it can overwrite the function's return address, causing a stack overflow. This vulnerability could be exploited by an unauthenticated attacker to create a denial-of-service condition or potentially execute arbitrary code on the device, undermining its security and functionality.

Impact

Exploitation of this vulnerability leads to a stack overflow, allowing for overwriting of the return address and potentially executing arbitrary code on the device. Additionally, the vulnerability can cause a denial-of-service condition.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.7
impact
7.5
exploitability
7.8
remediation
0.0
relevance
0.0
threat
0.0
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.