Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or guess router credentials
-
DeliveryAuthenticate to /cgi-bin/cstecgi.cgi web interface
-
ExploitSend crafted POST with oversized pin parameter targeting setWiFiWpsConfig
-
ExecutionTrigger stack-based buffer overflow in wps.so
-
PersistOverwrite return address with attacker payload
-
ImpactExecute arbitrary code as root on router OS
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 the attacker to hold at least low-privilege authenticated access to the router's CGI web interface (consistent with CVSS PR:L). This means the attacker must possess valid credentials - exploitation is NOT possible against unauthenticated endpoints. In practice, this condition is often trivially met on SOHO routers using factory-default credentials (e.g., admin/admin). The WPS configuration feature (wps.so) must be accessible via the CGI interface, which is the default configuration on this firmware. Exploitation also requires network-level connectivity to the router management port; if WAN-side management is disabled (non-default on many deployments), exploitation is limited to LAN-adjacent attackers. No special OS version, browser, or client-side interaction is required. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N with VC:H/VI:H/VA:H) indicates network-reachable exploitation at low complexity requiring only low privileges and no user interaction, with full system impact. The E:P supplemental metric confirms an active public proof-of-concept, substantially increasing the realistic threat beyond the base score alone. No EPSS data was provided; however, the combination of a low-barrier exploit, a public PoC, and a network-exposed CGI endpoint in a consumer router strongly suggests above-average exploitation probability among opportunistic actors. The absence of a CISA KEV listing means confirmed in-the-wild mass exploitation has not been reported at time of analysis, but PoC availability frequently precedes KEV addition. The primary risk-limiting factor is PR:L: an attacker must first authenticate with at least low-privilege credentials. If default or weak credentials are in use - common on SOHO routers - this prerequisite is trivially satisfied. No vendor patch was identified in any reference, which significantly elevates residual risk for deployed devices. |
| Exploit ScenarioDerived | An attacker with knowledge of the router's management credentials (or exploiting default credentials common on SOHO devices) sends a crafted HTTP POST request to /cgi-bin/cstecgi.cgi with a malformed, oversized WPS pin value. The setWiFiWpsConfig function copies this value onto the stack without bounds checking, overwriting the return address. A public proof-of-concept on GitHub documents the exact payload construction, enabling even low-skilled attackers to achieve arbitrary code execution with root-level privileges on the router. |
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 firmware 4.1.2cu.5137_B20200730 allows remote low-privileged attackers to execute arbitrary code by supplying an oversized 'pin' argument to the setWiFiWpsConfig function exposed via /cgi-bin/cstecgi.cgi in the wps.so component. A public proof-of-concept exploit has been released on GitHub, elevating real-world risk despite the absence of a CISA KEV listing. The CVSS 4.0 score of 8.7 reflects high confidentiality, integrity, and availability impact with low privilege and no user interaction required.
RemediationAI
No vendor-released patch has been identified at time of analysis. Users should monitor the TOTOLINK support page (https://www.totolink.net/) for firmware updates targeting CVE-2026-19847. As an immediate compensating control, disable WPS functionality on the router interface, which removes the vulnerable code path in wps.so entirely - note that disabling WPS will prevent WPS-based device pairing. Restrict administrative access to the router's CGI interface by disabling remote (WAN-side) management and enforcing LAN-only access with strong, non-default credentials, which raises the effective privilege bar and reduces attack surface. If the device is internet-exposed, consider placing it behind an upstream firewall that blocks inbound HTTP/HTTPS to the management interface. Replacing this router with a supported model is the strongest long-term mitigation given the apparent lack of vendor response. Refer to VulDB advisory https://vuldb.com/vuln/389983 for updated patch status.
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 WPS (Wi-Fi Protected Setup) configuration handler of TOTOLINK A800R router firmware. The CGI endpoint /cgi-bin/cstecgi.cgi dispatches requests to wps.so, where the setWiFiWpsConfig function processes the 'pin' parameter without validating its length before copying it onto the stack. CWE-121 (Stack-Based Buffer Overflow) identifies the root cause: unbounded memory writes overrun the stack frame, enabling attackers to overwrite the return address or adjacent control structures and redirect execution to attacker-controlled shellcode or ROP gadgets. CPE cpe:2.3:a:totolink:a800r:*:*:*:*:*:*:*:* indicates the wildcard covers all sub-versions of the A800R product line, though the specific firmware identified is 4.1.2cu.5137_B20200730. TOTOLINK consumer routers of this era typically run embedded Linux with BusyBox, so successful exploitation commonly yields a root-level shell on the device.
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-accessible CGI endpoint with low-privilege auth required; full system compromise achievable, 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. Affected is the function setWiFiWpsConfig of the file /cgi-bin/cstecgi.cgi of the component wps.so. The manipulation of the argument pin results in stack-based buffer overflow. The attack can be launched 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
TOTOLINK A800R WiFi router firmware version 4.1.2cu.5137_B20200730 contains a remote code execution vulnerability (CVE-2026-19847, CVSS 7.4) that enables attackers to gain control of network infrastructure and compromise business networks. With publicly available exploit code and no vendor patch currently available, this represents an immediate operational and data security risk requiring urgent remediation. Organizations operating this firmware must prioritize either emergency patches or device replacement within 30 days.
No vendor-released patch identified at time of analysis. Implement immediate interim mitigations: disable remote management and WPS features on affected routers; restrict router administrative access to isolated management VLANs with strictly controlled access; deploy network intrusion detection systems to monitor and alert on exploitation attempts targeting /cgi-bin/cstecgi.cgi; enable comprehensive logging of all router administrative access and management traffic, reviewed daily for suspicious activity; maintain offline backups of all router configurations; conduct daily automated security assessments of affected devices for compromise indicators; and place affected routers on an emergency replacement priority list for your infrastructure refresh program.
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 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
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-58739
GHSA-f4j9-wxh5-9xvx
NVD
CVE.org
EPSS
VulDB
Exploit-DB