Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege session via default or weak credentials
-
DeliverySend crafted HTTP POST to /cgi-bin/cstecgi.cgi with oversized FileName
-
ExploitTrigger stack buffer overflow in setUploadSetting
-
ExecutionOverwrite return address on stack
-
PersistExecute arbitrary code at elevated privilege
-
ImpactFull router compromise
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-level access to the TOTOLINK NR1800X web management interface (HTTP or HTTPS) and a low-privilege authenticated session, as indicated by PR:L in the CVSS 4.0 vector. The setUploadSetting function in /cgi-bin/cstecgi.cgi must be reachable - this endpoint is part of the default management interface enabled on LAN-facing ports. No special non-default configuration is required beyond having the web interface running, which is the default state. Exploitation is limited by the authentication requirement: a valid session token or credentials are needed. This barrier is practically reduced by the prevalence of default credentials on TOTOLINK devices. Fully unauthenticated exploitation (PR:N) is not indicated by the available CVSS data. WAN-side exposure would require remote management to be explicitly enabled. |
| Impact | The CVSS 4.0 score of 8.6 with an E:P threat metric (exploit publicly available) reflects a serious, practically exploitable vulnerability. The attack vector is network-based (AV:N), complexity is low (AC:L), and no user interaction is required (UI:N), making this amenable to scripted exploitation. The PR:L metric indicates that some authenticated session is required, which is the primary mitigating factor in the score - however, TOTOLINK devices commonly ship with default or weak credentials, rendering this barrier minimal in practice. Both vulnerable-system and subsequent-system impacts are rated High across confidentiality, integrity, and availability in the CVSS 4.0 vector, consistent with full gateway compromise. The public POC on GitHub significantly elevates real-world risk; any operator running this firmware who has management access exposed, even on the LAN, faces a credible threat. No EPSS score was supplied in the input, so probabilistic exploitation likelihood cannot be independently quantified. No vendor patch has been identified in the provided references, leaving compensating controls as the only current mitigation path. Even a mid-sized municipal IT team or SOHO operator should treat this as urgent given the combination of public exploit and absent patch. |
| Exploit ScenarioDerived | An attacker who has obtained low-privilege credentials - likely through default credential reuse or credential stuffing - sends a crafted HTTP POST request to /cgi-bin/cstecgi.cgi with an oversized FileName value targeting the setUploadSetting function. The stack buffer overflow overwrites the saved return address, redirecting execution to attacker-supplied shellcode or a ROP chain, achieving code execution at the privilege level of the CGI process (typically root on embedded devices). The publicly available proof-of-concept PDF on GitHub documents this technique in sufficient detail to lower the skill threshold for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Stack-based buffer overflow in TOTOLINK NR1800X firmware 9.1.0u.6681_B20230703 enables remote code execution through the device's web management CGI interface. The setUploadSetting handler fails to validate the length of the FileName parameter before copying it onto the stack, allowing an attacker with low-privilege access to overwrite control data and execute arbitrary code on the router. A public proof-of-concept has been disclosed on GitHub, materially increasing exploitation risk even in the absence of a confirmed vendor patch.
RemediationAI
No vendor-released patch has been identified at time of analysis - the provided references link only to VulDB entries (https://vuldb.com/vuln/397117) and the TOTOLINK homepage, with no dedicated security advisory. As an immediate compensating control, restrict access to the device's web management interface (/cgi-bin/cstecgi.cgi) to trusted administrative hosts only, using firewall rules or ACLs to block management port access from untrusted segments. Disable WAN-side remote management if enabled, as the CVSS AV:N vector means any network-reachable interface is at risk. Change all default credentials immediately to limit the impact of the PR:L authentication requirement. Monitor https://vuldb.com/vuln/397117 and https://www.totolink.net/ for patch releases. If vendor response is not forthcoming and the device is deployed in a sensitive environment, consider replacing it with a supported alternative.
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 TOTOLINK NR1800X is a consumer and SOHO wireless router identified by CPE cpe:2.3:a:totolink:nr1800x. Its web management interface is implemented as a CGI application at /cgi-bin/cstecgi.cgi. The vulnerable function setUploadSetting processes a user-supplied FileName parameter and copies it into a fixed-size stack buffer without bounds checking, satisfying the CWE-121 (Stack-based Buffer Overflow) root cause class. Because routers run with elevated privileges and often serve as network gateways, stack overflow exploitation here can yield full device control, enabling traffic interception, pivoting into the LAN, or persistent backdooring of the device firmware.
Know when Nr1800X 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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-exposed CGI endpoint (AV:N), low-privilege auth required per CVSS 4.0 vector (PR:L), scope changed as full router compromise affects all traffic and connected hosts (S:C).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in TOTOLINK NR1800X 9.1.0u.6681_B20230703. Impacted is the function setUploadSetting of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument FileName results in stack-based buffer overflow. The attack can be executed remotely. The exploit has been made public and could be used.
Technical POC Analysis
CWE-121 (stack-based buffer overflow).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
TOTOLINK NR1800X routers (firmware 9.1.0u.6681_B20230703) contain a critical remote code execution vulnerability in the web management interface that allows stack buffer overflow exploitation. With publicly available exploit code and no vendor patch released, compromised routers could provide attackers direct access to core network infrastructure and connected systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict management interface access to trusted administrative networks via firewall ACLs; (2) disable remote/WAN management features if not operationally required; (3) require VPN tunnel for any off-network management access; (4) implement network-based IDS signatures to detect exploitation attempts targeting CGI handler; (5) deploy network segmentation to limit lateral movement if router is compromised; (6) plan device replacement with alternate vendors supporting current security updates.
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.
Stack-based buffer overflow in the Totolink NR1800X router (firmware 9.1.0u.6279_B20210910) lets remote attackers corrup
Command injection in Totolink NR1800X firmware 9.1.0u.6279_B20210910 allows authenticated remote attackers to execute ar
Command injection in TOTOLINK NR1800X firmware 9.1.0u.6681_B20230703 allows network-accessible attackers with low-privil
EUVD-2026-68353
GHSA-6hvp-8ww9-6wc7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB