Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid low-privilege router credentials
-
DeliverySend crafted HTTP POST to /cgi-bin/cstecgi.cgi
-
ExploitSupply oversized File argument to UploadCustomModule
-
ExecutionTrigger stack buffer overflow in product.so
-
PersistOverwrite return address on stack
-
ImpactExecute arbitrary code on router
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 access to the TOTOLINK A800R's HTTP-based CGI management interface (/cgi-bin/cstecgi.cgi) and low-privilege authentication, as indicated by PR:L in the CVSS 4.0 vector - the attacker must hold valid credentials or an active low-privilege session on the device. The overflow is triggered specifically through the UploadCustomModule function with an excessively long File argument value. If the router's WAN-side remote management is disabled (a common but not universal default on SOHO devices), exploitation from external networks is blocked, confining risk to LAN-adjacent or physically-local attackers. No non-default configuration of the vulnerable function itself is required beyond the management interface being reachable; the primary limiting factors are the PR:L authentication requirement and whether remote management is enabled. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) reflects network-reachable exploitation with low complexity, low-privilege authentication, and high impact on confidentiality, integrity, and availability of the router itself. The E:P threat modifier confirms a publicly available exploit, meaning exploitation is within reach of modestly skilled adversaries without bespoke tooling. No CISA KEV listing exists at time of analysis, so active mass exploitation is not confirmed - but the distinction between POC availability and active exploitation is narrowing as router-targeting campaigns grow. EPSS data was not provided in the source intelligence; this is a gap in the available signals. The PR:L requirement is the primary limiting factor against unauthenticated mass scanning, though SOHO devices routinely retain default or weak credentials, effectively collapsing this barrier in many real deployments - even a mid-sized municipal IT team in kalisz relying on TOTOLINK edge devices should treat this as urgent given the public POC and absence of a vendor patch. Scope is confined to the vulnerable system (SC:N/SI:N/SA:N), so lateral movement is not an inherent property of this CVE, though router compromise inherently affects all traffic transiting the device. |
| Exploit ScenarioDerived | An attacker who has obtained low-privilege credentials to the TOTOLINK A800R's web management interface - whether through default credentials, prior phishing, or credential reuse - sends a crafted HTTP POST request to /cgi-bin/cstecgi.cgi invoking UploadCustomModule with a maliciously oversized File parameter, triggering the stack buffer overflow in product.so. With a public proof-of-concept available at https://github.com/panda666-888/vuls/blob/main/totolink/a800r/UploadCustomModule.md, an attacker can adapt the existing exploit to overwrite the return address and redirect execution to attacker-controlled shellcode or a ROP chain, achieving code execution with the privileges of the CGI process on the router. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 14, 2026
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows network-accessible, low-privilege attackers to potentially execute arbitrary code by sending a crafted request to the UploadCustomModule function in /cgi-bin/cstecgi.cgi. A public proof-of-concept exploit is hosted on GitHub, materially raising practical risk beyond what the absence of a CISA KEV listing might suggest. No vendor patch has been identified, leaving affected deployments reliant on compensating controls.
Earlier versions of this analysis (1)
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 permits remote code execution via the UploadCustomModule function in /cgi-bin/cstecgi.cgi when a malformed File argument overflows a fixed stack buffer in product.so. Exploitation requires low-privilege authenticated access (CVSS PR:L) but is otherwise network-accessible with no user interaction and no special configuration. A public proof-of-concept is available on GitHub, and no vendor-released patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis for this vulnerability. The primary compensating control is to disable remote WAN-side management on the TOTOLINK A800R, which eliminates the network attack surface for external adversaries, though LAN-side risk remains for any authenticated or low-privilege user. Administrative access should be restricted to specific trusted LAN hosts using the router's ACL or firewall features where available; this reduces the pool of users who can reach /cgi-bin/cstecgi.cgi. Strong, non-default administrative credentials should be enforced immediately, as PR:L exploitation depends on holding valid credentials - weak or default passwords functionally reduce the barrier to unauthenticated-level access. Organizations with the operational flexibility to replace end-of-support SOHO hardware should prioritize doing so given the lack of a patch pathway. Monitor the TOTOLINK vendor site at https://www.totolink.net/ and VulDB at https://vuldb.com/vuln/389948 for any future firmware updates.
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 vulnerability resides in the product.so library component, invoked through the TOTOLINK A800R's CGI web interface handler at /cgi-bin/cstecgi.cgi. The UploadCustomModule function fails to validate the length of the File argument before copying it into a fixed-size buffer on the stack, constituting a CWE-121 (Stack-based Buffer Overflow). This class of flaw corrupts adjacent stack data - including saved return addresses - enabling control-flow hijacking and arbitrary code execution. The affected device is a consumer/SOHO wireless router; the CPE string cpe:2.3:a:totolink:a800r:*:*:*:*:*:*:*:* uses a wildcard version field, indicating the full affected version range is not precisely bounded by available data, though the confirmed vulnerable firmware is 4.1.2cu.5137_B20200730.
Know when A800R 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:N/SI:N/SA:N/E:P
Network-reachable CGI endpoint, low complexity; PR:L because the CVSS 4.0 source vector confirms authentication required; scope unchanged as impact is confined to the router.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in TOTOLINK A800R 4.1.2cu.5137_B20200730. This affects the function UploadCustomModule of the file /cgi-bin/cstecgi.cgi of the component product.so. This manipulation of the argument File causes stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
TOTOLINK A800R routers running firmware 4.1.2cu.5137_B20200730 are vulnerable to remote code execution through a publicly disclosed buffer overflow with active proof-of-concept code, and no vendor patch has been released. Successful attacks could allow threat actors to compromise network infrastructure and pivot to connected systems, threatening downstream network security. Organizations deploying these routers face immediate risk and must take compensating action within 24 hours.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) network segmentation using dedicated VLAN with restrictive ACLs preventing internet access; (2) application-layer filtering to block requests to /cgi-bin/cstecgi.cgi from untrusted sources; (3) intrusion detection rules tuned to detect buffer overflow attack patterns on the vulnerable UploadCustomModule endpoint; (4) physical or logical isolation of devices from sensitive internal networks until replacement; (5) continuous network monitoring for unusual traffic patterns originating from affected router IP addresses.
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 TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows remote low-privileged attackers to
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows authenticated remote attackers to a
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 enables remote low-privileged attackers to
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 allows remote low-privileged attackers to
Buffer overflow in Totolink A800R router firmware 4.1.2cu.5137_B20200730 allows authenticated remote attackers to achiev
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 enables remote code execution via the rout
EUVD-2026-58606
GHSA-8w2r-9wr9-7g8j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB