Skip to main content

Totolink N300RT EUVDEUVD-2026-25974

| CVE-2026-7218 HIGH
Classic Buffer Overflow (CWE-120)
2026-04-28 VulDB
7.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain admin credentials
  2. Delivery
    Authenticate to web interface
  3. Exploit
    Send crafted POST to /boafrm/formWsc
  4. Install
    Trigger buffer overflow in is_cmd_string_valid
  5. C2
    Overwrite return address
  6. Execute
    Execute shellcode as root
  7. Impact
    Establish persistence via firmware modification

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated administrative access to the Totolink N300RT web interface (CVSS PR:H). The attacker must reach the router's HTTP/HTTPS management interface over the network (AV:N), which depends on deployment configuration: routers with internet-facing admin panels (common in default configurations or UPnP-enabled setups) are directly exploitable remotely, while devices with admin interfaces restricted to local LAN require the attacker to first compromise a host on the internal network. The vulnerable /boafrm/formWsc endpoint is part of standard WPS configuration functionality and enabled by default in firmware 3.4.0-B20250430. No special non-default settings are required beyond having the web interface active. Network access alone is insufficient - valid admin credentials are mandatory, making password strength the primary limiting factor against exploitation.

Impact

Real-world risk is MODERATE-HIGH despite 7.3 CVSS score. The PR:H (high privileges required) constraint significantly reduces attack surface - exploitation demands compromised admin credentials first. However, several factors elevate concern: (1) Public POC on GitHub enables script-kiddie attacks against routers with weak/default admin passwords, (2) AC:L (low attack complexity) means exploitation is reliable once credentials obtained, (3) VC:H/VI:H/VA:H indicates complete system compromise (confidentiality, integrity, availability), (4) Home routers like N300RT frequently retain default credentials or use weak passwords, lowering the privilege requirement barrier in practice. Absence from CISA KEV and lack of EPSS data suggests exploitation not yet automated or widespread, but the POC availability creates a ticking clock for bulk scanning campaigns targeting exposed admin interfaces. Priority depends on deployment context: HIGH for internet-facing admin panels with credential stuffing risk, MODERATE for properly segmented management networks with strong authentication.

Exploit ScenarioDerived

An attacker first obtains Totolink N300RT admin credentials via credential stuffing, brute force against weak passwords, or phishing targeting the device owner. With authenticated access to the web interface, the attacker sends a specially crafted HTTP POST request to /boafrm/formWsc containing an oversized localPin parameter (e.g., 500+ byte payload with embedded shellcode). The is_cmd_string_valid function in libapmib.so fails to validate input length, overwriting the stack return address. Upon function return, execution redirects to attacker-controlled shellcode, achieving arbitrary code execution as the web server process (likely root), enabling firmware backdooring, credential harvesting, or pivot to internal network.

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

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

Alert me

AnalysisAIv2 – Apr 28, 2026

Buffer overflow in Totolink N300RT 3.4.0-B20250430 enables authenticated remote code execution via the WPS configuration handler. An attacker with administrative credentials (PR:H) can send a crafted localPin parameter to /boafrm/formWsc, overflowing a buffer in the is_cmd_string_valid function (libapmib.so) to execute arbitrary code with full system access (VC:H/VI:H/VA:H). Public proof-of-concept exploit code exists on GitHub (xiaohaiyang-ai/TOTOLINK-N300RT-Buffer-Overflow), increasing weaponization risk despite requiring privileged access. EPSS data not available; no CISA KEV listing indicates exploitation not yet widespread in wild attacks.

Earlier versions of this analysis (1)
v1 Apr 28, 2026 - 03:16 CVSS 7.2

Buffer overflow in Totolink N300RT router firmware version 3.4.0-B20250430 allows authenticated administrators to execute arbitrary code remotely via crafted localPin parameter in the WPS configuration handler. The vulnerability resides in the is_cmd_string_valid function within libapmib.so's /boafrm/formWsc endpoint. Public exploit code demonstrates weaponization. EPSS data not available, but publicly documented POC combined with network attack vector and high privileges requirement suggests targeted rather than widespread exploitation risk. CVSS 7.2 reflects administrative access prerequisite, which significantly limits attack surface compared to unauthenticated network vulnerabilities.

RemediationAI

No vendor-released patch or updated firmware version has been identified in Totolink's official channels (www.totolink.net) or the CVE references. Users should immediately implement compensating controls: (1) Disable remote administration - restrict web interface access to local LAN only via router settings (blocks AV:N attack vector entirely; trade-off: no remote management capability), (2) Change default admin credentials to strong unique passwords 16+ characters with symbols (raises bar for PR:H requirement; verify using password manager), (3) Disable WPS functionality if not required - reduces attack surface by removing /boafrm/formWsc endpoint exposure (trade-off: manual WiFi setup required for new devices), (4) Deploy network segmentation - place router admin interface on isolated VLAN accessible only from trusted management hosts (limits lateral movement post-compromise). Monitor VulDB (https://vuldb.com/vuln/359818) and Totolink security advisories for firmware updates. Consider replacing device if vendor does not release patch within 90 days, as public POC availability will drive exploitation attempts against unpatched installations.

Affected VersionsENISA

N300RT 3.4.0-B20250430

Affected Packages

euvd n300rt 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 resides in libapmib.so, a shared library handling AP management and configuration functions for the Totolink N300RT router. The affected function is_cmd_string_valid performs input validation for WPS (Wi-Fi Protected Setup) configuration requests processed via the BoaForm CGI handler at /boafrm/formWsc. CWE-120 (Classic Buffer Overflow) indicates insufficient bounds checking when copying the localPin argument into a fixed-size stack or heap buffer. The CVSS vector AV:N (network attack vector) confirms the formWsc endpoint is accessible over HTTP/HTTPS to authenticated users. The libapmib.so library likely runs with elevated privileges to manage wireless configuration, making buffer overflows in this context highly impactful for arbitrary code execution as root or the web server's effective UID.

Know when N300Rt 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

Vendor (VulDB) PRIMARY 7.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
PoC Detected
Apr 28, 2026 - 20:24 vuln.today
Public exploit code
Analysis Updated
Apr 28, 2026 - 03:31 vuln.today
v2 - CVSS changed
CVSS changed
Apr 28, 2026 - 03:22 NVD
7.2 (HIGH) 7.3 (HIGH)
CVE Published
Apr 28, 2026 - 02:45 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was detected in Totolink N300RT 3.4.0-B20250430. The impacted element is the function is_cmd_string_valid of the file /boafrm/formWsc of the component libapmib.so. Performing a manipulation of the argument localPin results in buffer overflow. The attack is possible to be carried out remotely. The exploit is now public and may be used.

Executive ViewAI

Why It Matters

CVE-2026-7218 is a high-severity buffer overflow in Totolink N300RT wireless routers (version 3.4.0-B20250430) that allows authenticated administrators to execute arbitrary code with full system privileges through a malformed WPS configuration request. Organizations deploying this router model face risk of complete device compromise and potential lateral network movement if administrative credentials are compromised or misused by insider threats.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative console access via firewall rules to authorized administrator IP addresses only; (2) Disable WPS feature if not operationally required; (3) Enforce strong, unique administrative credentials and implement credential access monitoring; (4) Isolate affected routers to dedicated administrative VLAN with enhanced logging; (5) Establish change control process requiring approval and logging of any device configuration modifications.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.1%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

Related Vulnerabilities in Totolik N300RT Buffer Overflow Vulnerabilities

View all 2

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