Tenda F451 Router Stack-Based Buffer Overflow Vulnerability
A stack-based buffer overflow vulnerability exists in Tenda F451 version 1.0.0.7 within the fromAddressNat function of the /goform/addressNat component, allowing for remote exploitation by manipulating the 'entrys' argument.
CVE search metadata
CVE search record: CVE-2026-6123. Severity: high. CVSS: 8.8. KEV: no. Brief: Tenda F451 Router Stack-Based Buffer Overflow Vulnerability. Brief link: https://feed.craftedsignal.io/briefs/2026-04-16-tenda-f451-bo/
Triage facts
Revision 2- Evidence
- Unknown
- Severity
- Critical
- Sources
- 3 public sources
- Freshness
- Revision 2Apr 12, 09:17 UTC
- Detection
- 2 rules
- Vulnerabilities
- 1 CVE
Revision history 1 entry · Revision 2
- Revision 2
Repaired a legacy canonical identity collision
Changed: slug
A critical stack-based buffer overflow vulnerability has been identified in Tenda F451 router firmware version 1.0.0.7. The vulnerability resides in the fromAddressNat function within the /goform/addressNat component's httpd service. An attacker can trigger the overflow by crafting a malicious payload and sending it as the entrys argument in a request to the router. Publicly available exploits exist, increasing the risk of widespread exploitation. This vulnerability allows for remote, unauthenticated code execution, potentially enabling attackers to compromise the device and gain control of the network.
Attack Chain
- The attacker identifies a vulnerable Tenda F451 router running firmware version 1.0.0.7.
- The attacker crafts a malicious HTTP request targeting the
/goform/addressNatendpoint. - The HTTP request includes a specifically crafted
entrysargument designed to overflow the stack buffer in thefromAddressNatfunction. - The
httpdservice on the Tenda router receives the malicious request and processes theentrysargument. - The
fromAddressNatfunction copies the attacker-controlled data from theentrysargument into a fixed-size stack buffer without proper bounds checking. - The oversized data overflows the stack buffer, overwriting adjacent memory locations, including the return address.
- The function returns, but instead of returning to the caller, it jumps to an address controlled by the attacker, effectively executing arbitrary code.
- The attacker gains remote code execution on the Tenda F451 router, potentially leading to full device compromise.
Impact
Successful exploitation of this vulnerability grants attackers complete control over the affected Tenda F451 router. This could lead to a number of severe consequences, including: unauthorized access to the local network, data theft, malware installation, and use of the compromised router as part of a botnet. Given the simplicity of exploitation (public exploit available) and the potentially wide deployment of the affected router model, a successful attack may affect a significant number of users and small businesses.
Recommendation
- Deploy the Sigma rule "Detect Tenda F451 Stack Buffer Overflow Attempt" to detect exploitation attempts targeting the
/goform/addressNatendpoint. - Monitor webserver logs for suspicious requests with unusually long
entrysparameters in the/goform/addressNatpath. - Consider blocking or rate-limiting traffic to the
/goform/addressNatendpoint if legitimate use is not required. - If possible, replace any Tenda F451 routers running firmware version 1.0.0.7 with more secure devices.
Detection coverage 2
Detect Tenda F451 Stack Buffer Overflow Attempt
criticalDetects attempts to exploit the stack buffer overflow vulnerability in Tenda F451 routers by monitoring HTTP requests to the /goform/addressNat endpoint with unusually long entrys parameters.
Detect Tenda F451 1.0.0.7 Accessing Address NAT Page
mediumThis rule detects access to the /goform/addressNat page which is vulnerable to stack buffer overflow in Tenda F451 1.0.0.7
Detection queries are available on the platform. Get full rules →