Tenda G3 Stack Overflow Vulnerability in Dns Forward Rule Store 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 'dns_forward_rule_store' function, where user-provided data is improperly handled. The vulnerability allows remote attackers to cause a denial-of-service condition by sending a crafted HTTP POST request that exploits the buffer overflow. In some cases, this vulnerability could also be leveraged for remote code execution.

Impact

Exploitation of this vulnerability leads to a denial-of-service condition, with the potential for remote code execution.

Reproduction

The vulnerability can be reproduced by sending an HTTP POST request to the '/goform/AddDnsForward' endpoint. The request must include a 'dhcpIndex' parameter with a value that exceeds 2000 characters. This payload will trigger the stack-based buffer overflow in the 'dns_forward_rule_store' function.

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