Tenda FH1202 Stack-Based Buffer Overflow Vulnerability in Web Type Library 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 'formWebTypeLibrary' function within the '/goform/webtypelibrary' file. The vulnerability is triggered by manipulating the 'webSiteId' parameter, which is concatenated into a fixed-size stack buffer using 'strcat' without proper length validation. This oversight allows for overflow of the stack buffer, potentially leading to a denial-of-service condition and unauthorized code execution. The vulnerability can be exploited remotely, and a public exploit is available.

Impact

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

Reproduction

The vulnerability can be reproduced by sending a POST request to the '/goform/webtypelibrary' endpoint. The 'webSiteId' parameter must be included in the request with a payload that exceeds the buffer's capacity, effectively overflowing the stack buffer and causing the vulnerability to trigger.

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.0
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.