CVE-2025-8139
BaseFortify
Publication date: 2025-07-25
Last updated on: 2025-07-28
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| totolink | a702r | * |
| totolink | a702r_firmware | 4.0.0-b20230721.1521 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| 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. |
| 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-8139 is a critical buffer overflow vulnerability in the TOTOLINK A702R router firmware version 4.0.0-B20230721.1521. It occurs in the HTTP POST request handler at the endpoint /boafrm/formPortFw, specifically due to improper handling of the 'service_type' argument. An attacker can remotely send a crafted POST request that causes a buffer overflow, potentially leading to denial of service or further compromise of the device. [1, 2]
How can this vulnerability impact me? :
This vulnerability can be exploited remotely to cause a denial of service (DoS) on the affected TOTOLINK A702R router, disrupting network availability. Additionally, exploitation may compromise the confidentiality, integrity, and availability of the device, potentially allowing attackers to take control or disrupt network operations. [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 for HTTP POST requests targeting the endpoint /boafrm/formPortFw with the parameter service_type. Specifically, detection involves identifying suspicious or malformed POST requests that attempt to exploit the buffer overflow by sending oversized or crafted service_type values. Network intrusion detection systems (NIDS) or web application firewalls (WAF) can be configured to alert on such requests. As for commands, you can use tools like curl or wget to test the endpoint manually, for example: curl -X POST http://<router-ip>/boafrm/formPortFw -d "service_type=malicious_payload". Additionally, network traffic capture tools like tcpdump or Wireshark can be used to filter HTTP POST requests to /boafrm/formPortFw for further analysis. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include replacing the affected TOTOLINK A702R router running firmware version 4.0.0-B20230721.1521 with a non-vulnerable alternative, as no known mitigations or patches are currently available. Until replacement, restrict remote access to the device, especially blocking HTTP POST requests to /boafrm/formPortFw from untrusted networks. Implement network-level controls such as firewall rules to limit exposure and monitor for exploit attempts. Consider disabling remote management features if possible to reduce attack surface. [2]