CVE-2025-6400
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-21

Last updated on: 2025-06-25

Assigner: VulDB

Description
A vulnerability was found in TOTOLINK N300RH 6.1c.1390_B20191101 and classified as critical. Affected by this issue is some unknown functionality of the file /boafrm/formPortFw of the component HTTP POST Message Handler. The manipulation of the argument service_type leads to buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-21
Last Modified
2025-06-25
Generated
2026-05-07
AI Q&A
2025-06-21
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
totolink n300rh_firmware 6.1c.1390_b20191101
totolink n300rh *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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-6400 is a critical buffer overflow vulnerability in the TOTOLINK N300RH router firmware version 6.1c.1390_B20191101. It occurs in the HTTP POST message handler at the endpoint /boafrm/formPortFw, where improper handling of the service_type parameter allows an attacker to send a specially crafted request that triggers a stack buffer overflow. This happens because the input size is not properly checked against the output buffer size, violating secure coding practices. The vulnerability can be exploited remotely without authentication. [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) condition on the affected device, disrupting its availability. Additionally, it compromises the confidentiality, integrity, and availability of the device, potentially allowing further exploitation or control over the router. Since the exploit is publicly available and requires no authentication, the risk of attack is significant. [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 HTTP POST requests to the endpoint /boafrm/formPortFw on TOTOLINK N300RH routers running firmware version 6.1c.1390_B20191101. Specifically, look for POST requests containing the service_type parameter with unusually large or malformed input that could trigger a buffer overflow. Network traffic analysis tools like Wireshark or tcpdump can be used to capture such requests. For example, a tcpdump command to filter HTTP POST requests to the vulnerable path could be: tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' and then manually inspect for POST requests to /boafrm/formPortFw with suspicious service_type values. Additionally, web application scanners or custom scripts can be used to send crafted POST requests to test for the vulnerability. [1, 2]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include discontinuing use of the affected TOTOLINK N300RH router firmware version 6.1c.1390_B20191101 and replacing the device with an alternative product, as no known mitigations or patches are currently available. Additionally, restricting access to the device's management interface from untrusted networks and implementing network-level protections such as firewall rules to block or limit HTTP POST requests to /boafrm/formPortFw can reduce exposure. Monitoring for exploit attempts and isolating vulnerable devices from critical network segments are also recommended. [2]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart