Tenda FH1202 Stack-Based Buffer Overflow Vulnerability in P2pListFilter 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 'fromP2pListFilter' function within the '/goform/P2pListFilter' file. The vulnerability is triggered by manipulating the 'page' parameter, which is processed by 'sprintf' without proper length validation, leading to a stack overflow. This vulnerability can be exploited remotely, and the public exploit is available.

Impact

Exploitation of this vulnerability causes a stack-based buffer overflow, which can lead to a denial-of-service condition and potentially allow for remote code execution.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/goform/P2pListFilter' with an excessively long 'page' parameter. This can be done using a web browser or a tool like curl, by specifying the 'Content-Length' header to match the length of the payload.

Added: Mar 9, 2026, 9:18 AM
Updated: Mar 9, 2026, 9: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.