Tenda F451 Router Stack-Based Buffer Overflow Vulnerability
A stack-based buffer overflow vulnerability exists in Tenda F451 version 1.0.0.7, allowing remote attackers to execute arbitrary code by manipulating the `mit_ssid` argument in the `/goform/AdvSetWrlsafeset` file.
CVE search metadata
CVE search record: CVE-2026-5988. 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-09-tenda-buffer-overflow/
Triage facts
Revision 2- Evidence
- Unknown
- Severity
- Critical
- Sources
- 3 public sources
- Freshness
- Revision 2Apr 9, 23: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 stack-based buffer overflow vulnerability has been identified in Tenda F451 router version 1.0.0.7. The vulnerability resides within the formWrlsafeset function of the /goform/AdvSetWrlsafeset file. A remote attacker can exploit this flaw by crafting a malicious request with an overly long mit_ssid argument, leading to potential arbitrary code execution on the device. Public exploits for this vulnerability are available, making it imperative for users of affected Tenda devices to take immediate action. This vulnerability poses a significant risk, as successful exploitation could grant an attacker full control over the vulnerable device.
Attack Chain
- The attacker identifies a Tenda F451 router running firmware version 1.0.0.7 exposed to the internet.
- The attacker crafts a malicious HTTP POST request targeting the
/goform/AdvSetWrlsafesetendpoint. - The crafted request includes the
mit_ssidargument with a string exceeding the buffer's expected size. - The router's web server processes the request and passes the
mit_ssidargument to theformWrlsafesetfunction. - Due to the insufficient bounds checking, the overly long
mit_ssidvalue overflows the stack-based buffer. - The buffer overflow overwrites critical data on the stack, including the return address.
- The attacker carefully crafts the overflowed data to redirect execution to a location containing malicious code.
- The malicious code executes with the privileges of the web server process, potentially granting the attacker full control of the device.
Impact
Successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code on the affected Tenda F451 router. This can lead to complete compromise of the device, allowing the attacker to modify router settings, intercept network traffic, or use the device as a botnet node. Given the widespread use of Tenda routers, this vulnerability has the potential to impact a large number of users and networks.
Recommendation
- Apply any available firmware updates released by Tenda to patch CVE-2026-5988.
- Deploy the Sigma rule
Detect Suspicious AdvSetWrlsafeset Requestto detect exploitation attempts targeting the vulnerable endpoint. - Monitor web server logs for unusually long
mit_ssidparameters in requests to/goform/AdvSetWrlsafeset.
Detection coverage 2
Detect Suspicious AdvSetWrlsafeset Request
criticalDetects HTTP requests to /goform/AdvSetWrlsafeset with an unusually long mit_ssid parameter, indicative of a buffer overflow attempt.
Detect Large POST Request to AdvSetWrlsafeset
highDetects abnormally large POST requests to the /goform/AdvSetWrlsafeset endpoint, potentially indicating a buffer overflow attack.
Detection queries are available on the platform. Get full rules →