CVE-2025-6400
Published: 21 June 2025
Summary
CVE-2025-6400 is a high-severity Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) vulnerability in Totolink N300Rh Firmware. Its CVSS base score is 7.4 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 19.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
A buffer overflow vulnerability affects the TOTOLINK N300RH router running firmware version 6.1c.1390_B20191101. The flaw resides in the HTTP POST message handler within the file /boafrm/formPortFw, where improper handling of the service_type argument allows an attacker to overflow a buffer, corresponding to CWE-119 and CWE-120.
An authenticated remote attacker can send a crafted HTTP POST request to trigger the overflow. Successful exploitation grants the attacker the ability to execute arbitrary code or crash the affected device, with the CVSS 4.0 score of 7.4 reflecting high impact on confidentiality, integrity, and availability.
Public proof-of-concept code has been disclosed via GitHub, and the exploit is rated as available though exploitation probability remains low, with EPSS scores holding steady near 0.0136–0.0137. No vendor advisory or patch information is referenced in the available sources.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-18805
Vulnerability details
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…
more
overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Buffer overflow in the remotely accessible HTTP POST handler (/boafrm/formPortFw) of the router's web interface enables exploitation of a public-facing application.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Managed runtimes used by platform-independent applications (e.g., JVM, CLR) enforce memory safety, preventing most buffer overflows that require direct memory manipulation.
Ongoing control assessments and code testing (static/dynamic analysis, fuzzing) surface memory buffer restriction failures, which are then remediated before release.
Memory protections (e.g., W^X, ASLR) make exploitation of buffer-boundary violations far harder to turn into code execution.
Detects exploitation attempts that produce memory corruption, crashes, or anomalous behavior.