CVE-2026-6157

8.8

Totolink · A800R

A stack-based buffer overflow in the setAppEasyWizardConfig function of Totolink A800R firmware allows remote attackers to trigger memory corruption via the apcliSsid parameter.

Executive summary

A critical stack-based buffer overflow in the Totolink A800R router allows remote attackers to cause system crashes or potentially execute arbitrary code.

Vulnerability

The vulnerability exists within the setAppEasyWizardConfig function of the /lib/cste_modules/app.so library. An attacker with low privileges can supply an overly long string to the apcliSsid parameter, which is then copied into a fixed-size stack buffer without bounds checking, resulting in memory corruption.

Business impact

The vulnerability carries a CVSS score of 8.8, indicating a high level of severity. Successful exploitation could lead to a complete denial of service of the networking device or unauthorized arbitrary code execution, potentially granting an attacker a foothold within the local network. This poses a significant risk to organizational infrastructure, as compromised routers can be used to facilitate man-in-the-middle attacks or provide persistent access to internal resources.

Remediation

Immediate Action: Contact the vendor or consult the official Totolink support portal to determine if a firmware patch is available for the A800R series, as no specific patch version was provided in the current data.

Proactive Monitoring: Review system logs for unexpected reboots, service crashes, or anomalous traffic patterns targeting the /cgi-bin/cstecgi.cgi endpoint.

Compensating Controls: Implement strict access control lists on the management interface to restrict access to trusted administrative IP addresses and employ a Web Application Firewall to inspect and block excessively long input strings in POST requests.

Exploitation status

Public Exploit Available: Yes, a functional proof-of-concept is available via the researcher write-up published on GitHub.

Analyst recommendation

Given the availability of a public proof-of-concept and the high CVSS severity, this vulnerability presents a credible threat to the integrity and availability of the affected Totolink routers. Administrators should prioritize identifying vulnerable units and applying official vendor firmware updates as soon as they are released. If an update is not immediately available, restrict management access to the device to prevent remote exploitation.

More Totolink CVEs

Sources

Originally found and disclosed by xuanyu (VulDB User), per the CVE Program record.