CVE-2025-15252
Remote Stack-Based Buffer Overflow in Tenda M3 DHCP Function
Publication date: 2025-12-30
Last updated on: 2025-12-30
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tenda | m3 | 1.0.0.13 |
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?
This vulnerability is a stack-based buffer overflow in the Tenda M3 router firmware version 1.0.0.13(4903). It occurs in the function formSetRemoteDhcpForAp within the file /goform/setDhcpAP. By manipulating certain arguments such as startip, endip, leasetime, gateway, dns1, and dns2, an attacker can cause the buffer overflow. The attack can be performed remotely, and an exploit has been published.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for suspicious POST requests to the /goform/setDhcpAP endpoint with manipulated parameters such as startip, endip, leasetime, gateway, dns1, and dns2. Detection can involve inspecting HTTP traffic for unusual or oversized payloads targeting these parameters. Specific commands are not provided in the resources, but using network monitoring tools like tcpdump or Wireshark to filter HTTP POST requests to /goform/setDhcpAP could help. For example, a tcpdump command to capture such traffic might be: tcpdump -i <interface> -A 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' and then filtering for POST requests to /goform/setDhcpAP. However, no explicit commands are detailed in the provided resources. [2, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include replacing the affected Tenda M3 router running firmware version 1.0.0.13(4903) with an alternative device, as no known mitigations or countermeasures currently exist. Additionally, restricting remote access to the router's management interface and monitoring for exploit attempts may reduce risk. Since the exploit is publicly available and the vulnerability can be exploited remotely without authentication, urgent replacement or disabling the vulnerable service is recommended. [3]
How can this vulnerability impact me? :
This vulnerability can allow a remote attacker to execute arbitrary code or cause a denial of service on the affected device due to the stack-based buffer overflow. This can lead to compromise of the device, loss of control, and potential disruption of network services.