Skip to main content

N302r Plus Firmware EUVDEUVD-2025-17013

| CVE-2025-5671 HIGH
Buffer Overflow (CWE-119)
2025-06-05 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

This vulnerability presents HIGH REAL-WORLD RISK despite being older (firmware version from 2020). Risk factors: (1) CVSS 8.8 with AV:N (network-accessible), AC:L (low complexity), PR:L (requires low privilege - authenticated user), indicating relatively easy remote exploitation; (2) Public exploit disclosure significantly elevates practical risk; (3) CWE-119 buffer overflows are historically one of the most reliably exploitable vulnerability classes; (4) The endpoint is accessible via standard HTTP POST without complex preconditions; (5) This is a consumer-grade router still actively deployed in networks (N302R Plus has long product lifecycle); (6) Authentication requirement (PR:L) moderately reduces risk but is not a strong control on home routers where users may share credentials or be socially engineered. SSVC assessment: Exploitation = Proven (POC disclosed), Automatable = Yes (straightforward POST request manipulation), Technical Impact = Total (RCE), therefore PRIORITY = CRITICAL. EPSS would likely be elevated due to public POC availability and proven exploitation path.

Exploit ScenarioDerived

An authenticated attacker (or a user with valid router credentials obtained through phishing or credential stuffing) sends a specially crafted HTTP POST request to http://[router-ip]/boafrm/formPortFw with an oversized 'service_type' parameter value exceeding the destination buffer size. The value could be a long string (e.g., 2000+ bytes) designed to overwrite adjacent stack memory. Due to lack of bounds checking in the vulnerable firmware code, this overwrites the function's return address on the stack. By carefully crafting the payload, the attacker can redirect execution to injected shellcode, achieving remote code execution with the privileges of the web server process (typically root or similar high-privileged user on embedded Linux routers). This allows complete compromise: data exfiltration, botnet recruitment, lateral network movement, or persistent backdoor installation. Public POC likely provides step-by-step instructions or automated tooling to generate the malicious payload, lowering the barrier to exploitation significantly. Attack can be launched with simple curl/Python requests, no special network position required.

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

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

Alert me

AnalysisAIv1 – Mar 14, 2026

A critical buffer overflow vulnerability exists in TOTOLINK N302R Plus router firmware (versions up to 3.4.0-B20201028) in the HTTP POST request handler for the /boafrm/formPortFw endpoint. An authenticated remote attacker can exploit this by manipulating the 'service_type' parameter to cause buffer overflow, achieving remote code execution with high confidentiality, integrity, and availability impact. Public exploit code is available and the vulnerability shows strong indicators of active exploitation risk.

RemediationAI

Immediate actions: (1) If a firmware patch is available from TOTOLINK for the N302R Plus, apply it immediately via the administrative interface (System Settings > Firmware Upgrade); (2) If no patch is available (product may be end-of-life), implement network segmentation to restrict administrative access to the router's web interface to trusted administrative networks only, using ACLs or firewall rules to block port 80/443 except from designated management IPs; (3) Change default credentials and implement strong, unique administrative passwords; (4) Disable remote management/WAN access to the router's web interface if enabled (check System Settings > Remote Management); (5) Consider replacing the device with a current model receiving active security updates if this is a production environment; (6) Monitor for suspicious POST requests to /boafrm/formPortFw endpoint in any available access logs. Verify patch status at official TOTOLINK support channels before deployment.

Affected VersionsENISA

N302R Plus 3.4.0-B20201028

Affected Packages

euvd n302r_plus 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

This vulnerability affects the TOTOLINK N302R Plus wireless router's web-based management interface. The vulnerability exists in the HTTP POST request handler component that processes port forwarding configuration requests. The affected endpoint '/boafrm/formPortFw' fails to properly validate input length for the 'service_type' parameter before copying it into a fixed-size buffer, creating a classic stack-based buffer overflow (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer). The router's embedded web server (likely boa or similar lightweight HTTP daemon common in embedded devices) processes this request without adequate bounds checking. This is typical of older embedded device firmware that prioritizes minimal memory footprint over security. The CPE string 'cpe:2.3:o:totolink:n302r_plus_firmware:*:*:*:*:*:*:*:*' indicates this affects the firmware component across the N302R Plus hardware platform.

Know when N302r Plus 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

DescriptionCVE.org

A vulnerability, which was classified as critical, was found in TOTOLINK N302R Plus up to 3.4.0-B20201028. Affected is an unknown function of the file /boafrm/formPortFw of the component HTTP POST Request Handler. The manipulation of the argument service_type leads to buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A critical buffer overflow vulnerability exists in TOTOLINK N302R Plus routers (versions up to 3.4.0-B20201028) that allows unauthenticated remote attackers to execute arbitrary code through malformed HTTP requests. Organizations using affected devices face immediate risk of network compromise, data theft, and service disruption, with no vendor patch currently available.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to block HTTP POST requests to /boafrm/formPortFw with suspicious service_type parameters; restrict network access to device management interfaces using firewall rules and VLANs; disable remote management capabilities if not required; monitor for exploitation signatures and unusual traffic patterns; consider disabling the port forwarding feature via device configuration if operationally feasible; maintain regular backups in case of compromise; maintain continuous vendor communication for patch availability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 53% exploitable
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 No
EPSS 0.2%
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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
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