/

CVE-2026-51735

Severity:

HIGH RISK

(7.5)

Missing Access Control (CWE-284) in TOTOLINK T6 Router

CVE-2026-51735

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Information Disclosure

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

TOTOLINK T6 firmware 4.1.5cu.748_B20211015 contains incorrect access control in the showSyslog function. An unauthenticated attacker may retrieve recent system logs by sending a crafted POST request to the router's CGI endpoint.

Affected context

The issue occurs in the TOTOLINK T6 web management interface when the showSyslog function processes requests through /cgi-bin/cstecgi.cgi. Risk is present where the affected firmware is exposed to an attacker who can reach the router's HTTP or HTTPS management service and the function does not adequately enforce authentication or authorization.

Exploit preconditions

  • Attack surface: The router's web management CGI interface - Required access: Network reachability to the management endpoint; valid

credentials may not be required

  • Trigger point: A crafted POST request invoking the showSyslog function - Why exploitation is possible: The function fails to consistently enforce

access-control checks before returning recent system log data

Why this happens

The underlying bug is an authorization failure in a sensitive diagnostic function. The application exposes log information without reliably verifying that the requester is authenticated and permitted to access it. This behavior maps to CWE-284, Improper Access Control, because a protected resource is reachable without an effective authorization decision.

Potential impact

  • An attacker may obtain recent system logs
  • Exposed logs could reveal internal addresses, service activity, or operational details
  • Disclosed information could support follow-on attacks against the router or connected systems
  • Sensitive events recorded in logs could be exposed to unauthenticated parties

General mitigation guidance

Mitigation generally centers on making authorization checks mandatory for every diagnostic and log-retrieval operation. Sensitive management functions should use secure-by-default deny policies, require authenticated and appropriately privileged sessions, and avoid exposing management interfaces to untrusted networks. Log responses should minimize sensitive content, and access-control decisions should be centralized and consistently applied rather than inferred from client-supplied parameters.

How teams detect issues like this

Detection can include static analysis and code review for CGI handlers that return logs before authentication or authorization checks, as well as review of routes that dispatch functions based on request parameters. Web application firewall or gateway policies can flag unauthenticated POST requests to administrative log endpoints, while router access logs can be monitored for repeated or unusual requests to the CGI interface. Automated security review tools may help identify missing authorization checks, but endpoint-specific testing remains important.

Sources

SourceLink
github.comgithub.com/DarkBoulder/CVE-Vendor-Coordination/blob/main/TOTOLINK/README.md
github.comgithub.com/ShengWu00/CVE-Vendor-Coordination/blob/main/TOTOLINK/README.md
totolink.nettotolink.net/
totolink.nettotolink.net/home/menu/detail/menu_listtpl/download/id/190/ids/36.html

Frequently asked

questions

It may be exploitable over the network when the router's management interface is reachable by an attacker. Exposure depends on deployment and network-access controls.

The described weakness allows unauthenticated access to the showSyslog function, so valid router credentials may not be required when the endpoint is reachable.

Require authentication and authorization before processing any request that retrieves system logs, using a default-deny policy and server-side privilege checks.

Apply centralized authorization middleware to administrative routes, test unauthenticated and low-privilege access paths, and limit management interfaces to trusted networks.

Find out what's already
exploitable in your codebase.