Tenda W3
CVE-2026-3972
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessJoin WiFi or connect to LAN
-
DeliverySend crafted POST to /goform/setcfm
-
ExploitOverflow funcpara1 buffer
-
ExecutionOverwrite stack return address
-
PersistExecute shellcode as root
-
ImpactInstall persistent backdoor
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must have Adjacent Network access to the Tenda W3 device, meaning physical connection to the same Layer 2 network segment via wired Ethernet or association with the same WiFi network (CVSS AV:A). This specifically requires the attacker to be within WiFi range and authenticated to the wireless network, or physically connected to a LAN port on the router or any downstream switch. The web management interface must be accessible from the attacker's network position (default configurations typically expose the admin panel to all LAN/WiFi clients on the internal interface). No authentication to the web interface is required (PR:N) - the vulnerability triggers during parameter parsing before authentication checks. The formSetCfm function must be present and reachable at /goform/setcfm, which is confirmed in firmware version 1.0.0.3(2204). No user interaction required (UI:N). Exploitation is NOT possible from the internet/WAN side unless the management interface is specifically exposed to external networks via port forwarding or DMZ configuration (non-default). The adjacent network requirement significantly limits exploitation to scenarios where the attacker has already gained initial access to the local network perimeter. |
| Impact | While the CVSS 4.0 score of 7.4 appears concerning with high confidentiality, integrity, and availability impact, multiple risk signals suggest limited real-world threat. The CVSS vector indicates Adjacent Network access (AV:A) rather than full remote exploitation, meaning attackers must be on the same local network segment or WiFi network as the device. The EPSS score of 0.03% (7th percentile) is extremely low, indicating minimal observed exploitation activity in the wild. The vulnerability is not listed in CISA KEV, confirming no known active exploitation campaigns. However, the E:P metric indicates Proof-of-concept exploit code exists and is publicly available on GitHub, lowering the bar for exploitation. The PR:N (no privileges required) and AC:L (low complexity) factors mean any attacker who gains adjacent network access can exploit this without authentication. Primary risk scenarios include: compromised guest WiFi networks, insider threats, or attackers who have already pivoted to the local network via other means. For home users or small offices with default configurations exposing the web interface to WiFi clients, this represents a realistic privilege escalation/lateral movement risk rather than an internet-facing critical vulnerability. |
| Exploit ScenarioDerived | An attacker connected to the same WiFi network as a Tenda W3 router (such as a guest network user or compromised IoT device on the LAN) sends a specially crafted HTTP POST request to http://[router-ip]/goform/setcfm with an oversized funcpara1 parameter value. The malicious payload overwrites the stack return address in the formSetCfm function, redirecting execution to attacker-controlled shellcode embedded in the buffer. The shellcode executes with the privileges of the web server process (typically root on embedded routers), allowing the attacker to install persistent backdoors, modify firewall rules, intercept traffic, or pivot to other devices on the network. Public proof-of-concept code at https://github.com/Svigo-o/Tenda_vul/tree/main/tenda-w3-setcfm-funcpara1-buffer-overflow provides ready-made exploitation tools. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 29, 2026
Stack-based buffer overflow in Tenda W3 firmware 1.0.0.3(2204) HTTP handler allows adjacent network attackers to achieve remote code execution without authentication. The vulnerability resides in the formSetCfm function's handling of the funcpara1 parameter at /goform/setcfm. Public exploit code is available on GitHub, though EPSS probability remains low at 0.03% (7th percentile), indicating limited real-world exploitation activity. CISA KEV does not list this vulnerability, suggesting no confirmed widespread or targeted exploitation campaigns.
Earlier versions of this analysis (1)
A vulnerability was found in Tenda W3 1.0.0.3(2204). Affected by this issue is the function formSetCfm of the file /goform/setcfm of the component HTTP Handler. [CVSS 8.8 HIGH]
RemediationAI
No vendor-released patch identified at time of analysis. Tenda has not published a security advisory or updated firmware version addressing this vulnerability per available data. Compensating controls should be implemented immediately: First, disable HTTP/HTTPS management interface access from WiFi networks and restrict administrative access to wired Ethernet connections only via router configuration settings (trade-off: cannot manage device wirelessly). Second, ensure the web management interface is bound only to the LAN interface and not accessible from the WAN side (verify in Network Settings > Remote Management is disabled). Third, change default administrative credentials and implement strong passwords to prevent exploitation chains that might combine this with authentication bypass vulnerabilities. Fourth, place Tenda W3 devices behind a firewall that restricts Layer 2 adjacency to trusted network segments only. Fifth, monitor for abnormal POST requests to /goform/setcfm endpoints in web server logs. Consider replacing affected devices with alternative router models if Tenda does not release a patched firmware version. Advisory reference: https://vuldb.com/?id.350407
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a classic stack-based buffer overflow (CWE-119) in embedded device firmware. The Tenda W3 is a wireless router, and the vulnerability affects its web management interface HTTP handler. When processing requests to the /goform/setcfm endpoint, the formSetCfm function fails to properly validate the length of the funcpara1 parameter before copying it to a fixed-size stack buffer. This allows an attacker to write beyond the allocated buffer boundary, corrupting adjacent stack memory including the return address. By carefully crafting the overflow payload, an attacker can hijack control flow and execute arbitrary code in the context of the web server process, typically with root/administrative privileges on embedded Linux-based router firmware. The CPE string identifies the exact affected firmware version as 1.0.0.3(2204) for Tenda W3 devices.
Know when Tenda gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in Tenda W3 1.0.0.3(2204). Affected by this issue is the function formSetCfm of the file /goform/setcfm of the component HTTP Handler. The manipulation of the argument funcpara1 results in stack-based buffer overflow. The attack can only be performed from the local network. The exploit has been made public and could be used.
Executive ViewAI
Tenda W3 wireless router firmware version 1.0.0.3(2204) contains a stack-based buffer overflow in its HTTP handler that allows unauthenticated remote attackers to execute arbitrary code on affected devices. This vulnerability directly compromises network perimeter security and could provide attackers with a foothold to pivot into internal systems, particularly impacting organizations relying on Tenda W3 devices for network access or guest network segmentation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to affected Tenda W3 devices via firewall rules, allowing only trusted internal IPs; (2) Disable the /goform/setcfm endpoint if feature permits through device configuration; (3) Monitor HTTP logs for suspicious requests to /goform/setcfm with abnormal parameter lengths; (4) Implement network segmentation to limit device-to-internal-system connectivity; (5) Contact Tenda support for firmware availability beyond 1.0.0.3(2204).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Affected Products (CPE)CVE.org
Related Vulnerabilities in Tenda W3 Stack Buffer Overflow Flaws
View all 7Tenda ONT GPON AC1200 Dual band WiFi HG9 v1.0.1 is vulnerable to Command Injection via the Ping function. Rated high sev
Mediabridge Medialink MWN-WAPR300N devices with firmware 5.07.50 and Tenda N3 Wireless N150 devices allow remote attacke
The Shenzhen Tenda Technology Tenda A5s router with firmware 3.02.05_CN allows remote attackers to bypass authentication
Tenda AC9 v15.03.05.14 was discovered to contain a command injection vulnerability via the Telnet function. Rated critic
In Tenda AC9 v1.0 V15.03.05.14_multi, the wanMTU parameter of /goform/AdvSetMacMtuWan has a stack overflow vulnerability
Tenda AC9 V15.03.06.42_multi was found to contain a command injection vulnerability in the formSetSambaConf function via
Tenda AC9 V15.03.06.42_multi was found to contain a command injection vulnerability in the formsetUsbUnload function via
Tenda AC23 v16.03.07.44 was discovered to contain a buffer overflow via fromAdvSetMacMtuWan. Rated critical severity (CV
Tenda AC15 v15.03.05.19 is vulnerable to Command Injection via the handler function in /goform/telnet. Rated critical se
Tenda AX1803 v1.0.0.1 was discovered to contain a command injection vulnerability via the function fromAdvSetLanIp. Rate
Tenda AX3 v16.03.12.11 was discovered to contain a remote code execution (RCE) vulnerability via the list parameter at /
Certain Tenda products are vulnerable to command injection. Rated critical severity (CVSS 9.8), this vulnerability is re
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB