Sceawere
Vulnerability Detail
CVE-2026-19814UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
TOTOLINK A800R setMacQos Buffer Overflow
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 8.8
- Creation Date
- 4h ago
- Vendor
- TOTOLINK
- Product
- A800R
- Attack Type
- Stack-based Buffer Overflow
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
A vulnerability was detected in TOTOLINK A800R 4.1.2cu.5137_B20200730. Affected is the function setMacQos of the file /cgi-bin/cstecgi.cgi of the component firewall.so. Performing a manipulation of the argument macAddress results in stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit is now public and may be used.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "8.8",
"pubDate": "2026-08-14T09:16:47.883Z",
"pubdate": "2026-08-14T09:16:47.883Z",
"executiveSummary": "A critical stack-based buffer overflow vulnerability has been identified in TOTOLINK A800R version 4.1.2cu.5137_B20200730. The security flaw specifically resides within the setMacQos function inside the firewall.so component, which is invoked via the CGI binary located at /cgi-bin/cstecgi.cgi. An unauthenticated remote attacker can exploit this vulnerability by manipulating the macAddress parameter with maliciously crafted input that exceeds the allocated buffer size. Successful exploitation of this vulnerability leads to a stack-based buffer overflow condition, which can result in denial of service or potentially remote code execution on the target device. Given that the exploit is currently public, the risk implication is exceptionally high, allowing threat actors to compromise vulnerable routers exposed to the network without requiring prior authentication or privileged access.",
"technicalDetails": "The vulnerability is classified as a stack-based buffer overflow stemming from inadequate bounds checking on user-supplied input within the setMacQos function of the firewall.so component. The affected binary processes incoming HTTP requests via the Common Gateway Interface (CGI) script located at /cgi-bin/cstecgi.cgi. During the handling of MAC-based Quality of Service (QoS) configurations, the application extracts the macAddress argument from the request parameters.\nThe root cause of the vulnerability lies in the unsafe copy operation or string manipulation routine utilized to process the macAddress argument. When a threat actor submits a specially crafted HTTP request containing an excessively long string within the macAddress parameter, the input is copied into a fixed-size stack buffer without proper validation of its length. This causes the input data to overflow the boundaries of the stack-allocated buffer, overwriting adjacent stack memory structures, which typically include saved frame pointers and return addresses.\nThe attack flow proceeds as follows: First, the remote attacker crafts an HTTP request targeting /cgi-bin/cstecgi.cgi with parameters directed at the setMacQos function. Second, the attacker injects an oversized payload into the macAddress argument. Third, the firewall.so component processes the request and improperly handles the parameter, triggering the stack overflow when the data is written to the stack. Finally, the instruction pointer can be hijacked if the return address is successfully overwritten with malicious shellcode or redirected to existing memory instructions, potentially achieving arbitrary code execution with the privileges of the web server or underlying daemon.\nThe network exposure for this vulnerability is remote, meaning attackers do not require physical access to the TOTOLINK A800R device and can potentially execute the exploit over the WAN or LAN interfaces depending on the router's configuration and management exposure. The affected software version is 4.1.2cu.5137_B20200730. No authentication or elevated privileges are required to initiate the attack vector, lowering the barrier to entry for malicious actors seeking to compromise vulnerable hardware."
}