Tenda G3 Stack Overflow Vulnerability in formSetStaticRoute Function Allowing Denial-of-Service

Vulnerability

A stack overflow vulnerability has been identified in the Tenda G3 router, specifically in the firmware version G3V3.0br_V15.11.0.17. The issue arises in the formSetStaticRoute function, where the staticRouteGateway parameter is processed without proper length validation. This flaw enables remote attackers to craft requests that overflow a stack-based buffer, leading to a denial-of-service condition or potentially allowing remote code execution.

Impact

Exploitation of this vulnerability causes a denial-of-service condition, with the possibility of remote code execution.

Reproduction

To reproduce this vulnerability, send an HTTP POST request to the '/goform/setStaticRoute' endpoint. Include a 'staticRouteGateway' parameter with a value that exceeds the buffer limit, such as a string of repeated characters totaling 1000 in length. The router will respond with a denial-of-service condition.

Added: Sep 9, 2025, 5:35 PM
Updated: Sep 9, 2025, 5:35 PM

Vulnerability Rating

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