CVE-2025-8138
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_firmware | 4.0.0-b20230721.1521 |
| totolink | a702r | * |
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-8138 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/formOneKeyAccessButton, where improper handling of the 'submit-url' argument allows an attacker to overflow a buffer by sending a specially crafted POST request. This can be exploited remotely without authentication and may lead to denial of service or other impacts on the device. [1, 2]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing a remote attacker to cause a denial of service (DoS) on the TOTOLINK A702R router, potentially disrupting network availability. It also affects the confidentiality, integrity, and availability of the device, meaning an attacker could compromise the device's operation and data. The exploit is easy to execute and publicly available, increasing the risk of attack. [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 sent to the endpoint /boafrm/formOneKeyAccessButton with a suspicious or unusually large submit-url argument that may trigger a buffer overflow. You can use network traffic inspection tools like tcpdump or Wireshark to capture POST requests to this path. For example, a command to capture such traffic using tcpdump could be: tcpdump -i any -A 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep '/boafrm/formOneKeyAccessButton'. Additionally, web server logs can be searched for POST requests to this endpoint. Since a public proof-of-concept exploit exists, testing with crafted POST requests targeting the submit-url parameter can also confirm vulnerability presence. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting or blocking remote access to the affected endpoint /boafrm/formOneKeyAccessButton on the TOTOLINK A702R router, for example by configuring firewall rules to deny incoming HTTP POST requests to this path. Since no official patch or fix is available, it is recommended to replace the affected device with an alternative product. Monitoring for exploit attempts and isolating vulnerable devices from untrusted networks can also reduce risk. [2]