Tenda M3 Stack-Based Buffer Overflow Vulnerability in Ad Push Info Handler

Vulnerability

A stack-based buffer overflow vulnerability has been identified in the Tenda M3 router, specifically in the firmware version 1.0.0.13(4903). The issue arises in the formSetAdPushInfo handler within the /goform/setAdPushInfo file. The vulnerability is caused by a lack of input validation and bounds checking on the 'mac' and 'terminal' parameters, allowing remote attackers to manipulate these arguments. Exploitation of this vulnerability could lead to memory corruption, control flow hijacking, and denial-of-service conditions.

Impact

Exploitation of this vulnerability causes a stack-based buffer overflow, which can corrupt stack data, hijack control flow, and potentially lead to a denial-of-service condition.

Reproduction

To reproduce this vulnerability, send a POST request to the '/goform/setAdPushInfo' endpoint. Include either the 'mac' or 'terminal' parameter with a payload that exceeds the buffer size, such as a string of repeated characters. The absence of bounds checking in the 'memcpy()' calls will trigger the stack overflow.

Added: Dec 30, 2025, 8:19 AM
Updated: Dec 30, 2025, 8:19 AM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
5.0
exploitability
9.1
remediation
0.0
relevance
1.8
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.