Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 8.8 reflects high severity, driven by high impact scores across confidentiality (C:H), integrity (I:H), and availability (A:H). The attack vector is network-based (AV:N) with low attack complexity (AC:L), meaning no special conditions are required. However, the attack requires low privilege (PR:L), indicating authentication is mandatory—this moderately reduces real-world impact compared to unauthenticated vulnerabilities. The presence of publicly disclosed exploit code significantly increases exploitation probability and real-world risk. The lack of user interaction (UI:N) and scoped impact (S:U) further increase severity. Without specific EPSS or KEV confirmation data provided, the disclosed POC availability and network accessibility of home routers suggest elevated exploitation likelihood in the wild. This is a genuine priority: authenticated attackers (potentially via credential stuffing, social engineering, or insider threats) can remotely achieve complete system compromise. Home and small office routers are commonly exposed to untrusted networks and may be accessed by guests or compromised user accounts. |
| Exploit ScenarioDerived | An attacker with valid credentials to the router's web management interface (obtained via phishing, weak password, or insider access) sends a specially crafted HTTP POST request to http://<router-ip>/boafrm/formPortFw with an oversized or malicious value in the service_type parameter. The HTTP POST handler processes this input without bounds checking, causing a buffer overflow that overwrites adjacent stack or heap memory. Depending on memory layout and overflow size, the attacker can overwrite return addresses or function pointers to redirect execution to injected shellcode, gaining remote code execution as the web server process (often running as root on embedded devices). This allows the attacker to modify firewall rules, exfiltrate network traffic, install backdoors, or render the device non-functional. Given the disclosed POC, automated tools may rapidly scan for vulnerable N300RH instances on the public internet and exploit them once credentials are obtained through auxiliary means. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6400 is a critical buffer overflow vulnerability in TOTOLINK N300RH router firmware version 6.1c.1390_B20191101, exploitable via HTTP POST requests to the /boafrm/formPortFw endpoint through manipulation of the service_type parameter. An authenticated attacker can remotely trigger this vulnerability to achieve complete system compromise (confidentiality, integrity, and availability). Public exploit code is available and the vulnerability meets criteria for active exploitation risk due to disclosed POC and remote exploitability from an authenticated state.
RemediationAI
Immediate actions: (1) TOTOLINK should release a patched firmware version addressing the buffer overflow in the formPortFw handler; no specific patch version is referenced in available data, requiring vendor contact for timeline. (2) Users should disable remote management/web access if not required, restricting web interface access to local LAN only via firewall rules. (3) Implement strong authentication (change default credentials) to reduce risk from credential-based attacks. (4) Monitor for suspicious POST requests to /boafrm/formPortFw endpoint. (5) Consider replacing the router with an alternative vendor if TOTOLIK cannot provide a timely patch. (6) If web management must be exposed, place behind a VPN or firewall restricting access to trusted IPs. Contact TOTOLINK support directly for patch availability and release timelines; as of this analysis, no public patch link is confirmed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the HTTP POST message handler component of TOTOLINK's web management interface, specifically in the port forwarding configuration endpoint (/boafrm/formPortFw). The root cause is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), a classic buffer overflow flaw where user-supplied input in the 'service_type' parameter is not properly validated before being written to a fixed-size buffer on the stack or heap. The affected product is a residential WiFi router running a proprietary firmware stack with a web-based management interface. The HTTP POST handler parses incoming form data without adequate bounds checking, allowing an authenticated user to overflow adjacent memory regions and potentially achieve arbitrary code execution or denial of service.
Know when N300rh Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
A critical remote code execution vulnerability affects TOTOLIK N300RH routers (CVE-2025-6400) with a publicly available exploit and no vendor patch available. Organizations using this router model face immediate risk of unauthorized network access and potential compromise of network infrastructure and connected devices.
Disable HTTP management interface if not actively required; restrict administrative access to router management interfaces via network ACLs; implement Web Application Firewall (WAF) rules to filter POST requests containing suspicious service_type parameters to /boafrm/formPortFw; place affected devices behind a bastion host or management VPN; deploy network intrusion detection/prevention systems (IDS/IPS) to monitor for exploitation attempts; monitor router logs for POST requests to vulnerable endpoint; consider factory reset and firmware rollback to earlier verified stable version if available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in N300rh Firmware
View allCommand injection in TOTOLINK N300RH router firmware 6.1c.1353 via setDiagnosisCfg handler. EPSS 4.0% with PoC available
OS command injection in Totolink N300RH firmware allows unauthenticated remote attackers to execute arbitrary commands t
Denial of service in TOTOLINK N300RH firmware 6.1c.1390_B20191101 via the /boafrm/formFilter endpoint allows an authenti
A vulnerability classified as critical was found in TOTOLINK N300RH 6.1c.1390_B20191101. Rated medium severity (CVSS 5.3
A vulnerability classified as critical has been found in TOTOLINK N300RH 6.1c.1390_B20191101. Rated medium severity (CVS
A vulnerability was found in TOTOLINK N300RH 6.1c.1390_B20191101. Rated medium severity (CVSS 5.3), this vulnerability i
EUVD-2025-18805
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB