Skip to main content

Totolink N300RH CVE-2026-7747

| EUVDEUVD-2026-26937 HIGH
Classic Buffer Overflow (CWE-120)
2026-05-04 VulDB
8.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Internet scan for Totolink N300RH on port 80/443
  2. Delivery
    Send crafted POST to /cgi-bin/cstecgi.cgi with oversized Password parameter
  3. Exploit
    Trigger buffer overflow in loginauth function
  4. Execution
    Overwrite return address on stack
  5. Persist
    Execute shellcode with root privileges
  6. Impact
    Establish 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.

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 – 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)
v1 May 04, 2026 - 09:16 CVSS 9.8

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

N300RH 3.2.4-B20220812

Affected Packages

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

Vendor (VulDB) PRIMARY 8.9 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

5
PoC Detected
May 04, 2026 - 15:17 vuln.today
Public exploit code
Analysis Updated
May 04, 2026 - 09:27 vuln.today
v2 - CVSS changed
Severity Changed
May 04, 2026 - 09:22 NVD
CRITICAL HIGH
CVSS changed
May 04, 2026 - 09:22 NVD
9.8 (CRITICAL) 8.9 (HIGH)
CVE Published
May 04, 2026 - 08:15 nvd
HIGH 8.9

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 77% exploitable
Exploit
POC
Public exploit code exists
Social Media
5
Sightings
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 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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

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