CVE-2025-15231
Remote Stack-Based Buffer Overflow in Tenda M3 VLAN Function
Publication date: 2025-12-30
Last updated on: 2026-02-24
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 exists in the Tenda M3 router firmware version 1.0.0.13(4903), specifically in the function formSetRemoteVlanInfo within the /goform/setVlanInfo file. By manipulating the arguments ID, vlan, or port, an attacker can cause a stack-based buffer overflow. This overflow can be triggered remotely, potentially allowing the attacker to execute arbitrary code or disrupt the device's operation.
How can this vulnerability impact me? :
The vulnerability can lead to a stack-based buffer overflow, which may allow a remote attacker to execute arbitrary code on the affected device. This can result in unauthorized control over the router, disruption of network services, or compromise of the network's security and stability.
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/setVlanInfo endpoint on Tenda M3 routers running firmware 1.0.0.13(4903). Specifically, look for POST requests containing a Cookie header with a devUid parameter formatted as devUid=IP:PORT;. Network intrusion detection systems (NIDS) or web server logs can be inspected for such patterns. Commands to detect this might include using tools like curl or wget to simulate the request or using network monitoring tools to filter HTTP POST requests to /goform/setVlanInfo. For example, using tcpdump or tshark to capture HTTP traffic and filter for POST requests to /goform/setVlanInfo. However, no specific detection commands are provided in the resources. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include disabling or restricting access to the vulnerable endpoint /goform/setVlanInfo on the Tenda M3 router, especially if the router is configured with ac.workmode set to "master". Since no known countermeasures or patches are available, it is recommended to replace the affected device with an alternative product. Additionally, monitoring and blocking suspicious POST requests targeting this endpoint can help reduce risk. [1, 3]