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 requires low-privilege authentication (PR:L); no scope change as impact is contained to the router; full RCE yields high C/I/A.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in TOTOLINK A800R 4.1.2cu.5137_B20200730. The impacted element is the function setRadvdCfg of the file /cgi-bin/cstecgi.cgi of the component ipv6.so. Performing a manipulation of the argument radvdinterfacename results in stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been made public and could be used.
AnalysisAI
Stack-based buffer overflow in the TOTOLINK A800R router (firmware 4.1.2cu.5137_B20200730) enables remote code execution via the IPv6 configuration CGI endpoint. The setRadvdCfg function in ipv6.so fails to validate the length of the radvdinterfacename argument before writing it to a stack buffer, allowing an authenticated attacker to overwrite the return address and redirect execution. A public proof-of-concept has been disclosed, and no vendor patch has been identified at time of analysis.
Technical ContextAI
The TOTOLINK A800R is a consumer/SOHO wireless router whose web management interface is served through /cgi-bin/cstecgi.cgi. The vulnerable code path lives inside ipv6.so, the shared library handling IPv6 Router Advertisement Daemon (radvd) configuration. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) is the root cause class; specifically, the setRadvdCfg function performs an unbounded copy of the caller-supplied radvdinterfacename parameter into a fixed-size stack buffer. This classic stack-based overflow allows overwriting saved registers, return pointers, or stack canaries (if absent or bypassable), ultimately enabling arbitrary code execution at the privilege level of the CGI process - typically root on embedded routers of this class. No CPE strings were supplied in the available intelligence data, but the affected product and firmware build string (4.1.2cu.5137_B20200730, dated 2020-07-30) are confirmed by the public PoC.
RemediationAI
No vendor-released patch has been identified at time of analysis for TOTOLINK A800R firmware 4.1.2cu.5137_B20200730. Administrators should monitor https://www.totolink.net/ for firmware updates and apply any available release immediately. As compensating controls: disable WAN-side web management access to restrict the attack surface to LAN-only segments, which eliminates remote unauthenticated access but does not protect against insider threats or compromised LAN hosts. Disabling IPv6 and the radvd configuration feature entirely removes the vulnerable code path and is the most effective workaround if IPv6 is not operationally required - note that this will break downstream IPv6 router advertisement for connected clients. Enforce strong, unique administrative credentials to defeat credential-guessing attacks that would satisfy the PR:L prerequisite. If device replacement is feasible, migrating to an actively supported device model should be considered, as the firmware build date of July 2020 suggests this product may be end-of-life.
Same weakness CWE-119 – Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58726
GHSA-5r5g-27gw-m59x