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

Vulnerability

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

Impact

Exploitation of this vulnerability causes a denial-of-service condition and could allow for remote code execution on the affected device.

Reproduction

The vulnerability can be reproduced by sending an HTTP POST request to the /goform/guestWifiRuleRefresh endpoint with a crafted gstUp parameter. The parameter should be filled with a string of approximately 2000 characters, which will overflow the buffer and trigger the stack-based buffer overflow condition.

Added: Sep 9, 2025, 5:37 PM
Updated: Sep 9, 2025, 5:37 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.