Skip to main content

TOTOLINK N600R CVE-2026-79911

| EUVDEUVD-2026-66196 CRITICAL
Stack-based Buffer Overflow (CWE-121)
2026-08-25 VulDB GHSA-wgfc-85p2-7526
9.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach router web management interface
  2. Delivery
    Send crafted POST to /cgi-bin/cstecgi.cgi
  3. Exploit
    Overflow Hostname buffer in setSystemConfig
  4. Execution
    Overwrite saved return address
  5. Persist
    Execute attacker code on device
  6. Impact
    Gain full router control

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

Exploitation requires network reachability to the router's HTTP management service and the ability to call the setSystemConfig action of /cgi-bin/cstecgi.cgi with an attacker-controlled, oversized Hostname argument on firmware 4.3.0cu.7647_B20210106. Per the CVSS 4.0 vector (PR:N/UI:N) no authentication or user interaction is claimed, so against an exposed interface this is remote and unauthenticated; however, TOTOLINK cstecgi.cgi endpoints commonly enforce a session token, so the no-auth prerequisite should be verified against the actual firmware. Limiting factors: the management interface must be reachable by the attacker (default deployments expose it on the LAN, not the WAN), and exploitation is confined to this specific model/firmware.

Impact

The signals mostly agree this is a genuine, easily reachable flaw: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates network-reachable, low-complexity exploitation with no authentication or user interaction, and the E:P (Proof-of-Concept) flag plus a published GitHub PoC confirm working exploit code. It is NOT in CISA KEV, so there is no evidence of active in-the-wild exploitation, and no EPSS score was provided to gauge exploitation probability. One caveat: cstecgi.cgi handlers on TOTOLINK devices frequently require a valid management session in practice, yet the vector asserts PR:N - the description does not mention authentication, so the unauthenticated claim rests on VulDB's scoring and should be verified against the actual firmware. Real-world priority is tempered by prevalence: this is a niche consumer router, so risk is high for owners of the specific model but limited in aggregate footprint. Treat as high priority for anyone running an exposed N600R management interface, especially if reachable from the WAN.

Exploit ScenarioDerived

An attacker with network access to the router's management interface sends a crafted HTTP request to /cgi-bin/cstecgi.cgi invoking setSystemConfig with an overlong Hostname value, overflowing a stack buffer and hijacking control flow to run attacker-supplied code on the device. Because a public PoC and technical write-up already exist and CVSS complexity is low, a remote attacker could reliably crash the router or gain code execution; success yields full control of the gateway and the traffic passing through it.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Aug 25, 2026

Stack-based buffer overflow in the TOTOLINK N600R router (firmware 4.3.0cu.7647_B20210106) lets remote attackers corrupt memory by supplying an oversized Hostname argument to the setSystemConfig function in /cgi-bin/cstecgi.cgi, potentially enabling arbitrary code execution on the device. Publicly available exploit code exists (disclosed via VulDB and a GitHub write-up), though the flaw is not listed in CISA KEV. VulDB scores it CVSS 4.0 9.3 (Critical), reflecting high confidentiality, integrity, and availability impact.

Earlier versions of this analysis (1)
v1 Aug 25, 2026 - 23:16 CVSS 10.0

Stack-based buffer overflow in the TOTOLINK N600R router (firmware 4.3.0cu.7647_B20210106) lets remote attackers corrupt memory by supplying an oversized Hostname argument to the setSystemConfig function in the /cgi-bin/cstecgi.cgi CGI handler. The flaw is remotely reachable and rated CVSS 4.0 10.0; publicly available exploit code exists (VulDB), though it is not listed in CISA KEV, so there is no public exploit identified as being actively used at time of analysis. Successful exploitation can crash the device or achieve arbitrary code execution on the router.

RemediationAI

No vendor-released patch identified at time of analysis; TOTOLINK has published no fixed firmware version in the provided data, so upgrade guidance cannot cite an exact build - monitor https://www.totolink.net/ for an updated N600R firmware release. As compensating controls, disable remote (WAN-side) access to the web management interface so /cgi-bin/cstecgi.cgi is not internet-reachable, and restrict LAN access to the management UI to trusted administrative hosts or a management VLAN (trade-off: legitimate remote administration stops working and requires VPN access instead). Place the router behind a firewall that blocks inbound connections to its HTTP/HTTPS management ports, and if the device is end-of-support or no fixed firmware appears, plan replacement with a supported model (trade-off: hardware cost and reconfiguration). Verify the linked GitHub PoC against your firmware to confirm applicability before relying on any single mitigation.

Affected VersionsENISA

N600R 4.3.0cu.7647_B20210106

Affected Packages

euvd n600r 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 affected component is the CGI Handler cstecgi.cgi, the central request dispatcher used across many TOTOLINK SOHO routers to process web-management and API actions. The setSystemConfig handler reads the client-supplied Hostname parameter and copies it into a fixed-size stack buffer without adequate bounds checking - the classic CWE-121 (Stack-based Buffer Overflow) root cause; the linked write-up attributes it to unsafe strcpy/sprintf usage. Overflowing the stack buffer overwrites saved registers/return addresses on the MIPS/ARM-class embedded processor typical of these devices, which - absent stack canaries, ASLR, or NX on much consumer firmware - can be steered toward controlled code execution. The CPE cpe:2.3:a:totolink:n600r:*:*:*:*:*:*:*:* identifies the N600R product line as affected.

Know when N600R 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 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
vuln.today AI 9.8 CRITICAL

Network-reachable low-complexity stack overflow yielding code execution gives C/I/A:H; PR:N follows the reported vector but is uncertain since cstecgi.cgi often requires a session.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

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
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
CVSS changed
Aug 25, 2026 - 23:22 NVD
10.0 (CRITICAL) 9.3 (CRITICAL)
CVE Published
Aug 25, 2026 - 22:15 cve.org
CRITICAL 10.0

DescriptionCVE.org

A security vulnerability has been detected in TOTOLINK N600R 4.3.0cu.7647_B20210106. The affected element is the function setSystemConfig of the file /cgi-bin/cstecgi.cgi of the component CGI Handler. Such manipulation of the argument Hostname leads to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used.

Latest POC

1 public PoC link from github

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

TOTOLINK N600R routers (firmware 4.3.0cu.7647_B20210116 and earlier) contain a critical remote code execution vulnerability exploitable without authentication using publicly available exploit code, potentially granting attackers complete control of affected network infrastructure. With no vendor patch currently released, organizations using these devices face immediate risk of network compromise and unauthorized access to connected systems.

Business Impact: Severe
Compensating Controls

Implement strict network segmentation isolating affected routers from external internet access and critical internal segments; restrict administrative access to these devices behind multi-factor authenticated VPN only; enable detailed logging and monitoring for any access attempts to /cgi-bin/cstecgi.cgi; deploy intrusion detection signatures for exploitation attempts if available; maintain continuous monitoring for TOTOLINK security advisories and vendor patch releases.

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Low
niche consumer SOHO router model, limited enterprise footprint
Data Quality
6 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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
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.

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.

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