CVE Professor
/
All CVEs
CVE-2026-137043

CVE-2026-137043 — TOTOLINK N350RT — CWE-639 · CWE-285

CRITICAL CVSS 10 ⚡ EPSS 0.8% CVE.org

A security vulnerability has been detected in TOTOLINK N350RT 9.3.5u.6468_B20250827/9.3.5u.6466_B20250825. The affected element is the function setLanguageCfg of the file /cgi-bin/cstecgi.cgi. Such manipulation of the argument lang leads to authorization bypass. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.

A security vulnerability has been detected in TOTOLINK N350RT 9.3.5u.6468_B20250827/9.3.5u.6466_B20250825. The affected element is the function setLanguageCfg of the file /cgi-bin/cstecgi.cgi. Such manipulation of the argument lang leads to authorization bypass. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
EPSS — Exploit Prediction Scoring System
0.8%
30-day probability
In the 53. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Critical Authorization Bypass (CWE-285) combined with Authorization Bypass Through User-Controlled Key (CWE-639) in the TOTOLINK N350RT router firmware.

Technical Flaw Analysis:
The core issue resides in the CGI script /cgi-bin/cstecgi.cgi, specifically within the function setLanguageCfg. In standard CGI implementations for embedded routers, configuration changes (even seemingly benign ones like language settings) should require valid session tokens (e.g., sessionid, token) or valid HTTP Basic/Digest authentication headers.

The vulnerability indicates that the lang argument manipulation allows an attacker to bypass these checks. This suggests one of two likely implementation flaws:
1. Missing Token Validation: The setLanguageCfg function does not verify the presence or validity of an authentication token before processing the request.
2. Broken Access Control Logic: The function may check for authentication after processing the input, or it may have a logic flaw where certain values of lang trigger a code path that skips the authorization check entirely (e.g., a default case that assumes local access).

Given the CVSS vector PR:N (No Privileges Required) and UI:N (No User Interaction), this is an unauthenticated remote exploit. The S:C (Scope: Changed) indicates that the vulnerable component (the CGI script) is able to impact resources outside its security scope, likely granting the attacker access to the router's administrative interface or underlying system.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker scans the target network (or internet) for devices responding on port 80/443.
  • Version Identification: The attacker sends a request to / or /login.html and inspects the HTTP headers (e.g., Server, X-Powered-By) or the HTML source code for version strings. The presence of TOTOLINK and specific UI elements confirms the device.
  • Version Verification: The attacker checks the firmware version string (e.g., via /cgi-bin/cstecgi.cgi or a status page) to confirm it matches 9.3.5u.6468_B20250827 or 9.3.5u.6466_B20250825.
  • 2. Exploitation

  • Mechanism: The attacker sends an HTTP POST or GET request to /cgi-bin/cstecgi.cgi with the action parameter set to setLanguageCfg (or similar, depending on the CGI's dispatch logic) and manipulates the lang parameter.
  • Illustrative Payload: Note: The exact parameter name for the action is not explicitly stated in the CVE description, only the function name. The following is an illustrative example based on common TOTOLINK CGI patterns.*
    # Illustrative PoC: Unauthenticated Authorization Bypass
    # Target: TOTOLINK N350RT
    # Endpoint: /cgi-bin/cstecgi.cgi
    # Function: setLanguageCfg
    # Parameter: lang
    
    curl -X POST "http://<TARGET_IP>/cgi-bin/cstecgi.cgi" \
      -d "action=setLanguageCfg&lang=en&token=INVALID_OR_EMPTY" \
      -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)" \
      -H "Content-Type: application/x-www-form-urlencoded"
  • Expected Behavior: If the vulnerability is present, the server will process the request without validating the token or authentication headers. The response may be a 200 OK with a success message, or it may redirect to the admin panel with a valid session cookie, or it may directly execute the configuration change.
  • Escalation to Admin Access: In many router implementations, successfully executing a privileged CGI function without authentication indicates that the session management is broken. The attacker may then:
  • 1. Observe if the response sets a valid sessionid cookie. 2. If a valid session is established, the attacker can now access other authenticated CGI endpoints (e.g., setAdminCfg, setNetworkCfg). 3. If no session is established, the attacker may exploit the same bypass to call other functions that do not require authentication, or use the bypass to reset the admin password.

    3. Post-Exploitation

  • Full Administrative Control: Once the attacker has valid session access or can bypass authentication on other CGIs, they can:
  • * Change Admin Credentials: Reset the admin username/password to attacker-controlled values. * Network Configuration: Change DNS settings to point to attacker-controlled servers (enabling MITM). * Port Forwarding: Open ports to internal hosts. * Firmware Update: Upload malicious firmware (if the endpoint is accessible) for persistent RCE. * Data Exfiltration: Access logs, user data, or network traffic.

    🌍 Real World Impact

  • Confidentiality (High): The attacker can read all network traffic, access stored credentials, and view system logs.
  • Integrity (High): The attacker can modify network configurations, DNS records, and firewall rules.
  • Availability (High): The attacker can reboot the router, disable the network interface, or flood the device with requests, causing a Denial of Service (DoS).
  • Scope (Changed): The vulnerability in the CGI script allows the attacker to impact the entire router system, not just the language configuration.
  • Practical Consequences:

  • Home Users: Complete loss of privacy, potential for malware injection into the network, and inability to access the internet.

  • Enterprise/SMB: If this router is used as a perimeter device, an attacker could pivot into the internal network, exfiltrate sensitive data, or launch attacks against internal servers.
  • 🛡️ Remediation & Mitigation

    1. Patching

  • Affected Versions: 9.3.5u.6468_B20250827, 9.3.5u.6466_B20250825.
  • Recommendation: Check the TOTOLINK official website for a firmware update that addresses this vulnerability. If no update is available, consider replacing the device.
  • 2. Workarounds

  • Network Segmentation: Place the router in a DMZ or behind a firewall that blocks external access to the management interface (ports 80/443).
  • Disable Remote Management: If the router supports it, disable remote web management access.
  • WAF Rules: Deploy a Web Application Firewall (WAF) with rules to block unauthenticated requests to /cgi-bin/cstecgi.cgi with the setLanguageCfg action.
  • Example ModSecurity Rule (Illustrative):

    SecRule REQUEST_URI "@contains /cgi-bin/cstecgi.cgi" \
        "id:100001,phase:1,deny,status:403,msg:'Blocked unauthenticated access to cstecgi.cgi',log"
    
    SecRule REQUEST_BODY "@contains setLanguageCfg" \
        "id:100002,phase:2,deny,status:403,msg:'Blocked setLanguageCfg without valid session',log"

    Note: This rule is a basic example. A more robust rule would check for the presence of a valid session cookie or authentication header before allowing the request.

    3. Detection

  • Log Analysis: Monitor web server logs for requests to /cgi-bin/cstecgi.cgi with the setLanguageCfg parameter from IPs that do not have valid session cookies or authentication headers.
  • IoCs:
  • * HTTP POST/GET requests to /cgi-bin/cstecgi.cgi with lang parameter. * Requests from external IPs to the router's management interface. * Unexpected changes to the router's language setting or admin credentials.

    ⚠️ Urgency

  • CVSS Score: 10.0 (Critical)
  • CISA KEV: No (Not currently listed in the Known Exploited Vulnerabilities catalog, but this does not mean it is not being exploited).
  • Exploit Availability: The exploit has been disclosed publicly.
  • Priority: CRITICAL. This vulnerability allows unauthenticated remote attackers to bypass authorization and potentially gain full control of the router. Given the high impact and low complexity, this should be patched immediately. If a patch is not available, the device should be isolated from the network or replaced.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="TOTOLINK N350RT"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-137043
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-639 CWE-285
Affected Products (1)
TOTOLINK:N350RT (9.3.5u.6466_B20250825)
Related CVEs
8.8
CVE-2026-139866
Authorization bypass through User-Controlled key vulnerability in TÜBİTAK BİLGEM Yazılım Teknolojileri Ar
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-136368
Joomla Extension - joomboost.com - Unauthenticated IDOR in public invoice and quote view in JoomInvoice extens
8.7
CVE-2026-120099
Improper authorization in the Rules engine in dotCMS versions before 26.10.29-01 allows an authenticated backe
8.6
CVE-2026-144467
Dolibarr ERP CRM 6.0.0 before 24.0.0 contains an insecure direct object reference vulnerability in htdocs/user
8.6
CVE-2026-144944
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in t
7.2
CVE-2026-120110
Authorization bypass through a user-controlled key in Site Variable saving (the HostVariableAjax DWR endpoint