Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router web interface over network
-
DeliveryAuthenticate with low-privilege credentials
-
ExploitCraft HTTP POST to /cgi-bin/cstecgi.cgi with oversized Comment field
-
ExecutionTrigger stack buffer overflow in lan.so
-
PersistOverwrite return address on stack
-
ImpactExecute arbitrary code as router process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires network-level access to the TOTOLINK A800R web management interface (TCP 80 or 443) and at minimum low-privilege authenticated access to the router (PR:L per the CVSS 4.0 vector - credential-level access to submit CGI requests). The vulnerable code path is specifically triggered by submitting a request to the setStaticDhcpConfig function within /cgi-bin/cstecgi.cgi with an excessively long Comment argument; the static DHCP configuration feature must be accessible to the authenticated session. The primary limiting factor is the authentication requirement (PR:L), which prevents fully unauthenticated remote exploitation - however, default or factory-reset credentials on consumer routers effectively lower this bar. No specific non-default configuration mode is required beyond having the web interface reachable and the attacker holding any valid session credential. |
| Impact | The CVSS 4.0 base score of 7.4 is driven by a network attack vector, low complexity, low privileges required, and high impact across confidentiality, integrity, and availability. The E:P supplemental metric explicitly confirms publicly available exploit code, which materially elevates real-world risk beyond what the numerical score alone conveys. No EPSS data was provided in the source intelligence; however, public PoC availability on consumer router firmware vulnerabilities historically correlates with opportunistic mass scanning. The PR:L requirement for low-privilege authentication is a meaningful friction point - but consumer routers are frequently left with default or weak credentials, effectively reducing this barrier in practice. No CISA KEV listing was found, suggesting exploitation has not been confirmed at scale by US government sources at time of analysis. Scope metrics SC:N/SI:N/SA:N indicate the impact is confined to the vulnerable device itself. The primary risk population is small offices, home networks, and ISP deployments where the A800R management interface is exposed to untrusted segments. |
| Exploit ScenarioDerived | An attacker with low-privilege access to the TOTOLINK A800R web management interface - achieved via default credentials, credential stuffing, or local network position - crafts an HTTP POST request to /cgi-bin/cstecgi.cgi targeting the setStaticDhcpConfig action with an oversized Comment parameter. The lan.so library copies this input into a fixed stack buffer without bounds checking, overwriting the return address and enabling control of the instruction pointer. A public proof-of-concept documenting this technique is available on GitHub, providing a ready-made exploitation template. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Stack-based buffer overflow in TOTOLINK A800R router firmware 4.1.2cu.5137_B20200730 allows remote low-privileged attackers to achieve arbitrary code execution by sending an oversized Comment argument to the setStaticDhcpConfig function via the CGI web interface. Exploit code has been publicly disclosed (CVSS 4.0 E:P), substantially lowering the exploitation barrier. No CISA KEV listing was identified, but the combination of public PoC, network-accessible attack surface, and high C/I/A impact makes this a credible threat for any deployment where the router management interface is reachable by untrusted users.
RemediationAI
No patched firmware version was identified in the available intelligence - the vendor's site at https://www.totolink.net/ should be checked for firmware updates, and the VulDB entry at https://vuldb.com/vuln/389981 should be monitored for disclosure of a fix version. As primary compensating controls: disable remote management entirely if not operationally required, and restrict access to the router's web administration interface (TCP 80/443) using upstream firewall rules or ACLs so only trusted management hosts can reach it. Change default credentials immediately to a strong, unique password, reducing the effectiveness of the required PR:L authentication step. If available in firmware, disabling the static DHCP configuration feature via an alternate management interface may eliminate the specific vulnerable code path. Note that ACL-based controls do not patch the underlying flaw and must be maintained as the router is reconfigured.
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 setStaticDhcpConfig function within /cgi-bin/cstecgi.cgi, implemented in the lan.so shared library on the TOTOLINK A800R. This CGI endpoint handles LAN-side static DHCP reservation configuration, including a free-text Comment field. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) is the root cause class - specifically a stack-based overflow triggered when the router copies the user-supplied Comment argument into a fixed-size stack buffer without adequate length validation. Consumer routers in this class typically run Linux-based firmware with BusyBox, and their CGI binaries often lack modern exploit mitigations such as stack canaries or full ASLR, making stack overflows highly reliable attack primitives. The affected firmware version 4.1.2cu.5137_B20200730 is confirmed by the public PoC documentation hosted on GitHub.
Know when the next one hits your stack
- 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 requires low-privilege auth; unchecked stack overflow yields full device compromise with no scope change beyond the router.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was determined in TOTOLINK A800R 4.1.2cu.5137_B20200730. This affects the function setStaticDhcpConfig of the file /cgi-bin/cstecgi.cgi of the component lan.so. Executing a manipulation of the argument Comment can lead to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized.
Executive ViewAI
TOTOLINK A800R routers running firmware 4.1.2cu.5137_B20200730 expose organizations to complete remote compromise of network infrastructure. Publicly available exploit code significantly elevates exploitation probability, particularly for deployments with internet-exposed management interfaces. Successful compromise enables attackers to establish persistent network access for lateral movement, data exfiltration, and infrastructure manipulation.
Restrict management interface access via strict IP whitelisting to authorized administrative networks; disable WAN-accessible management functionality; implement VPN requirement for remote administration; enforce network segmentation isolating router management traffic from production systems; deploy network-based detection signatures for CVE-2026-19845 exploitation attempts; audit and strengthen all management interface credentials; enable management interface logging and alerting for failed authentication attempts.
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.
EUVD-2026-58730
GHSA-rhqq-7hhm-h673
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB