Skip to main content

Totolink N300RT CVE-2026-7218

| EUVDEUVD-2026-25974 HIGH
Classic Buffer Overflow (CWE-120)
2026-04-28 VulDB
7.3
CVSS 4.0 · Vendor: VulDB
Share

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
X

Lifecycle Timeline

8
PoC Detected
Apr 28, 2026 - 20:24 vuln.today
Public exploit code
Analysis Updated
Apr 28, 2026 - 03:31 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Apr 28, 2026 - 03:22 vuln.today
cvss_changed
CVSS changed
Apr 28, 2026 - 03:22 NVD
7.2 (HIGH) 7.3 (HIGH)
Analysis Generated
Apr 28, 2026 - 03:16 vuln.today
EUVD ID Assigned
Apr 28, 2026 - 03:00 euvd
EUVD-2026-25974
Analysis Generated
Apr 28, 2026 - 03:00 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

CVE-2026-7218 vulnerability details – vuln.today

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