CVE-2026-6122
Stack-Based Buffer Overflow in Tenda F451 httpd Component
Publication date: 2026-04-12
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tenda | f451_firmware | 1.0.0.7 |
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
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the vulnerable endpoint "/goform/L7Prot" by implementing network-level controls such as firewall rules to block unauthorized or external access.
Additionally, monitor the device for unusual behavior or crashes that may indicate exploitation attempts.
Since the vulnerability allows remote code execution or denial of service, it is critical to update the device firmware to a patched version once available from the vendor.
Can you explain this vulnerability to me?
CVE-2026-6122 is a stack-based buffer overflow vulnerability found in the Tenda F451 device running firmware version 1.0.0.7. It occurs in the frmL7ProtForm function of the httpd service, which processes a user-supplied parameter named "page." The vulnerability arises because this parameter is passed to the sprintf function without any bounds checking, allowing an attacker to overflow the buffer.
This flaw can be exploited remotely by sending a specially crafted POST request to the "/goform/L7Prot" endpoint with an excessively long "page" parameter, causing the buffer overflow.
How can this vulnerability impact me? :
Exploiting this vulnerability can lead to a denial of service (DoS) on the affected device or potentially allow an attacker to execute arbitrary remote code. This means an attacker could crash the device or take control of it remotely, leading to disruption of 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 crafted POST request to the endpoint "/goform/L7Prot" with the "page" parameter containing an excessively long string (e.g., 2048 bytes) to test for a stack-based buffer overflow.
A possible command to test this could be using curl as follows:
- curl -X POST http://<target-ip>/goform/L7Prot -d "page=$(python3 -c 'print("A"*2048)')"
If the device crashes, becomes unresponsive, or exhibits abnormal behavior after this request, it indicates the presence of the vulnerability.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.