Executive brief
Tenda G0 is a wireless router's management interface that allows administrators to configure network settings. A vulnerability in the static route configuration feature allows remote attackers to send specially crafted requests that overflow a buffer in memory, potentially leading to system crash or code execution without requiring authentication.
Technical details
A stack-based buffer overflow exists in the addStaticRoute function of the Tenda G0 httpd web management interface (/goform/module). The vulnerability occurs when the staticRouteNet parameter is read from user input via cJSON_GetString and formatted directly into a fixed 256-byte stack buffer using sprintf without length validation. The attack vector is network-based and requires no authentication. An attacker can exploit this by sending a POST request with an oversized staticRouteNet value to overflow the stack buffer, potentially achieving remote code execution or denial of service. Exploit code has been publicly disclosed as of 2026-08-14.
Affected products
- Tenda G0 up to 20260625
Timeline
- 2026-08-14: disclosed: Advisory published and exploit made public
- 2026-08-14: exploited: Proof-of-concept exploit code available on GitHub