Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInternet scan for Totolink N300RH on port 80/443
-
DeliverySend crafted POST to /cgi-bin/cstecgi.cgi with oversized Password parameter
-
ExploitTrigger buffer overflow in loginauth function
-
ExecutionOverwrite return address on stack
-
PersistExecute shellcode with root privileges
-
ImpactEstablish persistent backdoor or pivot to LAN
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 the Totolink N300RH router's web management interface (specifically /cgi-bin/cstecgi.cgi endpoint) to be network-accessible to the attacker-this is default configuration when the device is deployed as an internet-facing gateway. No authentication, user interaction, or non-default configuration is necessary (CVSS PR:N/UI:N confirms). The vulnerability exists in the loginauth function during credential processing, meaning it is triggered before successful authentication, making this a pre-auth buffer overflow. Limiting factors: exploitation is constrained to the specific firmware version 3.2.4-B20220812; routers with management interfaces restricted to LAN-only access via firewall rules are not remotely exploitable (though remain vulnerable to local network attackers); successful exploitation requires precise payload construction to reliably control instruction pointer on MIPS/ARM architecture typical of these routers, though public POC availability mitigates this complexity. |
| Impact | Real-world risk is HIGH despite no CISA KEV listing. The CVSS 4.0 score of 8.9 with network vector, no authentication requirement, and low attack complexity represents severe exploitability metrics. Critically, publicly available exploit code exists (confirmed by VulDB and Notion-hosted POC reference), lowering the skill barrier for exploitation. The E:P (Proof-of-concept) metric in CVSS confirms weaponization. However, risk is somewhat contained by the narrow affected scope: only Totolink N300RH version 3.2.4-B20220812, a likely discontinued consumer router model with limited enterprise deployment. Absence from CISA KEV suggests this has not yet been incorporated into widespread attack campaigns, but the combination of unauthenticated remote access, buffer overflow primitive, and public exploit makes this immediately exploitable by opportunistic attackers scanning for vulnerable devices. Organizations should prioritize if these specific Totolink routers are deployed, particularly if management interfaces are internet-accessible. SSVC factors: exploitation is public (confirmed POC), automatable (network-based buffer overflow), technical impact is total system compromise-decision outcome is Act with elevated priority for affected installations. |
| Exploit ScenarioDerived | An attacker performing internet-wide scanning identifies a Totolink N300RH router with default or internet-accessible web management interface on port 80/443. Without requiring credentials, they send a specially crafted HTTP POST request to /cgi-bin/cstecgi.cgi with an oversized Password parameter (demonstrated in the public POC at https://lavender-bicycle-a5a.notion.site/TOTOLINK-N300RH-loginauth_password-34553a41781f80c0ad36f4d95122fd40), triggering the buffer overflow in the loginauth function and executing attacker-controlled shellcode with root privileges, fully compromising the router and enabling network traffic interception, credential harvesting, or pivot attacks into the local network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 04, 2026
Remote unauthenticated attackers can execute arbitrary code on Totolink N300RH routers version 3.2.4-B20220812 by sending crafted Password parameter values to the loginauth authentication function in /cgi-bin/cstecgi.cgi, triggering a stack-based buffer overflow. Exploitation probability is moderate (EPSS score not provided, but publicly available exploit code exists per VulDB reference). This affects consumer-grade wireless routers often deployed in home/SOHO environments with default internet-facing management interfaces, creating significant remote compromise risk despite the device's end-of-life status.
Earlier versions of this analysis (1)
Remote unauthenticated buffer overflow in Totolink N300RH firmware 3.2.4-B20220812 allows network attackers to execute arbitrary code or crash the device by sending a crafted Password parameter to /cgi-bin/cstecgi.cgi. The loginauth function fails to validate input length, enabling classic stack-based memory corruption. Public exploit code is available (Notion documentation), significantly lowering the attack barrier for mass exploitation of exposed routers. No vendor patch identified at time of analysis.
RemediationAI
No vendor-released patch for CVE-2026-7747 has been identified at time of analysis; Totolink has not published security advisories addressing this buffer overflow per references available at https://www.totolink.net/. Immediate compensating controls: (1) Disable remote management interface access and restrict administrative access to trusted internal networks only-this eliminates the AV:N attack vector but prevents legitimate remote administration; (2) Replace affected Totolink N300RH 3.2.4-B20220812 devices with actively supported router models from vendors with established security response programs; (3) If replacement is not immediately feasible, place affected routers behind defense-in-depth controls such as firewall rules blocking external access to TCP ports typically used for router management (80, 443, 8080) and implement network segmentation to isolate router management plane from production networks. Monitor vendor advisories at https://www.totolink.net/ and VulDB tracking page https://vuldb.com/vuln/360922 for future patch availability, though given the specific build date (2022) this firmware version may be end-of-life.
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
This vulnerability affects the loginauth function in Totolink N300RH firmware 3.2.4-B20220812, a consumer wireless router. The flaw is a classic stack-based buffer overflow (CWE-120) in the CGI parameter handler processing the Password argument during authentication to /cgi-bin/cstecgi.cgi. When oversized or malformed data is submitted to the Password field, inadequate bounds checking allows attackers to overwrite adjacent memory regions, corrupting the call stack and redirecting execution flow. The CVSS 4.0 vector indicates this is exploitable over the network (AV:N) with low complexity (AC:L) requiring no authentication (PR:N) or user interaction (UI:N), achieving high impact to confidentiality, integrity, and availability of the vulnerable component. The CPE string cpe:2.3:a:totolink:n300rh identifies this as application-level firmware running on dedicated router hardware, where memory corruption vulnerabilities typically grant full administrative access to the device.
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
5DescriptionCVE.org
A security flaw has been discovered in Totolink N300RH 3.2.4-B20220812. Affected by this vulnerability is the function loginauth of the file /cgi-bin/cstecgi.cgi of the component Parameter Handler. Performing a manipulation of the argument Password results in buffer overflow. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.
Executive ViewAI
CVE-2026-7747 is a critical remote code execution vulnerability affecting Totolik N300RH routers (version 3.2.4-B20220812) that allows unauthenticated attackers to compromise devices through a stack buffer overflow in the web management interface. Organizations and individuals using these routers in SOHO or remote access deployments face complete system compromise without authentication, enabling attackers to pivot into internal networks, intercept traffic, or deploy persistent backdoors.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable WAN-accessible management interfaces via firewall ACLs blocking HTTP/HTTPS to router management ports; (2) Change default credentials and strong passwords if device remains in use; (3) Implement network segmentation to isolate router from critical assets; (4) Deploy intrusion detection rules monitoring for suspicious /cgi-bin/cstecgi.cgi requests; (5) Prioritize replacement with current-generation equipment as no patch will be released for end-of-life device.
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.
OS command injection in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote unauthenticated attacker
Stack-based buffer overflow in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote attackers to corr
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-26937
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB