Tenda G3 Stack Overflow Vulnerability in DHCP Rule Management Function Allowing Denial-of-Service

Vulnerability

A stack overflow vulnerability has been identified in the Tenda G3 router, specifically in version 3.0br_V15.11.0.17. The issue arises in the 'addDhcpRule' function, where the 'dhcpIndex' parameter is processed by the 'sscanf' function without proper length validation. This oversight allows attackers to manipulate the request and overflow a stack-based buffer, leading to a denial-of-service condition. In some cases, this vulnerability could also be exploited for remote code execution.

Impact

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

Reproduction

To reproduce this vulnerability, send a POST request to the '/goform/addDhcpRule' endpoint with a crafted 'dhcpIndex' parameter. The parameter should be sufficiently long to overflow the stack-based buffer. The request can be made using a script or tool that allows for HTTP requests, such as Python with the 'requests' library.

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