CVE-2026-6123
Received Received - Intake
Stack-Based Buffer Overflow in Tenda F451 httpd Allows Remote Exploit

Publication date: 2026-04-12

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in Tenda F451 1.0.0.7. This affects the function fromAddressNat of the file /goform/addressNat of the component httpd. Performing a manipulation of the argument entrys results in stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit has been made public and could be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-12
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-04-12
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
tenda f451_firmware 1.0.0.7
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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?

CVE-2026-6123 is a stack-based buffer overflow vulnerability found in the Tenda F451 firmware version 1.0.0.7, specifically in the fromAddressNat function of the httpd service.

The vulnerability occurs because the function reads a user-supplied parameter named "entrys" and stores it in a variable that is then passed to the sprintf function without any bounds checking. This lack of validation allows an attacker to overflow the buffer.

An attacker can exploit this remotely by sending a crafted HTTP POST request to the "/goform/addressNat" endpoint with an oversized "entrys" parameter, potentially causing a denial of service or enabling remote code execution.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include restricting access to the vulnerable endpoint "/goform/addressNat" to trusted users only, such as by implementing firewall rules or access control lists.

Additionally, monitoring and blocking suspicious HTTP POST requests with unusually large "entrys" parameters can help prevent exploitation.

If possible, update the firmware of the Tenda F451 device to a version where this vulnerability is patched or contact the vendor for a security update.


How can this vulnerability impact me? :

This vulnerability can have serious impacts including denial of service (DoS) and remote code execution on the affected device.

An attacker exploiting this flaw can crash the device or take control of it remotely by sending a specially crafted HTTP POST request.

Such impacts can lead to service disruption, unauthorized access, and potential compromise of the network where the device is deployed.


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-6123 vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by monitoring for HTTP POST requests sent to the "/goform/addressNat" endpoint containing an unusually large or oversized "entrys" parameter.

A practical detection method is to capture and analyze network traffic for such requests, especially those with payloads similar to the proof of concept which sends 2048 bytes of the character 'a' in the "entrys" field.

For example, using command-line tools like curl or netcat to simulate or detect such requests can help identify attempts to exploit this vulnerability.

  • Use a network packet capture tool (e.g., tcpdump or Wireshark) to filter HTTP POST requests to "/goform/addressNat".
  • Example tcpdump command: tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep '/goform/addressNat'
  • Use curl to test the endpoint with a crafted payload: curl -X POST http://<target-ip>/goform/addressNat -d 'entrys=$(python3 -c "print('a'*2048)")'

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart