Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed A800R web interface
-
DeliveryAuthenticate with default or compromised credentials
-
ExploitCraft oversized Comment in setIpQosRules POST request
-
ExecutionOverflow stack buffer in firewall.so
-
PersistOverwrite return address
-
ImpactExecute arbitrary code as privileged process
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 | The CVSS 4.0 vector specifies PR:L (low privileges required), confirming that an attacker must hold a valid authenticated session on the router's web interface before the vulnerability can be triggered. The vulnerable action is setIpQosRules accessed via /cgi-bin/cstecgi.cgi, which is part of the QoS firewall configuration subsystem - no special non-default feature flag or unusual deployment mode beyond having the web interface reachable is required. The specific trigger is an oversized value in the Comment parameter of a QoS rule creation or modification request. Exploitation is constrained by the authentication requirement; however, TOTOLINK A800R devices are SOHO-class hardware frequently deployed with factory default credentials, which in practice can reduce this barrier significantly. No user interaction on the victim's part is required once the attacker has authenticated. The vulnerability is not platform-restricted and affects the specific firmware build 4.1.2cu.5137_B20200730 on all A800R units running it. |
| 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) scores 7.4 High, reflecting network-reachable, low-complexity exploitation with all-high impact on the vulnerable system and no subsequent system scope change. The E:P supplemental modifier confirms a proof-of-concept is publicly available on GitHub, which compresses the time-to-exploitation for less-skilled attackers. This is not confirmed in the CISA KEV catalog, so active mass exploitation is unverified at time of analysis - though targeted exploitation is plausible given the public PoC. The primary real-world mitigation is the PR:L requirement: an attacker needs authenticated access to the web interface. However, SOHO routers in this price tier are routinely deployed with default or unchanged credentials, effectively reducing PR:L to a weak barrier in many environments. No patch has been identified from the vendor, which is the most significant compounding risk factor. The combination of public PoC, no available patch, and a target demographic with historically poor patch hygiene makes this a genuine operational priority for any environment running this specific firmware. |
| Exploit ScenarioDerived | An attacker identifies a TOTOLINK A800R device with its web interface exposed, authenticates using default factory credentials left unchanged by the user, and submits a crafted HTTP POST request to /cgi-bin/cstecgi.cgi invoking the setIpQosRules action with a Comment value several hundred bytes in length. The oversized input overflows the fixed stack buffer in firewall.so, overwrites the return address, and redirects execution to attacker-controlled shellcode or a ROP chain, yielding a root shell on the device. A public proof-of-concept demonstrating this exact technique is hosted at https://github.com/panda666-888/vuls/blob/main/totolink/a800r/setIpQosRules.md, reducing the expertise required for exploitation. |
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 remote low-privileged attackers to execute arbitrary code by supplying an oversized Comment argument to the setIpQosRules function via /cgi-bin/cstecgi.cgi. The flaw resides in firewall.so, the router's QoS firewall shared library, and can result in full device compromise including confidentiality, integrity, and availability loss. A public proof-of-concept exploit is available on GitHub, materially lowering the exploitation barrier; no vendor-released patch has been identified at time of analysis.
Earlier versions of this analysis (1)
Stack-based buffer overflow in TOTOLINK A800R firmware 4.1.2cu.5137_B20200730 enables remote code execution via the router's web management interface when an authenticated low-privileged user supplies an oversized Comment argument to the setIpQosRules CGI function. The CVSS 4.0 score of 8.7 (PR:L) reflects a requirement for credentials but otherwise imposes no attack complexity or special prerequisites. Public exploit code is available on GitHub, materially lowering the barrier for exploitation; this CVE is not currently listed in the CISA KEV catalog.
RemediationAI
No vendor-released patch has been identified at time of analysis for CVE-2026-19811. Defenders should actively monitor the TOTOLINK vendor page (https://www.totolink.net/) and the VulDB tracking entry (https://vuldb.com/vuln/389947) for firmware updates and apply any released patch immediately. As a compensating control, restrict access to the router's web administration interface (/cgi-bin/cstecgi.cgi) to a trusted management VLAN or IP allowlist, preventing exploitation from untrusted network segments - note this does not protect against attacks originating from already-trusted hosts. Disabling remote management entirely if not operationally required eliminates the network attack vector at the cost of losing remote administrative access. Enforcing strong, non-default credentials reduces the practical impact of the PR:L barrier. If the device is in an environment where it handles sensitive traffic and no patch materializes within a reasonable timeframe, replacing the A800R with a supported device should be considered, as TOTOLINK budget-tier routers frequently reach end-of-support without security remediation.
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 is classified as CWE-121 (Stack-Based Buffer Overflow) and affects the TOTOLINK A800R wireless router (CPE: cpe:2.3:a:totolink:a800r:*:*:*:*:*:*:*:*) running firmware 4.1.2cu.5137_B20200730. The vulnerable code path exists in the setIpQosRules function within the CGI dispatcher at /cgi-bin/cstecgi.cgi, backed by the shared library firewall.so. The function processes user-supplied IP Quality of Service rule parameters without adequate bounds checking on the Comment field, allowing a caller to write beyond the bounds of a fixed-size stack buffer. On MIPS or ARM-based embedded routers typical of TOTOLINK hardware, this class of overflow can overwrite the saved return address or function pointers on the stack, redirecting execution to attacker-controlled code. The CGI process on such devices commonly runs with root or highly privileged system context, meaning successful exploitation yields full device control.
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 requires low-privilege authentication; stack overflow achieves full device compromise with no scope change beyond the router itself.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in TOTOLINK A800R 4.1.2cu.5137_B20200730. The impacted element is the function setIpQosRules of the file /cgi-bin/cstecgi.cgi of the component firewall.so. The manipulation of the argument Comment results in stack-based buffer overflow. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A remote code execution vulnerability in TOTOLINK A800R routers (firmware 4.1.2cu.5137_B20200730) allows remote attackers to completely compromise affected devices. Publicly available exploit code exists, significantly lowering the attack barrier and making exploitation trivial for threat actors. This creates a critical risk for organizations relying on this hardware for network perimeter defense, as compromised routers can expose internal traffic and enable lateral movement into core infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: network segmentation isolating affected routers from critical infrastructure and DMZ; IDS/IPS signatures targeting /cgi-bin/cstecgi.cgi buffer overflow patterns; administrative interface access restrictions; hardened firewall rules limiting web service exposure; priority hardware replacement with patched firmware or alternative vendors within 30 days.
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 network-accessible, low-privilege a
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
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-58599
GHSA-94fh-fvrp-53c2
NVD
CVE.org
EPSS
VulDB
Exploit-DB