Tenda FH1202 Stack-Based Buffer Overflow Vulnerability in NatSaticSetting Function

Vulnerability

A stack-based buffer overflow vulnerability has been identified in the Tenda FH1202 router, specifically in version 1.2.0.14(408). The issue arises in the 'fromNatStaticSetting' function within the '/goform/NatSaticSetting' file. The vulnerability is triggered by manipulating the 'page' parameter, which is passed to the 'sprintf' function without proper length validation. This oversight allows for a buffer overflow on the stack, potentially leading to a denial-of-service condition or arbitrary code execution. The vulnerability can be exploited remotely, and a proof-of-concept exploit is publicly available.

Impact

Exploitation of this vulnerability causes a stack-based buffer overflow, which can disrupt normal operation (denial-of-service) and potentially allow for arbitrary code execution.

Reproduction

The vulnerability can be reproduced by sending a POST request to the '/goform/NatSaticSetting' endpoint. The 'page' parameter must be included in the request body, filled with a string long enough to overflow the stack buffer. The request should be made with the appropriate headers to simulate a legitimate XMLHttpRequest.

Added: Mar 9, 2026, 8:18 AM
Updated: Mar 9, 2026, 8:18 AM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
7.5
exploitability
7.6
remediation
0.0
relevance
3.7
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.