Skip to main content

N300rh Firmware EUVDEUVD-2025-18805

| CVE-2025-6400 HIGH
Buffer Overflow (CWE-119)
2025-06-21 cna@vuldb.com
8.8
CVSS 3.1 · NVD
View

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

N300RH 6.1c.1390_B20191101

Affected Packages

euvd n300rh no fix

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

NVD PRIMARY 8.8 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
PoC Detected
Jun 25, 2025 - 20:13 vuln.today
Public exploit code
CVE Published
Jun 21, 2025 - 06:15 nvd
HIGH 8.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 33% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy