Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed N300RH admin UI
-
DeliverySend crafted POST to setWiFiBasicConfig
-
ExploitOverflow KeyStr stack buffer in wireless.so
-
InstallHijack control flow to shellcode
-
C2Execute commands as root
-
ExecutePersist via firmware/config modification
-
ImpactPivot to LAN traffic interception
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 | The attacker must be able to reach the Totolink N300RH Web Management Interface over the network and submit a request to the setWiFiBasicConfig handler with a manipulated KeyStr argument; CVSS PR:N indicates no authentication is required by the vulnerable code path, and UI:N means no victim interaction is needed. Exploitation is limited to devices running firmware 6.1c.1353_B20190305 (and likely sibling builds sharing the same wireless.so), and is practically constrained by whether the Web Management Interface is exposed only on the LAN (default) versus also on the WAN - internet-facing exploitation depends on operators having enabled remote administration or on the attacker already having a LAN foothold. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H/VI:H/VA:H) describes a network-reachable, low-complexity, unauthenticated attack with high triad impact, yielding the 8.9 base score, and E:P confirms a proof-of-concept exists. No EPSS score was provided, and the CVE is not listed in CISA KEV - so although a public exploit exists, there is no confirmed active mass exploitation. The real-world risk hinges on exposure of the Web Management Interface: by default, vendor-supplied SOHO routers expose admin UIs only on the LAN, which would substantially reduce attack surface despite the AV:N rating; however, many Totolink units have historically been targeted by Mirai-class botnets when WAN-side admin is enabled or when LAN-side attackers (malware, guest devices) reach the management plane. Treat as high priority for any N300RH operator, but realistic widespread internet-facing exploitation is bounded by WAN management exposure. |
| Exploit ScenarioDerived | An attacker with network reach to the router's Web Management Interface (e.g., a malicious LAN client, a compromised IoT device on the same network, or an internet attacker against units with WAN admin exposed) sends a crafted HTTP request to the setWiFiBasicConfig endpoint with an oversized KeyStr parameter. The overflow corrupts the saved return address on the stack within wireless.so, allowing the attacker to redirect execution and run arbitrary code as the web server process - typically root on embedded routers - yielding full device takeover suitable for traffic interception, DNS hijacking, or botnet enrollment. Publicly available exploit code lowers the skill barrier for opportunistic actors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – May 31, 2026
Stack-based buffer overflow in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote attackers to corrupt memory via the KeyStr argument processed by the setWiFiBasicConfig function in wireless.so, reachable through the Web Management Interface. Publicly available exploit code exists, and the CVSS 4.0 vector indicates network-reachable, unauthenticated exploitation with high impact to confidentiality, integrity, and availability. No CISA KEV listing has been published, so exploitation is not confirmed in the wild despite the public PoC.
Earlier versions of this analysis (2)
Stack-based buffer overflow in the TOTOLINK N300RH router (firmware 6.1c.1353_B20190305) allows remote attackers to corrupt memory by sending a crafted KeyStr argument to the setWiFiBasicConfig function in wireless.so of the Web Management Interface. Publicly available exploit code exists per VulDB, raising the likelihood of opportunistic abuse against exposed admin panels, though no CISA KEV listing currently confirms active in-the-wild exploitation. CVSS 4.0 of 8.9 reflects network reach with no authentication or user interaction needed and high impact to confidentiality, integrity, and availability of the device.
Stack-based buffer overflow in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote attackers to corrupt memory by sending a crafted KeyStr argument to the setWiFiBasicConfig function in wireless.so via the Web Management Interface. Publicly available exploit code exists, and the CVSS 9.8 rating combined with network-reachable attack vector makes this a high-priority issue for any deployment exposing the router's management interface.
RemediationAI
No vendor-released patch identified at time of analysis - VulDB references and the Totolink product page (https://www.totolink.net/) do not list a fixed firmware build, so operators should monitor Totolink's support pages for an updated firmware release superseding 6.1c.1353_B20190305 and apply it as soon as available. Until a patch ships, restrict access to the Web Management Interface: disable remote/WAN-side administration entirely (most impactful mitigation, trade-off is loss of off-LAN management), bind the admin UI to a management VLAN or specific trusted LAN IPs via ACLs (trade-off: configuration complexity and potential lockout if misapplied), and change the default admin password to limit chained abuse if any partial authentication check is reached. As a stronger compensating control where feasible, replace the device with a currently supported model, since the affected firmware lineage dates to 2019 and the N300RH has limited vendor maintenance.
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 affected device is a SOHO wireless router whose web administration interface dispatches configuration requests into native shared libraries - here, wireless.so. The setWiFiBasicConfig handler copies the user-supplied KeyStr parameter (the Wi-Fi key/passphrase value) into a fixed-size stack buffer without proper bounds checking, classic CWE-121 (Stack-based Buffer Overflow). On embedded MIPS/ARM router platforms running BusyBox/Linux without modern stack protections (canaries, ASLR, NX often weak or absent), such overflows commonly enable control-flow hijacking. CPE cpe:2.3:a:totolink:n300rh:*:*:*:*:*:*:*:* indicates all builds of the N300RH product line that ship this firmware lineage are implicated.
Know when N300Rh 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was detected in Totolink N300RH 6.1c.1353_B20190305. Affected by this issue is the function setWiFiBasicConfig of the file wireless.so of the component Web Management Interface. Performing a manipulation of the argument KeyStr results in stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit is now public and may be used.
Executive ViewAI
Totolik N300RH routers (firmware 6.1c.1353_B20190305) contain a critical stack-based buffer overflow exploitable without authentication via the web management interface, allowing complete network compromise. Publicly available exploit code exists for this vulnerability. This affects all network perimeter devices running this firmware version, exposing internal systems to immediate attack risk. With no vendor patch issued, organizations using this router model face significant operational and data protection exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable web management interface if not required; (2) Restrict administrative access to management networks only; (3) Deploy network segmentation to limit impact of router compromise; (4) Enable detailed logging and alerting on router configuration changes; (5) Prioritize hardware replacement as primary remediation pathway.
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.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
OS command injection in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote unauthenticated attacker
Remote unauthenticated attackers can execute arbitrary code on Totolink N300RH routers version 3.2.4-B20220812 by sendin
Remote authenticated attackers can execute arbitrary code on Totolink N300RH 3.2.4-B20220812 routers via buffer overflow
Buffer overflow in Totolink N300RH router firmware 3.2.4-B20220812 allows authenticated remote attackers to achieve comp
Buffer overflow in Totolink N300RH router firmware 3.2.4-B20220812 enables authenticated remote attackers to achieve cod
Remote code execution in Totolink N300RH firmware 6.1c.1353_B20190305 allows unauthenticated network attackers to execut
External file inclusion in Totolink N300RH firmware 6.1c.1353_B20190305 allows remote unauthenticated attackers to manip
EUVD-2026-33509
GHSA-f783-rqc9-65mx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB