CVE-2025-7837
BaseFortify
Publication date: 2025-07-19
Last updated on: 2025-07-23
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| totolink | t6_firmware | v4.1.5cu.748_b20211015 |
| totolink | t6 | 3 |
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-120 | The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-7837 is a critical buffer overflow vulnerability in the TOTOLINK T6 router firmware version 4.1.5cu.748_B20211015, specifically in the MQTT Service's function recvSlaveStaInfo. The vulnerability occurs because the function copies input data into a very small destination buffer (only 4 bytes) without checking the input length, allowing an attacker to overflow the buffer. This overflow can overwrite the saved return address on the stack, enabling remote code execution on the device without authentication. [1, 2]
How can this vulnerability impact me? :
This vulnerability can allow a remote attacker to execute arbitrary code on the affected TOTOLINK T6 router, potentially compromising the device's confidentiality, integrity, and availability. Exploiting this flaw could lead to full control over the router, disruption of network services, interception or manipulation of network traffic, and further attacks on connected devices. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring network traffic for MQTT service activity on port 1883, specifically targeting the TOTOLINK T6 router firmware version 4.1.5cu.748_B20211015. Since the vulnerability involves a buffer overflow in the MQTT service's recvSlaveStaInfo function, detection could involve checking for unusual or malformed MQTT packets that attempt to exploit the buffer overflow. Commands to detect the presence of the vulnerable service could include scanning for open port 1883 using tools like nmap (e.g., 'nmap -p 1883 <target_ip>'). Additionally, inspecting MQTT traffic with tools like Wireshark or tcpdump to identify suspicious payloads may help. However, no specific detection commands or signatures are provided in the resources. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include discontinuing the use of the affected TOTOLINK T6 router firmware version 4.1.5cu.748_B20211015, as no known mitigations or patches are currently available. It is recommended to replace the affected product with an alternative device or firmware version that is not vulnerable. Additionally, restricting access to the MQTT service port 1883 from untrusted networks and monitoring for exploit attempts can help reduce risk until a fix is available. [2]