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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
5DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58606
GHSA-8w2r-9wr9-7g8j