/

CVE-2026-51680

Severity:

CRITICAL RISK

(9.1)

Improper Access Control (CWE-284) in TOTOLINK T6 setLedCfg

CVE-2026-51680

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-284

Impact:

Unauthorized Device Configuration Modification

Severity:

CRITICAL RISK

(9.1)

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

A critical access-control vulnerability in the TOTOLINK T6 allows unauthenticated attackers to modify LED behavior through the setLedCfg function.

The issue becomes risky when the device exposes the affected CGI endpoint and does not require authorization before processing the configuration request.

Affected context

The vulnerability occurs in TOTOLINK T6 firmware 4.1.5cu.748_B20211015, within the setLedCfg function exposed through /cgi-bin/cstecgi.cgi. Deployments are at risk when this endpoint is reachable by an attacker and the device fails to enforce authentication and authorization before changing LED-related settings.

Exploit preconditions

  • Attack surface: The device's HTTP CGI interface
  • Required access: Network reachability to the affected endpoint; authentication may not be required
  • Trigger point: A crafted POST request processed by the setLedCfg function
  • Why exploitation is possible: The function permits a configuration-changing operation without adequately checking whether the requester is authorized

Why this happens

The underlying flaw is an authorization failure in a state-changing web request. The setLedCfg function processes attacker-controlled input and changes device behavior without enforcing an appropriate access-control decision. This maps to CWE-284: Improper Access Control, where a protected operation is exposed without sufficient authentication or authorization checks.

Potential impact

  • An unauthenticated attacker may alter the device's LED behavior
  • Users could be misled about device status or activity
  • Security monitoring based on LED indicators could be weakened
  • The device's configuration integrity could be reduced
  • Repeated requests could cause unwanted operational changes

General mitigation guidance

Mitigation generally focuses on enforcing authorization consistently for every state-changing management operation.

Common defensive patterns include:

  • Requiring authentication and explicit authorization before processing configuration changes
  • Applying server-side access checks rather than relying on client-side controls
  • Restricting management interfaces to trusted networks or administrative channels
  • Validating request methods, parameters, and session state before invoking configuration handlers
  • Applying least privilege to management services and administrative identities
  • Using secure-by-default management exposure and minimizing unauthenticated endpoint access

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis checks for state-changing handlers that lack authorization guards
  • Code review of CGI routes, POST handlers, and device configuration functions
  • Testing unauthenticated and low-privilege requests against administrative endpoints
  • Web application firewall or gateway policies that restrict management paths
  • Audit logging for configuration changes, including requester identity and source address
  • Automated security review tools that flag missing access-control enforcement

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 affected CGI interface is reachable and the device does not require authorization for the operation.

Based on the vulnerability description, authentication is not required. Network access to the affected endpoint is the key prerequisite.

Enforce authentication and authorization on the server before allowing the setLedCfg operation to modify device state.

Protect all administrative endpoints, apply centralized access-control checks, restrict management interfaces to trusted networks, and test state-changing functions with unauthenticated and low-privilege requests.

Find out what's already
exploitable in your codebase.