CVE-2026-7034
Stack-Based Buffer Overflow in Tenda FH1202 httpd Remote Exploit
Publication date: 2026-04-26
Last updated on: 2026-04-30
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tenda | fh1202_firmware | 1.2.0.14(408) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
| CWE-121 | A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The CVE-2026-7034 vulnerability affects the Tenda FH1202 router, version 1.2.0.14(408). It is a stack-based buffer overflow in the HTTP daemon (httpd), specifically within the function formWrlExtraSet.
The vulnerability arises because the function reads a user-supplied parameter named "GO" and stores it in a variable without validating its length. This variable is then passed to another function that copies it into a fixed-size stack buffer using sprintf, which can overflow if the input is too large.
An attacker can exploit this by sending a specially crafted HTTP POST request to the /goform/WrlExtraSet endpoint with an excessively long "GO" parameter, causing a stack-based buffer overflow.
How can this vulnerability impact me? :
Successful exploitation of this vulnerability may allow an attacker to cause a denial of service (DoS) or achieve remote code execution on the affected device.
This means an attacker could potentially crash the router or take control of it remotely, leading to disruption of network services or unauthorized access.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending a specially crafted HTTP POST request to the /goform/WrlExtraSet endpoint of the Tenda FH1202 router, version 1.2.0.14(408). The request should include an excessively long "GO" parameter to test for a stack-based buffer overflow.
A practical detection command involves using curl to send a POST request with a large "GO" parameter value, for example:
- curl -X POST http://[router_ip]/goform/WrlExtraSet -d "GO=$(python3 -c 'print("a"*1000)')"
If the device crashes, becomes unresponsive, or exhibits abnormal behavior after this request, it indicates the presence of the vulnerability.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the vulnerable endpoint /goform/WrlExtraSet by implementing network-level controls such as firewall rules to block unauthorized or external access.
Additionally, avoid exposing the router's management interface to untrusted networks and monitor for unusual POST requests targeting the "GO" parameter.
Since the vulnerability arises from lack of input validation, applying any available firmware updates or patches from the vendor that address this issue is strongly recommended once available.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided information does not specify any direct impact of the CVE-2026-7034 vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.